This class allows you to replace parameterized placeholder.
Implementing the class
publicclassExamplePlaceholderimplementsParameterizedPlaceholder {publicExamplePlaceholder() {// register the placeholderPlaceholderManager.register(this); } @Overridepublicbooleanaccept(String placeholder) {return"example".equals(placeholder); } @OverridepublicStringprovide(String placeholder,String param,ExtraData data) {if (param !=null) {Player player =Bukkit.getPlayer(param);if (player !=null) {returnString.valueOf(player.getHealth()); } }return"NOT_FOUND"; }}/* To use your parameterized placeholder: {example} will result NOT_FOUND {example_Septogeddon} will result 20.0 (assuming that player Septogeddon is online) {example_Notch} will result NOT_FOUND (assuming that player Notch is offline)*/