PlaceholderAPI icon

PlaceholderAPI -----

A resource that allows information from your favorite plugins be shown practically anywhere!



2.11.0 Adds 1.18 support, new expansion features, dependencies updates and more
2.11.0

Hey everyone!

Another day, another release of PlaceholderAPI. This one brings quite a few new features and bug fixes to the plugin.

Changes
1.18 support (#752)
By far the most important change. PlaceholderAPI now supports Spigot/PaperMC 1.18.
Remember that as of writing this, PaperMC 1.18 is not considered to be stable yet, so use it at your own risk.

Logging methods for PlaceholderExpansion (#677)
The PlaceholderExpansion class now has methods which allow you to log messages in the console.
Available methods are:

  • log(Level, String)
  • log(Level, String, Throwable)
  • info(String)
  • warning(String)
  • severe(String)
  • severe(String, Throwable)
You can use those to print log messages in the console, which can be useful for debug purposes or to warn about things such as wrong placeholders.
All messages sent through any of these methods will have your Expansion's name at the start.

Changes to some messages (#717)
Some messages in PlaceholderAPI have been updated and improved.
As an example, when expansions have updates available will an x placeholder hook(s) have an update available. message be added to the x placeholder hook(s) registered! message, which itself has been updated too.

ExpansionsLoadedEvent#getExpansions() (#717)
The ExpansionsLoadedEvent now has a getExpansions() method which returns an unmodifiable List of all registered PlaceholderExpansions.

onRequest and onPlaceholderRequest are now properly annotated (#749)
The onRequest(OfflinePlayer, String) and onPlaceholderRequest(Player, String) have been properly annotated as @Nullable since you can return null as a valid return value.

Updated Dependencies and Gradle 7.3.1 (#747, #752)
Dependencies used by PlaceholderAPI have been updated. Additionally has Gradle been updated to 7.3.1

Full Changelog
Please click the following link for a full comparison between the previous version and this one: 2.10.10...2.11.0

Thanks to everyone who contributed to this update, if you'd like to contribute to the project please check out our GitHub Repo.
----------, Dec 20, 2021
Resource Information
Author:
----------
Total Downloads: 1,686,342
First Release: Apr 20, 2015
Last Update: May 21, 2024
Category: ---------------
All-Time Rating:
503 ratings
Find more info at api.extendedclip.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings