What’s new in version 3.9 (This version is for Sponge 5.1):
- API BREAKING: Removed support for
TextSerializer
serialization of texts and opted for format code serialization only - Improved performance
- Better documented the
Pattern
argument in thePlaceholderService
interface so that incoming regular expressions successfully match placeholders - Added JavaScript function
value(...)
to theservice
variable to allow variables to be returned asString
, an operable type in JavaScript - Improved internal security
- Added
ListeningExpansion
interface to allow expansions to register as listeners through PlaceholderAPI - Made the
info
command have a slightly less constrained output for placeholder tokens - Changed server configuration (will be enabled by default so should continue to work unless you have it disabled, but you will want to update your configuration after loading this version with settings you want. The server = true/false node will no longer work)
- Added many player placeholders:
%player_stat_<minecraft statistic name>%
%player_language%
%player_gamemode%
%player_flying%
%player_health%
%player_max_health%
%player_food%
%player_saturation%
%player_x%
%player_y%
%player_z%
Check out the plugin wiki!
View the plugin on GitHub!