Command Cooldown | 1.20.5+ | Add Cooldowns to Commands | Pre
3.0.8The best plugin for adding cooldowns to commands and preventing spam! 1.7-1.21 support!
3.0.8latestApr 25, 2025 Bug Fix: - Fixed /cc cooldowns [player/UUID] not properly showing the remaining time3.0.7Apr 25, 2025 Changelog: - Updated PluginLib version to fix errors being thrown when a player tries to execute a CommandCooldown subcommand that does not exist.3.0.6Apr 23, 2025 Changelog: - Fixed version issues and plugin not starting on newer versions - Changed the title of the Alias Editor GUI to be more straightforward - Changed available update message - Added right-click to remove a Command Cooldown on the main editor - Removed legacy version support, with support only for versions 1.20.5+3.0.5Aug 25, 2024 Bug Fix: - Updated PluginLib to fix hex codes3.0.4Aug 25, 2024 Bug Fix: - Fixed Metrics3.0.3Aug 25, 2024 Changelog: - Improved tab completion. Now makes suggestions for subcommands. - Added author name to plugin.yml - Removed unused code Bug Fixes: - Tab completion now only works if the user has permission to execute the command - Logs that metrics have been enabled only when they have been enabled, rather than every plugin restart3.0.2Aug 24, 2024 Changelog: - Added bStats Metrics again, which was accidentally removed in the 2.2.0 refactor. - Updated PluginLib to handle Metrics. - plugin.yml now reads the version from the pom.xml file, so the versions are never mismatched3.0.1Aug 23, 2024 Bug Fix: - Fixed an error message from being printed when the playerData directory is first created.3.03.0 - MySQL Support, New Command, Bug FixesAug 23, 2024 Changelog: - Updated to Spigot 1.21 - Added a "/cc cooldowns" command. By running "/cc cooldowns" a player can see their own current cooldowns, if they have the commandcooldown.cooldowns permission (given by default). Administrators can view other player's cooldowns by running "/cc cooldowns [playerName/UUID]" (permission required is commandcooldown.cooldowns.others). - Added MySQL Support. Player cooldown data can now be stored locally or with a MySQL database, which can be enabled in the config.yml file. - The CommandCooldown editor now displays duration in a nice format instead of displaying with only seconds. Bug Fixes: - Fixed arguments sometimes not being saved properly when adding a command cooldown. - Fixed messages being sent in chat when filling out prompts in the editor. - Fixed the calculation for the total number of pages in "/cc help". - Editing cooldowns with permissions now ignores permissions with the value false. Thanks to MatiRosen.2.5.02.5.0 - Bug FixesJan 1, 2022 Bug Fixes: - Prompts are no longer sensitive to chat color, which caused unexpected behavior with formatted chat. - Small bug fixes2.4.22.4.2 - Bug FixesDec 20, 2021 Bug Fixes: - Fixed arguments saving without spaces in the cooldowns.yml - Added a new mechanic where all permissions will be taken into account, so the lowest duration permission will take precedent.2.4.1.12.4.1.1 - Removed Test MessagesDec 13, 2021 Changelog: - Removed test messages that were left in the plugin2.4.12.4.1 - Bug FixDec 13, 2021 Bug Fix: - Fixed arguments and aliases being case-sensitive (just make sure your configuration is all lower case).2.4.0Dec 12, 2021 Changelog: - Added a new command, /cc removecooldowns [player]. This resets all cooldowns that a player currently has. - Added support for commands to contain a "*" argument which can represent any argument. Bug Fixes: - Fixed an issue with aliases saving as case-sensitive - Fixed an issue that prevented cooldown changes with permissions2.3.5Aug 2, 2021 Changelog: - Added the api-version to the plugin.yml to remove a warning. This also makes XSeries more reliable. Bug Fixes: - Recompiled the plugin to fix a Java version error2.3.42.3.4 - Bug FixJul 12, 2021 Bug Fixes: - Fixed a bug that was produced by attempting to open a GUI asynchronously.2.3.32.3.3 - Alias Editor UpdateJul 9, 2021 Changelog: - API Addition - Added the AliasesEditorGui - Added color to prompt text - Minor changes Bug Fixes: - Removed test messages from the CooldownService - Fixed an error that was created when a player sent a command with no arguments - Added the go back button for the AliasesEditorGui2.3.02.3.0 - Bug FixesJul 6, 2021 Changelog: - Added /cc bypass Bug Fixes: - Fixed the chat prompts for command labels - Fixed the Editor GUI not allowing the user to change cooldowns - Fixed the Editor GUI incorrectly creating commands - Fixed loading/saving cooldowns when enabling and disabling the plugin - Fixed cooldowns not applying to players2.2.12.2.1 - Minor Bug FixesJul 3, 2021 Changelog: - Minor changes Bug Fixes: - Fixed the help page text placeholders2.2.02.2.0 - Major UpdateJul 3, 2021 CommandCooldown has been entirely rewritten from the ground up. This rewrite promises better performance, improved GUIs, and a simpler format for editing commands with cooldowns. 2.2.0 is aimed to be reverse compatible with older configs while also bringing improved formats to local files. This build is still in the beta stage, so if you experience any bugs, please report them to Darrionat's Discord promptly. Changelog: - Converted from Eclipse project to Maven project - Added PluginLib dependency - Created repositories to handle all file interaction - Services depend on repositories to function while also having simple functionalities for doing complicated actions - Decreased the number of commands by adding a new editor GUI where all command cooldown editing takes place - Added "Prompts" where all information inputted. Originally, it was planned to utilize AnvilGUI in order to request information from the player, but AnvilGUI now requires Java 16. This complication results in difficulty in keeping version compatibility, so for now, chat is still used for inputting information.v2.1.4Default Files FixFeb 23, 2021 Bug Fix: - Fixed the default cooldowns.yml not being parsed correctlyv2.1.3Jan 22, 2021 Bug Fixes: - Fixed cooldowns being removed when a player leaves the server and rejoins - v2.1.2 fixed cooldowns.yml not savingv2.1.1Saving FixedOct 26, 2020 Bug Fixes: - Fixed commands being saved without a base cooldownv2.1Add Args PatchedOct 26, 2020 Bug Fixes: - Fixed the bug of /cc addargs firing both chat events at the same time. - Fixed arguments not being picked up in a cooldownv2.02Change Cooldown with PermissionOct 16, 2020 Changelog: - Reimplemented the check to see if a player has a different cooldown with permission. Example: commandcooldown.home.30 would set the cooldown for /home to 30 seconds for a player instead of the default within cooldowns.yml. This was accidentally removed in v2.0v2.01General ImprovementsOct 11, 2020 Changelog: - Fixed /cc help not displaying the proper commands Bug Fixes: - Fixed the add alias editor not functioningv2.0v2.0 ReleaseSep 20, 2020 Changelog: - Changed update checker for potential performance boost - Released to v2.0 with little/no bug reports/found for BETA versionsv2.0 BETA-2Bug Fix [Important]Sep 14, 2020 Please keep in mind that this is a BETA version, meaning the plugin is unstable and most likely has bugs! If you are not wanting to perform bug-testing, please wait until v2.0 is officially released! Changelog: - Added commandcooldown.command.list permission - Updated /cc help Bug Fixes: - Fixed the message waitingForAlias message in messages.yml, if you have already installed Beta-1, please delete this message from the config and reload the pluginv2.0 Beta-1Sep 12, 2020 TLDR: This update is a major refactoring to CommandCooldown. Your current cooldowns and message customizations will be reset! There will be new configuration files for both! Please keep in mind that this is a BETA version, meaning the plugin is unstable and most likely has bugs! If you are not wanting to perform bug-testing, please wait until v2.0 is officially released! Changelog - Majorly refactored plugin - Added a new messages.yml - Saves and loads cooldowns on restart - New editor modes. Type the command once and enter the editor for that action - Changed the look of /cc list Bug Fixes (Not fully completed) - Fixed players being able to bypass cooldowns by adding argumentsv1.8v1.8 - Cooldown PermissionsMay 13, 2020 v1.8 Recap Changelog: - Added the ability to now change a player's cooldown time with permissions. Add a permission to a player like this example - commandcooldown.warp_home.30 for a new cooldown of 30 seconds - Changed the /cc help list a little bitv1.7Update v1.7Mar 28, 2020 v1.7 Recap Bugfixes: - Automatically adds a command with arguments to the top of the list. This is to prevent conflicts between cooldowns.v1.6Update v1.6Mar 23, 2020 v1.6 Recap Changelog: - Added the ability to give players a permission commandcooldown.bypass.command_name_here in order to bypass a specific command. Make sure the spaces are underscores!v1.51Bugfix v1.51Mar 20, 2020 v1.51 Recap Bugfixes: - Fixed /cd to not show commands that no longer have cooldowns for a playerv1.5Update v1.5Mar 19, 2020 v1.5 Recap Changelog: - Added 3 new messages to config.yml update them! Code (YAML): OnlyPlayers : "&a&l[COMMAND COOLDOWN] &7Only players may use that command" OnCooldown : "&a&l[COMMAND COOLDOWN] &7Commands currently on cooldown" NoCooldowns : "&a&l[COMMAND COOLDOWN] &7Currently, you have no commands on a cooldown" - Added a new command, /cooldowns [/cd] This new command shows a user's active cooldowns - Changed the /cc help command messages - Changed time formatsv1.42Update v1.42Mar 19, 2020 Update v1.42 Recap Changelog - Changed time messages for cooldowns to be dynamic. When greater than a day, messages will display a day value. When under an hour, messages will contain only minutes and seconds. - Added update message to opped players on player joinv1.41Update v1.41 - BUGFIXESMar 16, 2020 Update v1.41 Recap Bugfixes - Fixed aliases not working - Fixed arguments not workingv1.4Update v1.4 - Argument support!Mar 16, 2020 v1.4 Recap Changelog: - New command /cc newalias - Changed /cc add [command] [cooldown] [aliases...] to /cc add [cooldown] [command] [args...] Meaning commands can now have cooldowns for only arguments. Example: A cooldown on /warp spawn will not stop you from using /warp shop - Added new message in config.yml. Make sure you update your config.yml's! Code (YAML): NewAlias : "&a&l[COMMAND COOLDOWN] &7Added new alias" - New help messages formatv1.31Bugfix v1.31 (IMPORTANT)Mar 15, 2020 v1.31 Recap Bugfixes: - Fixed players being able to bypass cooldowns by adding an argumentv1.3Version Update v1.3Dec 26, 2019 Changelog: - Added 1.7.10-1.15 support Bug Fixes: - Fixed when bypass message activates - Fixed Default bypass messagev1.22Bugfix v1.22Dec 26, 2019 Bug Fixes: - Fixed /cc list - Fixed /cc reload showing extra messages.v1.21Fix v1.21Dec 26, 2019 Bug Fixes: - Fixed the error put it console after every command.v1.2Update v1.2Dec 26, 2019 Changelog: - Added a plugin update checker. It will notify you when a new update is out for the plugin. - Added a reload command - Added a cooldown bypass command for adminsv1.11Fix v1.11Dec 25, 2019 Fixes: Changed the plugin.yml. It wouldn't load the plugin because I accidentally put a space in it.v1.1Dec 24, 2019
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
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.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta