[API] Offer more Variable types
The API seems to be a bit limited when it comes down to the variables API, as it seems to only offer a String version and only allows for a single target ProxiedPlayer.
It could be an idea to offer more types for variables to then have. Here are some ideas
BooleanVariable
The BooleanVariable would be similar to the current Variable with the difference that getReplacement would be a boolean, rather than a String.
This could allow simple ${player variable} checks for the !conditional component. I'm not sure if BTLP doesn't already recognize and parse Strings representing true and false, but if that isn't the case would such a Variable type be a good idea to have.
getReplacement(ProxiedPlayer, String)
Allow plugin placeholders to have arguments when provided.
For that could there be another getReplacement method with an additional String that on default would return null if no argument was provided.
This could allow plugins to f.e. compare players by getting a player name/UUID through the additional String and use that to retrieve the ProxiedPlayer through the BungeeCord API, to finally make checks and similar.
Any progress on this?
Please be patient. This is after all only a suggestion and it's up to CodeCrafter to decide if he wants this added or not.