Commands

This page will be an overview of the commands section of the config

The usual layout for Commands laid out like this

Commands:
  Reload:
    Message: "&6{plugin_name} {plugin_version} has been reloaded."
    Enable: true
    Disable_Message: 'Command disabled! If you want to enable this command set "Enabled" in the config to true!'
Commands:
  Reload: # This refers to the name of the command, for example the Reload command reloads the plugin

Message

You can set the message of the command when it is successfully run

Commands:
  Reload:
    Message: "&6{plugin_name} {plugin_version} has been reloaded."

{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

Commands:
  Reload:
    Enable: true # or false

Disable Message

The disable message is fired if you set the plugin to disabled the next time you launch the server

Commands:
  Reload:
    Disable_Message: 'Command disabled! If you want to enable this command set "Enabled" in the config to true!'
    # This is sent if you set Enabled to false

Last updated