|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.configuration.MemorySection
org.bukkit.configuration.MemoryConfiguration
org.bukkit.configuration.file.FileConfiguration
org.bukkit.configuration.file.YamlConfiguration
fr.xephi.authme.settings.CustomConfiguration
fr.xephi.authme.settings.Messages
public class Messages
| Field Summary |
|---|
| Fields inherited from class org.bukkit.configuration.file.FileConfiguration |
|---|
SYSTEM_UTF, UTF_BIG, UTF8_OVERRIDE |
| Constructor Summary | |
|---|---|
Messages(java.io.File file)
|
|
| Method Summary | |
|---|---|
void |
_(org.bukkit.command.CommandSender sender,
java.lang.String msg)
|
java.lang.String[] |
_(java.lang.String msg)
|
static Messages |
getInstance()
|
void |
loadDefaults(java.io.File file)
Loads a file from the plugin jar and sets as default |
boolean |
saved(java.io.File file)
Saves the configuration to disk |
boolean |
saveDefaults(java.io.File file)
Saves current configuration (plus defaults) to disk. |
| Methods inherited from class fr.xephi.authme.settings.CustomConfiguration |
|---|
load, loadRessource, reLoad, save |
| Methods inherited from class org.bukkit.configuration.file.YamlConfiguration |
|---|
loadConfiguration, loadConfiguration, loadConfiguration, loadFromString, options, saveToString |
| Methods inherited from class org.bukkit.configuration.file.FileConfiguration |
|---|
load, load, load, load, save, save |
| Methods inherited from class org.bukkit.configuration.MemoryConfiguration |
|---|
addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults |
| Methods inherited from class org.bukkit.configuration.MemorySection |
|---|
contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isSet, isString, isVector, set, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.bukkit.configuration.ConfigurationSection |
|---|
contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isSet, isString, isVector, set |
| Constructor Detail |
|---|
public Messages(java.io.File file)
| Method Detail |
|---|
public final void loadDefaults(java.io.File file)
filename - The filename to openpublic final boolean saved(java.io.File file)
public final boolean saveDefaults(java.io.File file)
public void _(org.bukkit.command.CommandSender sender,
java.lang.String msg)
public java.lang.String[] _(java.lang.String msg)
public static Messages getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||