This update brings 1.20.6 support but also some important changes to developers to keep in mind. Most notably a deprecation.
Deprecated Version class [#1035]
The Version
class in PlaceholderAPI has been deprecated.
The reasons were many with the primary one being that there are various other ways to find out what server version is used to ensure your expansion is compatible with it.
While the class still works, can there be minor changes in how the version is being displayed, due to changes on how PlaceholderAPI fetches the server version.
It is recommended to switch to alternative methods as soon as possible, as we won't guarantee this class to remain working for the forseeable future.
Parse Command Improvement
Fixed the parse command showing the wrong command in the "You must provide a target and message" response for the "cmdparse" type. Also added the ability to use "me" in both the first and second player for parserel.
New Wiki
In case you haven't seen it yet, the PlaceholderAPI wiki has been moved.
While the old wiki at GitHub served us well was it lacking ways of customizing it. The new location allows us higher customization and organization of the wiki alongside other beneficial changes.
You can find the new Wiki at https://wiki.placeholderapi.com
Just like the old one can you contribute to it by PRing changes to the wiki
branch!
What's Changed
Other changes
- Add Hangar and BuiltByBit pages to readme by @Andre601 in #1006
- Update config.yml with papi domain for wiki and ecloud by @Funny-cube in #1038
- Use the OfflinePlayer$getPlayer method instead of casting to Player class by @DevCyntrix in #1040
- Add Plugin Authors to /papi dump by @Andre601 in #1046
New Contributors
- @Funny-cube made their first contribution in #1038
- @DevCyntrix made their first contribution in #1040
Full Changelog: 2.11.5...2.11.6