Cooldown permit you to make a customizable cooldown time for one specific command that you can customize, with a cooldown-error that you can customize, with a customizable command(from console or from player) & 2 customizable messages to send when the command is successful executed.
- Tested Minecraft Versions:
Contact: Telegram SpigotMC
More Resources: Sitieno14
More Sitieno14: Telegram Channel
- This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
So, in-file options:
- To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
Commands - Feature - Default permission:Code (Text):options:
#Prefix for per-command permissions
#Error if player doesn't have 'permission-prefix' + command and try to execute a command that require it
permission-error: &cYou don't have the required permission for this command&4!
#This skript's command
#Error if player doesn't specify a valid sub-command (check, help, delete, help)
subcommand-error: &cYou must specify a valid sub-command&4!
#Accepted values: x years, x months, x days, x minutes, x seconds
#Needed wait between a command execute and another one
cooldown: 24 hours
#Error if if time difference between player's last use of 'cooldown-command' is less than 'cooldown'
cooldown-error: &cYou must wait &4<cooldown> &cseconds before using again this command&4!
#Message to send after executing 'cooldown-command' (only if time difference between player's last use of 'cooldown-command' is less than 'cooldown')
executed: &aYou executed the command&2!
#Who have to execute the command after 'cooldown-command' (only if time difference between player's last use of 'cooldown-command' is less than 'cooldown')
#Accepted values: console, player
#Command to be execute by 'command-by' after 'cooldown-command'
command: cr givekey <player> DailyCrate 1
#Message to send after 'executed'
execute-again: &eYou can execute it again in &6<cooldown>&a!
/cooldown - Execute the under cooldown command - cooldown.use
/cooldown check - Check last time used & remaining time of your cooldown for command - cooldown.check
/cooldown check <player> - Check <player>'s last time used and remaining time of his cooldown for command - cooldown.check.others
/cooldown delete - Delete your cooldown, so that you can execute again the command and start cooldown again from 'cooldown' time (by default 24 hours) - cooldown.delete
/cooldown delete <player> - Delete <player>'s cooldown so that he can execute again the command and start cooldown again from 'cooldown' time (by default 24 hours) - cooldown.delete.others
Server that use this plugin:
(Review if you want your server in this list)