ConfigEdit is a lightweight Bukkit plugin that provides one simple command for editing config files in other plugins. If you get tired of constantly opening a plugin's config file just to change one minor thing, than this plugin is for you.
Command
ConfigEdit's edit command has a simple, easy syntax for editing config files:
/edit theplugin the.key:value otherconfig
Where:
- "theplugin" is the plugin of the folder that ConfigEdit will look in for the config file. So in this case the folder would be plugins/theplugin.
- "the.key:value" is the key in the config and the value that key will be set to, separated by a colon. So the result in the config (in this case, otherconfig) might look like:
- "otherconfig" is the name of the config file to be edited in plugins/theplugin. If the name of the config is not specified, it will default to "config".
You can also set lists in the config. For example:
- /edit theplugin the.key:value1,value2,value3 otherconfig
Which in the config might look like:
the:
key:
- value1
- value2
- value3
If you want to add values to already existing configs, you could do, for example:
- /edit theplugin the.key:+value4,value5,value6 otherconfig
Which might look like this in the config:
the:
key:
- value1
- value2
- value3
- value4
- value5
- value6
Say you wanted to remove value1, 2, and 3 from the config. You could do:
- /edit theplugin the.key:-value1,value2,value3 otherconfig
Which might look like:
the:
key:
- value4
- value5
- value6
If you decided you wanted to remove the.key altogether, just set the value to null:
- /edit theplugin the.key:null otherconfig
Permissions
ConfigEdit has one permission:
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Developers
Feel like you can improve the plugin in some way? Send me a pull request on Github: https://github.com/techboy291/ConfigEdit