Question What is a config.yml file?

Discussion in 'Bukkit Help' started by Huffin, May 28, 2017.

Thread Status:
Not open for further replies.
  1. Offline


    What is a config.yml in Bukkit coding? What's its purpose?

    I'm new to Bukkit coding and I haven't seen a clear answer anywhere, it's been a burning question for a while?
  2. Offline


    1. The config inside the plugin's jar (if available) is used as the default config. This is useful if you want per-determined values to exist in the config without having to hard code the values in the class files.
    2. The config outside of the plugin, in the plugin's subfolder, is used for storing data. Since reloading the server clears all of the plugin's memory, this is a good way to transfer data across reloads.
  3. Offline


    A config is mostly givin options to a user, it lets the person who downloaded it make changes to the plugin without having to edit the source code, and the folder which the config.yml is usually found in stores data for the users preferences since the normal jar file/plugin can't store data on its own
Thread Status:
Not open for further replies.

Share This Page