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

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

Blocks, Adds a Cooldown and Adds a Delay with Cost to any Command.




- 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 the possibility to edit messages for when plugin version is checked.

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

- Added 1.21.1 Support.
----------, 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: 1,870
First Release: Jul 9, 2023
Last Update: Dec 18, 2024
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings