CustomCommand 2.4.1
What's new
Changes:
- Added cooldowns. These can be specified in the base of the command (section). When a command is on cooldown, only that specific node is on cooldown. In this example, if you run
/cooldown, you can't run it again for 10s. But you can still run/cooldown 5seven if/cooldownis on cooldown. I will add functionality that makes command sections require the root to not be on cooldown later.cooldown: description: 'A command with cooldown' permission: 'ccmd.command.cooldown' cooldown: 10s executes: type: message message: message: 'Hello World!' literal:5s: description: 'Only 5s cooldown!' permission: 'ccmd.command.cooldown.5s' cooldown: 5s executes: type: message message: message: 'Cheap Hello World!' /ccmd commands withnow acceptscooldown/ccmd commandnow outputs the command's cooldown
This mod has no additional files

