CommandsManager [1.8 - 1.21.11] | [MySQL] | [Custom Cooldowns] | [Custom Delays] | [Custom Costs] icon

CommandsManager [1.8 - 1.21.11] | [MySQL] | [Custom Cooldowns] | [Custom Delays] | [Custom Costs] -----

Blocks, Adds Cooldowns and Adds Delays with Costs to any Command.




- Fixed an issue where permissions were not being checked correctly during TabCompleter.
- Added a new Action:
Code (Text):
[WAIT] Seconds - Waits a certain amount of time before performing another Action.
- Updated libraries.
----------, Mar 5, 2026

Happy New Year to Everyone :)
(Sorry for the delay)​

- Updated libraries.
- Added 1.21.11 Support.
- Updated Tab Completer for the command: "/commandsmanager reset <player_name> <all/command>"
- Added BossBar for LoadingBar during Delay.
- Now "expired" cooldowns will be automatically deleted from the cooldowns file, every time the cooldowns file will be saved.
- Now the cooldowns file will no longer be saved every time a cooldown is manually removed, making everything as efficient as possible. So, cooldowns will only be automatically saved in the cooldowns file only when the server is stopped (of course, if MySQL is disabled).
- Optimized internal lists: previously, Player objects were temporarily stored, now only player's name is temporarily stored.
- Added a feature that checks whether the plugin version is up to date. When you type "/commandsmanager help", if the version is up to date, the version text will be green; otherwise, the version text will be red.

I recommend everyone to add these lines in the configuration file under the loadingBar entry:

Code (YAML):
loadingBar:
  symbol
: "[]"
  completedColor
: "&a"
  notCompletedColor
: "&c"
  bossBar
:
    enabled
: true
    replaceActionBar
: false
    #If 'progress' is set to true, when the player needs to authenticate, the boss bar will decrease every second.
    progress
: true
    #Only works for 1.9+ versions.
    color
: RED
    #Only works for 1.9+ versions.
    style
: SOLID
    message
: "&cYou need to wait &e%command_time_delay% &cseconds to execute &e%command_name%&c."
----------, Jan 28, 2026

- Updated libraries.
- Added 1.21.9/1.21.10 Support.
----------, Nov 22, 2025

- Updated libraries.
- Added 1.21.5/1.21.6/1.21.7/1.21.8 Support.
- Fixed an issue where some cooldowns on MySQL were not being saved correctly.
- Added the possibility to remove cooldowns with a command.
It is recommended to reload the configuration file or add these lines manually:
Code (YAML):
   command:
    blockColons
: "%prefix% &cYou can't use colons in the first argument of the command!"
    reset
:
      noPlayer
: "%prefix% &cNo data found for &e%player_name%&c."
      noCooldown
: "%prefix% &e%player_name% &chas no cooldown for the command: &e%command_name%&c!"
      cooldownRemoved
: "%prefix% &e%player_name%'s &2cooldown for the command: &e%command_name% &2has been removed!"
      allCooldownsRemoved
: "%prefix% &2All &e%player_name%'s&2 cooldowns have been removed!"
----------, Jul 26, 2025

Happy New Year to everyone!

- Updated libraries.
- Updated deprecated methods.
----------, Jan 3, 2025

- Added 1.21.4 Support.
- Updated libraries.
----------, Dec 18, 2024

- Updated libraries.
- Added 2 new Built In Placeholders for the UpdateChecker(This means that these 2 Placeholders can only be used in UpdateCheck messages).
%current_version% - Returns the number of the current version.
%new_version% - Returns the number of the new version.
----------, Dec 5, 2024

- Added 1.21.2/1.21.3 Support.
- Implemented Cooldowns and Delays with Costs for the same command(you can see an example in the configuration file).
- Removed a Built In Placeholder:
Code (YAML):
%command_time%
- Added 2 new Built In Placeholders:
Code (YAML):
%command_time_cooldown% - Returns the time of cooldown of the command.
%command_time_delay% - Returns the time of delay of the command.
It is necessary to regenerate the configuration file.
----------, Nov 10, 2024

- Added the possibility to set Custom Costs based on permissions.
- Implemented 3 types of costs:
  • EXPERIENCE: Player's experience points will be used as currency.
  • MONEY: In-game currency will be used.
  • CUSTOM: Specific items will be used as currency.
    To define the item, use the format CUSTOM:<material>, where <material> is the name of the item(CUSTOM:STONE).
- Implemented PlaceholderAPI placeholders for Actions.
- Updated libraries.
- Added new messages in the configuration file.

It is absolutely necessary to regenerate the configuration file. Before doing so, however, create a backup of the current configuration file. Furthermore, I wanted to inform that it will not be possible to add auto-update for the configuration file.
----------, Oct 11, 2024

- Added 1.21.1 Support.
----------, Aug 17, 2024

- Added the possibility to edit messages for when plugin version is checked.

It is recommended to regenerate the configuration file.
----------, Aug 17, 2024

- Added support for PlaceholderAPI. A placeholder has been implemented, which can be used by any plugin, to view the cooldown of a command:
Code (Text):
%commandsmanager_cooldown_/<command>% - Returns the cooldown time of the command.
The messages that will be sent can be customized from the configuration file.

