public class YamlConfig extends Object implements ConfigurationAdapter
Constructor and Description |
---|
YamlConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String path,
boolean def) |
Collection<String> |
getGroups(String player) |
int |
getInt(String path,
int def) |
Collection<?> |
getList(String path,
Collection<?> def) |
Collection<ListenerInfo> |
getListeners() |
Collection<String> |
getPermissions(String group) |
Map<String,ServerInfo> |
getServers() |
String |
getString(String path,
String def) |
void |
load() |
public void load()
load
in interface ConfigurationAdapter
public int getInt(String path, int def)
getInt
in interface ConfigurationAdapter
public String getString(String path, String def)
getString
in interface ConfigurationAdapter
public boolean getBoolean(String path, boolean def)
getBoolean
in interface ConfigurationAdapter
public Map<String,ServerInfo> getServers()
getServers
in interface ConfigurationAdapter
public Collection<ListenerInfo> getListeners()
getListeners
in interface ConfigurationAdapter
public Collection<String> getGroups(String player)
getGroups
in interface ConfigurationAdapter
public Collection<?> getList(String path, Collection<?> def)
getList
in interface ConfigurationAdapter
public Collection<String> getPermissions(String group)
getPermissions
in interface ConfigurationAdapter
Copyright © 2012–2020 SpigotMC. All rights reserved.