Commands
The description and context for all commands.
Square brackets ([]
) determine required arguments. Angle brackets (<>
) determine optional arguments.
Reload Command
The reload command reloads configs. If you do not include a module arg, this reloads everything.
Command: /neoextras reload <module>
Permission: neoextras.reload
Argument | Description |
---|---|
<module> |
The NeoExtras' module to reload. Currently the only module is boosters . |
Booster Command
The booster command lets you manage in-game boosters. You can start new boosters, list active boosters, or stop boosters before they expire.
Starting a Booster
Start a new booster with the /booster start
command.
Command: /booster start [holder-type] [holder-name] [booster-type] [multiplier] [time] <cause> <context>
Permission: neoextras.boosters.admin
Argument | Description |
---|---|
[holder-type] |
The booster holder type. More info can be found here. |
[holder-name] |
The targetted booster holder's name. This argument does not exist when the holder-type is global . |
[booster-type] |
The type of booster to activate. Built-in booster types can be found here. |
[multiplier] |
The multiplier of the boost. This is a double value (a number with decimals). |
[time] |
The amount of time the boost will extend. The format must match the regex"(([0-9]+)-?h(ours?)?)?-?(([0-9]+)-?m(inutes?)?)?-?(([0-9]+)-?s(econds?)?)?" . |
<cause> |
The cause of the booster command. If this argument is not present, it defaults to the name of the command executor. |
<context> |
The context of the booster. Context types are determined per-booster. |
Listing Boosters
List currently active boosters with /booster list
. The command is different if you have the admin permission.
Player Usage
This is the list command intended for players. This will also show boosters considered relevant to them, such as global or worldly boosts.
Command: /booster list <booster-type>
Permission: neoextras.boosters.list
Argument | Description |
---|---|
<booster-type> |
The type of booster to list. Built-in booster types can be found here. If this argument is not present, it shows all boosts of all types. |
Admin Usage
This is the list command intended for admins. By default, each booster in the admin list command includes a button to generate the stop command for the specified booster.
Command: /booster list [holder-type] [holder-name] <booster-type>
Permission: neoextras.boosters.admin
Argument | Description |
---|---|
[holder-type] |
The booster holder type. More info can be found here. If the holder-type is player , this command will also show boosts relevant to the specified player. |
[holder-name] |
The targetted booster holder's name. This argument does not exist when the holder-type is global . |
<booster-type> |
The type of booster to list. Built-in booster types can be found here. If this argument is not present, it shows all boosts of all types. |
Stopping a Booster
Forcefully stop a booster before it expires with /booster stop
. By default, with the admin permission, booster list will show a button next to each booster to automatically generate a stop command for that booster.
Command: /booster stop [holder-type] [holder-name] [booster-type] [index]
Permission: neoextras.boosters.admin
Argument | Description |
---|---|
[holder-type] |
The booster holder type. More info can be found here. |
[holder-name] |
The targetted booster holder's name. This argument does not exist when the holder-type is global . |
[booster-type] |
The type of booster to stop. Built-in booster types can be found here. |
[index] |
The index of the booster you're trying to stop. The index for each booster can be found in the list command. Warning: Every time a booster is stopped, forcefully or not, the index changes. Be sure to double check the index if you're stopping multiple boosters in the same go. |