Support for placeholders
xEllesi opened this issue ยท 3 comments
Add Placeholders to the cooldown of each portal
Usage:
Use scoreboard or holograms to show how mutch time left to the player use the portal again.
example:
%advancedportals_portalname_remaintime%
Would you have a link to the API you were wanting to support? we don't currently actually check the times other than when people try to tp and they are user-specific, not global.
I guess it's PlaceholderAPI. onRequest
is called only when placeholder is used, so you can do exactly the same - just calculate cooldown when needed.
Would you have a link to the API you were wanting to support? we don't currently actually check the times other than when people try to tp and they are user-specific, not global.