Features
Commands
Nexus has a lot of commands that you can use. Here is a list of all the commands that are available in Nexus:
Name | Arguments | Description | Permissions (Click to copy) |
---|
Configuring commands
You can change the aliases and cooldowns for any command in Nexus. To do this, you need to edit the commands.yml
file in plugin folder. Here is the structure of the commands.yml
file:
yaml
commands:
<command_name>:
name: <command_name>
aliases:
- <new_command_aliases>
permissions:
- <new_command_permission>
subCommands:
<sub_command_name>:
enabled: <true/false>
name: <sub_command_name>
aliases:
- <new_sub_command_aliases>
permissions:
- <new_sub_command_permission>
cooldown:
enabled: <true/false>
duration: <cooldown_duration> (e.g. 5s, 1m, 1h)
bypassPermission: <cooldown_bypass_permission>
message:
chat: <cooldown_chat_message>
actionBar: <cooldown_action_bar_message>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Example
Here is an example of how to change the aliases and cooldowns for the /tpa
command:
yaml
commands:
randomteleport:
name: randomteleport
aliases:
- rtp
- randomtp
permissions: []
subCommands: {}
cooldown:
enabled: true
duration: 1m
bypassPermission: nexus.cooldown.bypass
message:
chat: "<dark_red>You must wait <white>{TIME}</white> before using this command again."
actionbar: "<dark_red>Wait <white>{TIME}</white>!"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TIP
Messages support the multification
library. You can view information about using it here.