Search…
Commands
This page will be an overview of the commands section of the config
The usual layout for Commands laid out like this
1
Commands:
2
Reload:
3
Message: "&6{plugin_name} {plugin_version} has been reloaded."
4
Enable: true
5
Disable_Message: 'Command disabled! If you want to enable this command set "Enabled" in the config to true!'
Copied!
1
Commands:
2
Reload: # This refers to the name of the command, for example the Reload command reloads the plugin
Copied!

Message

You can set the message of the command when it is successfully run
1
Commands:
2
Reload:
3
Message: "&6{plugin_name} {plugin_version} has been reloaded."
Copied!
{plugin_name} and {plugin_version} are placeholders for the name of the plugin and the current version of the plugin. This message also fully supports the standard bukkit colour codes.

Enable

You can enable and disable the plugin using Enable: true or false
1
Commands:
2
Reload:
3
Enable: true # or false
Copied!

Disable Message

The disable message is fired if you set the plugin to disabled the next time you launch the server
1
Commands:
2
Reload:
3
Disable_Message: 'Command disabled! If you want to enable this command set "Enabled" in the config to true!'
4
# This is sent if you set Enabled to false
Copied!