It is recommended to regenerate the configuration file.
----------, Jul 23, 2024

- Updated libraries.
----------, Jul 18, 2024

- Fixed a bug where sometimes it could happen that when the Delay countdown was completed, more symbols were added to the LoadingBar.
----------, Jun 23, 2024

- Added 1.21 Support.
----------, Jun 22, 2024

- Decreased the weight of the plugin.
----------, May 13, 2024

- Added 1.20.5 and 1.20.6 Support.
- Added Tab Completion for SubCommands.
----------, May 13, 2024

- Updated libraries.
----------, Mar 30, 2024

- Fixed a bug where the delay was not canceled when a player hit an entity.
----------, Oct 11, 2023

- Fixed a bug where sometimes the command would still execute even though it shouldn't.
----------, Oct 7, 2023

- Added 1.20.2 Support.
----------, Oct 6, 2023

- Added the possibility to insert the Built In Placeholder:
Code (Text):
%command_time%
in the string loadingBarLenght, which returns the number based on the time of the rank.

Example:
Code (YAML):
#Lenght of the LoadingBar.
#Built In Placeholder:
#%command_time% - Returns the number based on the time.
#%command_time% must be written between " ";
#The number can still be written, either without the " " or with.
loadingBarLenght
: "%command_time%"
It's not necessary to regenerate the configuration file.
----------, Sep 3, 2023

- Added LoadingBar Lenght:
Code (YAML):
#Lenght of the LoadingBar.
loadingBarLenght
: 10
It is recommended to regenerate the configuration file.
----------, Aug 29, 2023

- Added the possibility to add Custom Cooldowns and Custom Delays for ranks/players who will have the permission:
Code (YAML):
#Set a specific time for a custom cooldown/delay only for ranks/players who will have the permission.
#Permission;Time
#The Permission must always be written first, while the time, after, which must be divided by the ";".
#Time is calculated in Seconds.
time
:
 - "Permission;Time"
Example:
Code (YAML):
#Set a specific time for a custom cooldown only for ranks/players who will have the permission.
#Permission;Time
#The Permission must always be written first, while the time, after, which must be divided by the ";".
#Time is calculated in Seconds.
time
:
 - "commandsmanager.test2.time.vip;5"
In this case, all ranks/players who will have the permission, will have a 5 second cooldown.

- Added a Built In Placeholder:
Code (Text):
%command_time% - Returns the time of the command.
- Added the possibility to set a default time:
Code (YAML):
#Only ranks/players who will not have permissions for a custom cooldown/delay, will have this time by default.
defaultTime
: 10
Example:
Code (YAML):
#Set a specific time for a custom cooldown only for ranks/players who will have the permission.
#Permission;Time
#The Permission must always be written first, while the time, after, which must be divided by the ";".
#Time is calculated in Seconds.
time
:
 - "commandsmanager.test2.time.vip;5"
#Only ranks/players who will not have permissions for a custom cooldown, will have this time by default.
#For Example:
#time:
#  - "commandsmanager.test2.time.vip;5"
#defaultTime: 10
#In this case, after the "commandsmanager.test2.time.vip" permission will only be added in the VIP rank,
#All players who will have the VIP rank will automatically have a custom cooldown of 5 seconds,
#While, all other players, with all other ranks, will have a cooldown of 10 seconds.
defaultTime
: 10
It is recommended to regenerate the configuration file.
----------, Aug 28, 2023

- Fixed a small bug where the Delay LoadingBar wouldn't work.
----------, Aug 10, 2023

- Added a new Action to send JSONMessages:
Code (YAML):
[JSON_MESSAGE ] Message - Sends a jsonmessage to the player.
The JSONMessage must be written between ' '.
Example:
Code (YAML):
- ' [JSON_MESSAGE ] [ "", { "text": "%prefix% ", "hoverEvent": { "action": "show_text", "value": "%command_name% can''t be executed." } }, { "text": "%command_name%", "color": "yellow", "hoverEvent": { "action": "show_text", "value": "%command_name% can''t be executed." } }, { "text": " ", "hoverEvent": { "action": "show_text", "value": "%command_name% can''t be executed." } }, { "text": "can''t be executed", "underlined":true, "color": "dark_red", "hoverEvent": { "action": "show_text", "value": "%command_name% can''t be executed." } } ]'
[​IMG]
To generate JSONMessages, I recommend using this site:
https://minecraft.tools/en/json_text.php

- Removed the Built In Placeholder:
Code (Text):
%command_time%
----------, Aug 10, 2023

- Added the possibility to type commands of the plugin from the console.
----------, Jul 21, 2023

- Added Update Checker.
- Added option in the configuration file to disable the Update Checker.

It is recommended to regenerate the configuration file, otherwise add this line inside the configuration file:
Code (YAML):
updateCheck : true
----------, Jul 10, 2023

Resource Information
Author:
----------
Total Downloads: 3,767
First Release: Jul 9, 2023
Last Update: Mar 5, 2026
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings