Commands

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

circle-info

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

circle-info

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

circle-info

You can enable and disable the plugin using Enable: true or false

Commands:
  Reload:
    Enable: true # or false

Disable Message

circle-info

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

Last updated

Was this helpful?