BasicConfigurationFile

Constructors

Link copied to clipboard
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
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
public void BasicConfigurationFile(JavaPlugin plugin, String name)
Initialise an instance with a plugin, name doesn't overwrite by default.

Functions

Link copied to clipboard
public Object get(String path)
Get the property in the config file as a java.lang.Object.
Link copied to clipboard
public boolean getBoolean(String path)
Link copied to clipboard
public TextComponent getComponent(String path)
Link copied to clipboard
public double getDouble(String path)
Get the property in the config file as a java.lang.Double.
Link copied to clipboard
public int getInteger(String path)
Get the property in the config file as an java.lang.Integer.
Link copied to clipboard
public String getString(String path)
Get the property in the config file as a String
Link copied to clipboard
Get the property in the config file as a java.util.List.
Link copied to clipboard
Get the property in the config file as a java.lang.String.
Link copied to clipboard
public void reloadConfig()