- Tags
-
- Tags
- None
Add custom commands with custom messages straight up the config.yml file! Simple as heck to use a monkey could add commands!
CONFIG.YML
custom-commands:
permission: 'custom.commands.reload'
no-perms: '&f[&bCustom&cCommands&f] &cYou are not permitted to use &c/customcommands'
reloaded: '&f[&bCustom&cCommands&f] &2Configuration has been successfully reloaded!'
no-args: '&f[&bCustom&cCommands&f] &2Command Not Found! Try &c/customcommands reload&2!'
commands:
1:
name: 'Test' # name of the command
perm: 'test.perm' # custom perm for the command
messages:
- '&cMessage 1' # messages to send to the player
- '&bMessage 2'
2:
name: 'Test2'
perm: 'test2.perm'
messages:
- '&cMessage 1'
Proof of ownership:
https://gyazo.com/bbae263503fbf9cee7631aab69b14384
CONFIG.YML
custom-commands:
permission: 'custom.commands.reload'
no-perms: '&f[&bCustom&cCommands&f] &cYou are not permitted to use &c/customcommands'
reloaded: '&f[&bCustom&cCommands&f] &2Configuration has been successfully reloaded!'
no-args: '&f[&bCustom&cCommands&f] &2Command Not Found! Try &c/customcommands reload&2!'
commands:
1:
name: 'Test' # name of the command
perm: 'test.perm' # custom perm for the command
messages:
- '&cMessage 1' # messages to send to the player
- '&bMessage 2'
2:
name: 'Test2'
perm: 'test2.perm'
messages:
- '&cMessage 1'
Proof of ownership:

https://gyazo.com/bbae263503fbf9cee7631aab69b14384