Skip to content

Config

get

Returns the value stored for the specified key.

java
String value = config.get(String key);

getDirectory

Returns the absolute path to the config directory.

java
String path = config.getDirectory();

set

Writes or updates a key-value pair inside the config file. Returns true on success.

java
boolean saved = config.set(String key, String value);