-
Notifications
You must be signed in to change notification settings - Fork 16
Aliases And commands.yml
Aleksi Lassila edited this page Feb 22, 2021
·
1 revision
In case you are using other plugins that also define commands such as /island
, you can use commands.yml provided by Spigot to define aliases for those commands.
For example, the following lines in commands.yml will make /island
command be used for this plugin and /aisland
for BentoBox plugin's island command.
aliases:
island:
- "islands:island $1-"
aisland:
- "bentobox:island $1-"
Note: If /home
is the only command overlapping, you can set homeSubcommand: true
in the plugin's config.yml to make islands
or is
prefix required for home commands. For example: /is home 2