| Package | Description |
|---|---|
| nl.taico.configplus | |
| nl.taico.configplus.bukkit |
| Modifier and Type | Method and Description |
|---|---|
static BukkitConfig |
ConfigPlus.getNewConfig(org.bukkit.plugin.Plugin plugin,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static BukkitConfig |
BukkitConfig.getNewConfig(org.bukkit.plugin.Plugin plugin,
String name)
Creates a new config and loads it.
If the file doesn't exist, will save the default config. Example usage:
public static Config config;You can then get values by doing:
String str = config.getString("path.to.str");You can set values like so:
config.set("Section1.tutorial", "This is a tutorial!"); |
BukkitConfig |
BukkitConfig.getParent() |
Copyright © 2014. All rights reserved.