BasicConfigurationFile

public void BasicConfigurationFile(JavaPlugin plugin, String name, boolean overwrite)

Initialise an instance with a plugin, name, and if the original config file should be overwritten

Parameters

plugin

bukkit plugin

name

name of the configuration file (don't add the yml)

overwrite

overwrite the preexisting config file (if it exists)


public void BasicConfigurationFile(JavaPlugin plugin, File folder, String name, boolean overwrite)

Initialise an instance with a plugin, name, if the original config file should be overwritten, and a destination folder to put the config file in

Parameters

plugin

bukkit plugin

folder

destination folder

name

name of the configuration file (don't add the yml)

overwrite

overwrite the preexisting config file (if it exists)


public void BasicConfigurationFile(JavaPlugin plugin, String name)

Initialise an instance with a plugin, name

doesn't overwrite by default.

Parameters

plugin

bukkit plugin

name

name of the configuration file (don't add the yml)