HomeJavaMods[Request] Cooldown | One Command | Fully Customizable
[Request] Cooldown | One Command | Fully Customizable
ModsJava

[Request] Cooldown | One Command | Fully Customizable

⬇ Download on Spigot
Cooldown.png 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.

Contact: Telegram SpigotMC
More Resources: Sitieno14
More Sitieno14: Telegram Channel

Skript License:
[​IMG]

So, in-file options:

Code (Text):
options:

    #Prefix for per-command permissions
    permission-prefix: cooldown.
 
    #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
    cooldown-command: cooldown
 
    #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-by: console

    #Command to be execute by 'command-by' after 'cooldown-command'
    #Placeholder: <player>
    command: cr givekey <player> DailyCrate 1
 
    #Message to send after 'executed'
    #Placeholder: <cooldown>
    execute-again: &eYou can execute it again in &6<cooldown>&a!
Commands - Feature - Default permission:
/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)
-
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[Request] Cooldown | One Command | Fully Customizable is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 407 times (via Spigot). Download it and open it directly in the game.

Explore more