With CustomCommandCooldowns you can slow down any command you like! You can give every command own cooldown permissions for example:
Users with "system.permission1" have to wait one Minute while users with "system.permission2" have to wait one day.
Additionally, every message is customizable!
How to use:
1. Download the plugin
2. Put it in the "plugins" folder
3. Restart you server
4. Setup the plugin like you want
Commands:
/commandcooldowns list - a list of all cooldowned commands
/commandcooldowns reload - reloads all commands
(aliases: /ccc; /customcommandcooldowns)
Config:
config.yml
########################################################################################################
# _____ _ _____ _ _ #
# / ____| | |/ ____| | | | | #
#| | ___ _ __ ___ _ __ ___ __ _ _ __ __| | | ___ ___ | | __| | _____ ___ __ ___ #
#| | / _ \| '_ ` _ \| '_ ` _ \ / _` | '_ \ / _` | | / _ \ / _ \| |/ _` |/ _ \ \ /\ / / '_ \/ __| #
#| |___| (_) | | | | | | | | | | | (_| | | | | (_| | |___| (_) | (_) | | (_| | (_) \ V V /| | | \__ \ #
# \_____\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|\_____\___/ \___/|_|\__,_|\___/ \_/\_/ |_| |_|___/ #
# #
# Version: 1.1 by HeckiYT #
# #
########################################################################################################
CommandPermission : "commandcooldowns.admin"
Messages :
Prefix : "&8[&bCooldowns&8] "
NoPermissions : "&cYou don't have permissions to use that command!"
#This part isn't implemented yet!
#V V V V V V V V V V V V V V V V
TimeUnits :
second :
plural : "seconds"
singular : "second"
minute :
plural : "minutes"
singular : "minute"
hour :
plural : "hours"
singular : "hour"
day :
plural : "days"
singular : "day"
week :
plural : "weeks"
singular : "week"
#^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
#Example to copy:
#command:
# permissions:
#
# cooldowns_permission1: <---- The "_" will be replaced by a dot.
#
# cooldown: 10 <--- If you use "seconds" as timeunit, this number will be in seconds.
#
# timeUnit: seconds <---- Following timeunits are avalable: "seconds", "minutes", "days", "weeks"
#
#
# Placeholders:
# "%date_sec%" ---- displays the the seconds of the date where the cooldown expires -> xx.xx.xxxx xx:xx:XX
# "%date_min%" ---- displays the the minutes of the date where the cooldown expires -> xx.xx.xxxx xx:XX:xx
# "%date_hour%" --- displays the the hour of the date where the cooldown expires -> xx.xx.xxxx XX:xx:xx
# "%date_day%" ---- displays the the day of the date where the cooldown expires -> XX.xx.xxxx xx:xx:xx
# "%date_month%" -- displays the the month of the date where the cooldown expires -> xx.XX.xxxx xx:xx:xx
# "%date_year%" --- displays the the year of the date where the cooldown expires -> xx.xx.XXXX xx:xx:xx
# "%date_full%" --- displays the the full date where the cooldown expires -> XX.XX.XXXX XX:XX:XX
# "%seconds%" ----- displays the seconds until the cooldown expires
# "%hours%" ------- displays the hours until the cooldown expires
# "%minutes%" ----- displays the minutes until the cooldown expires
# "%days%" -------- displays the days until the cooldown expires
# "%player%" ------ displays the player name
#
# X = this part is shown
# x = this part isn't shown
#
# cooldownMessage: "&cPlease wait %time% %timeUnit% until you can run this command again!"
# argumentstoschedulecooldown: 2 <-- The amount of arguments to cooldown the command for Example:
# If this is 2:
# /command test test -> Would start the cooldown
# /command test ------> Would NOT start the cooldown
#
#
# cooldowns_permission2:
# cooldown: 10
# timeUnit: minutes
# cooldownMessage: "&cPlease wait %time% %timeUnit% until you can run this command again!"
command1 :
permissions :
cooldowns_permission1 :
cooldown : 10
timeUnit : seconds
cooldownMessage : "&cPlease wait %seconds% seconds until you can run this command again!"
argumentstoschedulecooldown : 1
cooldowns_permission2 :
cooldown : 10
timeUnit : minutes
cooldownMessage : "&cPlease wait %minutes% minutes until you can run this command again!"
argumentstoschedulecooldown : 1
command2 :
permissions :
cooldowns_permission1 :
cooldown : 10
timeUnit : hours
cooldownMessage : "&cPlease wait %hours% hours until you can run this command again!"
argumentstoschedulecooldown : 2
cooldowns_permission2 :
cooldown : 10
timeUnit : days
cooldownMessage : "&cPlease wait %day% days until you can run this command again!"
argumentstoschedulecooldown : 2
Support:
If you found a bug or need help for the plugin feel free to dm me on Spigot or Discord.
Discord: Hecki#0946 (German and Englisch)
DO NOT REPORT BUGS IN THE REVIEWS SECTION!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta