Description
Welcome to Coyne's Configuration Utility
With Configuration Utility's API and commands, a server can edit any configuration file existing on the server with ease. This includes config.yml, permissions.yml, and any other yml files on the server!
Commands
/config get <File Path> <Field>
Example: Let's say you want to get the value of uuidOfTimbers007 in a plugin called HelloWorld in uuid.yml. (For this example, uuidOfTimbers007 is set as 62198005-9cc1-401f-8736-d62b7b5617f3).
Usage: /config get plugins/HelloWorld/uuid.yml uuidOfTimbers007
Output: Config> The value of uuidOfTimbers007 is 62198005-9cc1-401f-8736-d62b7b5617f3.
/config set <File Path> <Field> <Value>
Example: Let's say you want to set the value of randomNumber is a plugin called Bukkit Test in config.yml.
Usage: /config set plugins/Bukkit Test/config.yml randomNumber 2
Outcome: The value of randomNumber is config.yml will be set as 2.
/config save <File Path>
Example: Let's say you want to save the config file config.yml in the plugin Bukkit Test.
Usage: /config save plugins/Bukkit Test/config.yml
Outcome: The plugin will save the file config.yml.
FAQ
Q: What if I don't want my config files in my plugin to be editable by this plugin?
A: This is 100% possible! Be sure to add coyne-readable: false to the config file you don't want readable. Alternatively, you can use ConfigReadable.setReadable(true, config) in your code. Note: The ConfigReadable class is located inside this plugin, so you must download the plugin and add it as a library.
Q: Can I use this plugin in my own plugin or server?
A: Yes!
Q: Where can I see the source code of this plugin?
A: You can find the source code on Github here.
Q: Can I contribute to the plugin on Github?
A: Yes! Contributions to the plugin are always appreciated.
Questions?
Feel free to submit a ticket from this page.


