Learn how to manage Nucleus commands, including aliases, cooldowns, warmups and costs.
Command Management - 2: Command Modifiers
Many user facing commands in Nucleus support warmups, cooldowns and costs that are applied to players who run them. These are called “command modifiers”.
Many commands can have one or more of the following modifiers:
Currently, the cost modifier only supports the default currency.
The modifiers can be set on a per command basis, and are set in each command configuration block.
Nucleus will generate entries for each command that supports a modifier. If Nucleus does not generate an entry, the command will not support the modifier, even if you add the config entry manually.
Values specified in this file will be applied to all players that do not have one of the following:
All current command modifiers cannot be negative.
Users can be set to be exempt from these modifiers using permissions.
In general, for a given command with a command key, the exemption permission take the form:
nucleus.<command key>.exempt.cooldown
for cooldownsnucleus.<command key>.exempt.warmup
for warmupnucleus.<command key>.exempt.cost
for costsSpecific permissions can be seen associated with the command in the command reference.