Package net.md_5.bungee.api.config
Interface ConfigurationAdapter
public interface ConfigurationAdapter
This class allows plugins to set their own configuration adapter to load
 settings from a different place.
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetBoolean(String path, boolean def) Gets a boolean from the specified path.Get all groups this player is in.intGets an integer from the specified path.Collection<?>getList(String path, Collection<?> def) Get a list from the specified path.Get information about all hosts to bind the proxy to.getPermissions(String group) Get all permission corresponding to the specified group.Get the configuration all servers which may be accessible via the proxy.Gets a string from the specified path.voidload()Reload all the possible values, and if necessary cache them for individual getting.
- 
Method Details- 
loadvoid load()Reload all the possible values, and if necessary cache them for individual getting.
- 
getIntGets an integer from the specified path.- Parameters:
- path- the path to retrieve the integer from
- def- the default value
- Returns:
- the retrieved integer
 
- 
getStringGets a string from the specified path.- Parameters:
- path- the path to retrieve the string from.
- def- the default value
- Returns:
- the retrieved string
 
- 
getBooleanGets a boolean from the specified path.- Parameters:
- path- the path to retrieve the boolean form.
- def- the default value
- Returns:
- the retrieved boolean
 
- 
getListGet a list from the specified path.- Parameters:
- path- the path to retrieve the list form.
- def- the default value
- Returns:
- the retrieved list
 
- 
getServersMap<String,ServerInfo> getServers()Get the configuration all servers which may be accessible via the proxy.- Returns:
- all accessible servers, keyed by name
 
- 
getListenersCollection<ListenerInfo> getListeners()Get information about all hosts to bind the proxy to.- Returns:
- a list of all hosts to bind to
 
- 
getGroupsGet all groups this player is in.- Parameters:
- player- the player to check
- Returns:
- all the player's groups.
 
- 
getPermissionsGet all permission corresponding to the specified group. The result of this method may or may not be cached, depending on the implementation.- Parameters:
- group- the group to check
- Returns:
- all true permissions for this group
 
 
-