Placeholder API scoreboard?

Discussion in 'Spigot Plugin Development' started by Banbeucmas, Jul 1, 2016.

  1. I only can descibe this by words not code
    So as you know who has used PlaceholderAPI as a hook for your plugin, there is always a class extends EZPlaceholderHook for you to hook your plugin and since it's extends EZPlaceholderHook, we would need an @Override method called onPlaceholderRequest() right?

    Now main proplem is i want to make the placeholder compatible with my plugin scoreboard, sort of like this: "myidentifier_" + rank (The placeholder would show the name of the player with that rank)

    But since i need to do this in onPlaceholderRequest() which is a method, i currently have no idea on how to get the player input for the "rank" variable

    Any help is appriciated T_T
    P.S: Sorry for the language even on my Java explaination, i learned Java on Vietnamese so have no idea to change it into English T_T