-
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.