While fixing a bug that was using personal cooldowns for broadcasted rolls I decided to rewrite the cooldown system to be a bit more efficient, and at the same time allowing for a cooldown message that includes the amount of time until you can roll again. Make sure to add these lines to your message.yml file or delete it and allow it to regenerate.
Code (YAML):
personal-cooldown
:
"&cYou cannot use /%roll-command% for another %seconds% seconds"
broadcast-cooldown
:
"&cYou cannot use /%broll-command% for another %seconds% seconds"
In addition to that you can now change all commands in the config, including aliases!
Either delete your current config or add this portion to your config
Code (YAML):
commands:
base:
command
:
"diceroller"
aliases
:
-
"dr"
-
"droller"
roll:
command
:
"roll"
aliases
:
[
]
broadcast-roll:
command
:
"broll"
aliases
:
-
"broadcastroll"