Configs - OfficialDonut/VisualBukkit GitHub Wiki

Create Default Config

Click the resource files button in the bottom button bar to open the resource files folder. Create a file named config.yml in this folder. This file will be copied into the plugin folder on the server when the plugin enables if the file does not already exist.

Example config.yml:

messages:
    message1: 'This is the first message'
    message2: 'This is the second message'

Access Config Values

Use the [Config] Config Value block along with the [Bukkit] Plugin Config block to access values from the config.

Note: if the config file is not named config.yml then the process is similar, but instead of using [Bukkit] Plugin Config you will have to load the config from the file manually with [Config] Config From File.