The plugin configuration is very simple and self-described, and is entirely contained
in the <spigot-plugins>/CommandItems/config.yml file, generated after the first startup.
If you change something here while the server is running, you'll have to manually reload the plugin with:
/cmditem reload
Settings¶
The actual configuration section looks like this:
- default:
- cooldown:
30The default cooldown duration for new items.
- depletion:
1The default depletion value for new items.
- cooldown:
- logging:
trueIf true, the console logs each time a command item is used (for security reasons, this should always be true; but if you're experiencing a lot of flooding on your console output because of this plugin, you may want to disable it)
-
signs:
- enabled:
trueWhether special [Exec] signs are supposed to work in your server.
- caption:
ExecThe caption to be used in the first line of [Exec] signs.
Change ONLY if the default value is conflicting with other plugins.
- enabled:
-
strings: [...]
Strings displayed to the players/console. You can localize or change them according to your needs.
Data¶
The following section is automatically filled by the plugin itself, but can be edited by the user:
- data:
- <id>:
- enabled:
trueWhether the items/signs having this ID can be used.
- cooldown:
30Cooldown duration for the items/signs having this ID.
- depletion:
5Maximum amount of uses for the items having this ID.
- commands:
/command arg1 arg2/command2 arg1 arg2Command(s) associated to the items/signs having this ID.
- enabled:
- ...
- <id>: