This update introduces support for Adventure Components! It also includes several security improvements, a new eCloud URL, and other quality of life enhancements.
PlaceholderAPI can now parse placeholders in Kyori Adventure Components.
Default implementation uses a custom built recursive replacer for components which will go through the entire component tree, including all styles (hover/click events), and even NBT/data components. If you have any issues with replacement however, you can switch to the one built into adventure via a config option use_adventure_provided_replacer.
A new class called PAPIComponents is available for use in the API. Just a warning if you try use this class on a spigot server, the plugin will error at start, this class should only be used on paper or derivatives of it.
PlaceholderAPI now checks downloaded expansion hashes at start and reload against a list of known malicious expansions. The server will be forcibly stopped and the malicious jars logged in console.
The eCloud received per-version expansion verification as part of a major overhaul, and PlaceholderAPI was updated to support this change.
From now on, expansion versions are verified individually and just like with verified expansions before, PlaceholderAPI only allows for downloading verified versions via the /papi ecloud commands.
We've begun migrating from api.extendedclip.com to the *.placeholderapi.com domain. You may need to update your whitelist if users encounter any related connection errors.
The new eCloud can be found at https://ecloud.placeholderapi.com
Note that starting with this version, PlaceholderAPI will begin using the new domain.
We've noticed an increasing number of users having connection troubles to the eCloud due to censorship restrictions imposed by their firewall, server host, isp or country. We've added a more helpful error message in game and in console to help users find alternative ways to use the eCloud.
/papi ecloud listPlaceholderAPI is now also on Hytale! If you're running a Hytale server or are developing mods, have a look at https://placeholderapi.com/download or our wiki to get more information.
Full Changelog: https://github.com/PlaceholderAPI/PlaceholderAPI/compare/2.11.7...2.12.1