Plug
Plug allows you to manage your plugins by enabling, disabling, and reloading them. The plugin is simple, and does not need any configuration since there is no configuration file.
Commands
- /plug list - Shows all plugins and the data folder associated with it.
- /plug help - Shows all commands and help on how they work
- /plug enable <plugin | all> - Enables the selected plugin or "all"
- /plug disable <plugin | all> - Disables the selected plugin or "all"
- /plug reload <plugin | all> - Reload the selected plugin or "all"
- /plug reloadconfig <plugin> - Reloads plugins config file ONLY.
- /plug blacklist - Shows blacklist
- /plug blacklist <add | del> <plugin> - Adds or deletes plugin from blacklist
- /plug blacklist <enable | disable> - Toggles functionality of blacklist
Permissions
Since all functionality is administrative, there is one permission to use any commands in Plug.
- plug.use - Administrative plugin use
- plug.grantpl - For allowing users to use /pl and /plugins
Configuration
Here is an example config file. If you do not want a black list, use blacklist: []
custom: blacklist: [] general: enable-blacklist: true enable-metrics: true enable-debug: true enable-debug-sender: true operation: enable-on-load: true override: restrict-pl-command: false use-pl-list: false
For version 1.3, the following features are planned.
- Groups, are plugins grouped together in the config. For example /plug reload GroupName. This will reload all plugins defined in that group.
- Inline groups such as /plug reload Plugin1,Plugin3,Plugin5. This will reload all three plugins. (no spacing with commas!)
- Update checking for convinience. Can be disabled in config.
- Info command for pulling plugin information
Usage Statistics
Note: Only versions v1.1 and greater will show up on the statistics.