Cooldown Update:
- Added the ability to add a cooldown on the rtp command. To disable the cooldown just leave it at 0.
- The cooldowns will be saved in a "cooldowns.yml" file.
- This cooldowns are not actually the cooldowns themselves but the time when a player last ussed the rtp command.
- The cooldowns are saved in milliseconds and is the time passed since January 1, 1970 UTC(coordinated universal time). You can manually edit it and use /rtp reload to reload the file.
- Added a bypass permission so when a player uses the rtp command it doesn't check for a cooldown.
- Added ability to enable cooldown checks for targets. This means that when the rtp command is executed on a player by another player/console/plugin/etc. it can still check for cooldowns and update them.
- Added a new internal placeholder that can be used in the cooldown messages and its: '%cooldown%'. This will dispaly how many seconds the player has until the cooldown is over.
- Fixed some posible bugs to the rtp use permissions.
Added these things to my todo list:
- Add PAPI placeholders for: cooldown left, cooldown enabled, enabled worlds.
- Add per world rtp permissions.
Just wanted to say that I'm always opened to suggestions in the discussions tab or DM on discord: BlitzGamer_88#0531. I am also support on HelpChat discord server. Feel free to ping me there as well:
https://discord.gg/FtArYRQ
Also check out my other resource "WorldTeleport":
https://www.spigotmc.org/resources/worldteleport.83492/ and if you enjoy any of these resources leave a review.