| Modifier and Type | Field and Description |
|---|---|
private CloudConfigLoader |
cloudConfigLoader |
private CloudNetwork |
cloudNetwork |
private ICloudService |
cloudService |
private Document |
config |
private DatabaseManager |
databaseManager |
private static CloudAPI |
instance |
private Logger |
logger
Logger instance set by the respective bootstrap.
|
private int |
memory |
private NetworkConnection |
networkConnection |
private NetworkHandlerProvider |
networkHandlerProvider |
private ServiceId |
serviceId |
private Runnable |
shutdownTask |
| Constructor and Description |
|---|
CloudAPI(CloudConfigLoader loader,
Runnable cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap()
Deprecated.
|
private CloudPlayer |
checkAndGet(String name) |
private CloudPlayer |
checkAndGet(UUID uniqueId) |
void |
copyDirectory(ServerInfo serverInfo,
String directory) |
String |
createServerLogUrl(String serverId)
Creates a custom server log url for one server screen
|
void |
dispatchConsoleMessage(String output)
Dispatch a console message
|
CloudConfigLoader |
getCloudConfigLoader()
Returns the Configuration Loader from this Plugin
|
CloudNetwork |
getCloudNetwork()
Returns a simple cloudnetwork information base
|
Collection<ServerInfo> |
getCloudServers()
Returns the ServerInfo from all CloudGameServers
|
ICloudService |
getCloudService()
Deprecated.
|
Document |
getConfig()
Returns the wingui Config
|
DatabaseManager |
getDatabaseManager()
Returns the Database Manager for the CloudNetDB functions
|
String |
getGroup()
Returns the group name from this instance
|
int |
getGroupInitId()
Returns the Id (Lobby-1 -> "1")
|
static CloudAPI |
getInstance()
Returns the instance of the CloudAPI
|
Logger |
getLogger() |
int |
getMemory()
Returns the memory from this instance calc by Wrapper
|
Document |
getModuleProperties()
Returns all the module properties
|
NetworkConnection |
getNetworkConnection()
Returns the internal network connection to the cloudnet root
|
NetworkHandlerProvider |
getNetworkHandlerProvider()
Returns the network server manager from cloudnet
|
OfflinePlayer |
getOfflinePlayer(String name)
Returns a offline player which registerd or null
|
OfflinePlayer |
getOfflinePlayer(UUID uniqueId)
Returns a offline player which registerd or null
|
int |
getOnlineCount()
Returns the global onlineCount
|
int |
getOnlineCount(String group)
Returns synchronized the OnlineCount from the group
|
CloudPlayer |
getOnlinePlayer(UUID uniqueId)
Retuns a online CloudPlayer on network or null if the player isn't online
|
Collection<CloudPlayer> |
getOnlinePlayers()
Returns all OnlinePlayers on Network
|
PermissionGroup |
getPermissionGroup(String group)
Returns the permission group from the permissions-system
|
PermissionPool |
getPermissionPool()
Returns the permissionPool of the cloudnetwork
|
String |
getPlayerName(UUID uniqueId)
Returns from a registerd Player the name or null if the player doesn't exists
|
UUID |
getPlayerUniqueId(String name)
Returns from a registerd Player the uniqueId or null if the player doesn't exists
|
String |
getPrefix()
Returns the cloud prefix
|
ProxyGroup |
getProxyGroupData(String group)
Returns the ProxyGroup of the parameter
|
Map<String,ProxyGroup> |
getProxyGroupMap() |
Collection<ProxyInfo> |
getProxys()
Returns all proxyInfos on network
|
Collection<ProxyInfo> |
getProxys(String group)
Returns the ProxyInfos from all proxys in the group #group
|
int |
getRegisteredPlayerCount()
Returns the amount of players that are registered in the Cloud
|
private Map<UUID,OfflinePlayer> |
getRegisteredPlayers()
Deprecated.
|
ServerGroup |
getServerGroup(String name)
Returns the ServerGroup from the name or null
|
SimpleServerGroup |
getServerGroupData(String group)
Returns the SimpleServerGroup of the parameter
|
Map<String,SimpleServerGroup> |
getServerGroupMap() |
String |
getServerId()
Returns the serverId (Lobby-1)
|
ServerInfo |
getServerInfo(String serverName)
Returns the ServerInfo from one gameServer where serverName = serverId
|
Collection<ServerInfo> |
getServers()
Returns all servers on network
|
Collection<ServerInfo> |
getServers(String group)
Returns all serverInfos from group #group
|
ServiceId |
getServiceId()
Returns the ServiceId from this instance
|
Runnable |
getShutdownTask()
Returns the shutdownTask which is default init
|
Document |
getStatistics()
Returns a Document with all collected statistics
|
UUID |
getUniqueId()
Returns the UUID from this instance
|
WrapperInfo |
getWrapper(String wrapperId)
Returns one of the wrapper infos
|
String |
getWrapperId()
Returns the wrapperid from this instance
|
Collection<WrapperInfo> |
getWrappers()
Returns all active wrappers on cloudnet
|
private void |
initDefaultHandlers() |
boolean |
isDebug() |
void |
sendCloudCommand(String commandLine)
Dispatch a command on cloudnet-core
|
void |
sendConsoleMessage(DefaultType defaultType,
String serverId,
String commandLine)
Writes into the console of the server/proxy the command line
|
void |
sendCustomSubProxyMessage(String channel,
String message,
Document value)
Sends the data of the custom channel message to all proxys
|
void |
sendCustomSubProxyMessage(String channel,
String message,
Document value,
String serverName)
Sends the data of the custom channel message to proxy server
|
void |
sendCustomSubServerMessage(String channel,
String message,
Document value)
Sends the data of the custom channel message to all server
|
void |
sendCustomSubServerMessage(String channel,
String message,
Document value,
String serverName)
Sends the data of the custom channel message to one server
|
void |
setCloudNetwork(CloudNetwork cloudNetwork)
Internal CloudNetwork update set
|
void |
setCloudService(ICloudService cloudService)
Deprecated.
|
void |
setDebug(boolean debug) |
void |
setLogger(Logger logger) |
void |
shutdown()
Deprecated.
|
void |
startCloudServer(String serverName,
int memory,
boolean priorityStop)
Start a Cloud-Server with those Properties
|
void |
startCloudServer(String serverName,
ServerConfig serverConfig,
int memory,
boolean priorityStop)
Start a Cloud-Server with those Properties
|
void |
startCloudServer(String serverName,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
String[] processPreParameters,
Collection<ServerInstallablePlugin> plugins,
Properties properties,
ServerGroupType serverGroupType)
Start a Cloud-Server with those Properties
|
void |
startCloudServer(WrapperInfo wrapperInfo,
String serverName,
int memory,
boolean priorityStop)
Start a Cloud-Server with those Properties
|
void |
startCloudServer(WrapperInfo wrapperInfo,
String serverName,
ServerConfig serverConfig,
int memory,
boolean priorityStop)
Start a Cloud-Server with those Properties
|
void |
startCloudServer(WrapperInfo wrapperInfo,
String serverName,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
String[] processPreParameters,
Collection<ServerInstallablePlugin> plugins,
Properties properties,
ServerGroupType serverGroupType)
Start a Cloud-Server with those Properties
|
void |
startGameServer(SimpleServerGroup simpleServerGroup)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
boolean priorityStop)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
boolean priorityStop,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
boolean priorityStop,
Template template)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
boolean priorityStop,
Template template,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Properties properties)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Properties properties,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Properties properties,
Template template)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Properties properties,
Template template,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Template template)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Template template,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
String[] processParameters,
Template template,
String customServerName,
boolean onlineMode,
boolean priorityStop,
Properties properties,
String url,
Collection<ServerInstallablePlugin> plugins)
Start a new game server with full parameters
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
String[] processParameters,
Template template,
String customServerName,
boolean onlineMode,
boolean priorityStop,
Properties properties,
String url,
Collection<ServerInstallablePlugin> plugins,
String serverId)
Start a new game server with full parameters
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
Template template)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
Template template,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
String serverId)
Start a game server
|
void |
startGameServer(SimpleServerGroup simpleServerGroup,
Template template)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
boolean priorityStop)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Properties properties)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
boolean priorityStop,
Properties properties,
Template template)
Start a game server
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
ServerConfig serverConfig,
int memory,
String[] processParameters,
Template template,
String customServerName,
boolean onlineMode,
boolean priorityStop,
Properties properties,
String url,
Collection<ServerInstallablePlugin> plugins)
Start a new game server with full parameters
|
void |
startGameServer(WrapperInfo wrapperInfo,
SimpleServerGroup simpleServerGroup,
String serverId,
ServerConfig serverConfig,
int memory,
String[] processParameters,
Template template,
String customServerName,
boolean onlineMode,
boolean priorityStop,
Properties properties,
String url,
Collection<ServerInstallablePlugin> plugins)
Start a new game server with full parameters
|
void |
startProxy(ProxyGroup proxyGroup)
Start a proxy server with a group
|
void |
startProxy(ProxyGroup proxyGroup,
int memory,
String[] processParameters)
Start a proxy server with a group
|
void |
startProxy(ProxyGroup proxyGroup,
int memory,
String[] processParameters,
Document document)
Start a proxy server with a group
|
void |
startProxy(ProxyGroup proxyGroup,
int memory,
String[] processParameters,
String url,
Collection<ServerInstallablePlugin> plugins,
Document properties)
Start a proxy server with a group
|
void |
startProxy(WrapperInfo wrapperInfo,
ProxyGroup proxyGroup)
Start a proxy server with a group
|
void |
startProxy(WrapperInfo wrapperInfo,
ProxyGroup proxyGroup,
int memory,
String[] processParameters)
Start a proxy server with a group
|
void |
startProxy(WrapperInfo wrapperInfo,
ProxyGroup proxyGroup,
int memory,
String[] processParameters,
Document document)
Start a proxy server with a group
|
void |
startProxy(WrapperInfo wrapperInfo,
ProxyGroup proxyGroup,
int memory,
String[] processParameters,
String url,
Collection<ServerInstallablePlugin> plugins,
Document properties)
Start a proxy server with a group
|
void |
stopProxy(String proxyId)
Stop a BungeeCord proxy server with the id @proxyId
|
void |
stopServer(String serverId)
Stop a game server with the parameter of the serverId
|
CloudAPI |
update(ProxyInfo proxyInfo) |
CloudAPI |
update(ServerInfo serverInfo) |
void |
updatePermissionGroup(PermissionGroup permissionGroup)
Update the permission group
|
void |
updatePlayer(CloudPlayer cloudPlayer)
Update the CloudPlayer objective
|
void |
updatePlayer(OfflinePlayer offlinePlayer)
Updates a offlinePlayer Objective on the database
|
void |
updateProxyGroup(ProxyGroup proxyGroup)
Update the proxy group
|
void |
updateServerGroup(ServerGroup serverGroup)
Update the server group
|
private static CloudAPI instance
private Document config
private ServiceId serviceId
private CloudConfigLoader cloudConfigLoader
private NetworkConnection networkConnection
private int memory
private Runnable shutdownTask
private ICloudService cloudService
private CloudNetwork cloudNetwork
private NetworkHandlerProvider networkHandlerProvider
private DatabaseManager databaseManager
private Logger logger
public CloudAPI(CloudConfigLoader loader, Runnable cancelTask)
private void initDefaultHandlers()
public static CloudAPI getInstance()
@Deprecated public void bootstrap()
@Deprecated public void shutdown()
public CloudAPI update(ServerInfo serverInfo)
public int getOnlineCount(String group)
public Collection<ServerInfo> getServers(String group)
group - @Deprecated public ICloudService getCloudService()
@Deprecated public void setCloudService(ICloudService cloudService)
public CloudConfigLoader getCloudConfigLoader()
public Document getConfig()
public CloudNetwork getCloudNetwork()
public void setCloudNetwork(CloudNetwork cloudNetwork)
cloudNetwork - public NetworkHandlerProvider getNetworkHandlerProvider()
public NetworkConnection getNetworkConnection()
public String getPrefix()
public int getMemory()
public Runnable getShutdownTask()
public ServiceId getServiceId()
public DatabaseManager getDatabaseManager()
public String getGroup()
public UUID getUniqueId()
public String getServerId()
public int getGroupInitId()
public String getWrapperId()
public SimpleServerGroup getServerGroupData(String group)
group - public ProxyGroup getProxyGroupData(String group)
group - public int getOnlineCount()
public int getRegisteredPlayerCount()
public Document getModuleProperties()
public PermissionPool getPermissionPool()
public Collection<WrapperInfo> getWrappers()
public PermissionGroup getPermissionGroup(String group)
public WrapperInfo getWrapper(String wrapperId)
wrapperId - public void sendCustomSubProxyMessage(String channel, String message, Document value)
public void sendCustomSubServerMessage(String channel, String message, Document value)
public void sendCustomSubServerMessage(String channel, String message, Document value, String serverName)
public void sendCustomSubProxyMessage(String channel, String message, Document value, String serverName)
public void updateServerGroup(ServerGroup serverGroup)
serverGroup - public void updatePermissionGroup(PermissionGroup permissionGroup)
public void updateProxyGroup(ProxyGroup proxyGroup)
proxyGroup - public void sendCloudCommand(String commandLine)
public void dispatchConsoleMessage(String output)
output - public void sendConsoleMessage(DefaultType defaultType, String serverId, String commandLine)
defaultType - serverId - commandLine - public Map<String,SimpleServerGroup> getServerGroupMap()
public Map<String,ProxyGroup> getProxyGroupMap()
public void stopServer(String serverId)
serverId - the server-id to stoppublic void stopProxy(String proxyId)
public String createServerLogUrl(String serverId)
public void startProxy(ProxyGroup proxyGroup)
proxyGroup - public void startProxy(ProxyGroup proxyGroup, int memory, String[] processParameters)
proxyGroup - public void startProxy(ProxyGroup proxyGroup, int memory, String[] processParameters, String url, Collection<ServerInstallablePlugin> plugins, Document properties)
proxyGroup - public void startProxy(ProxyGroup proxyGroup, int memory, String[] processParameters, Document document)
proxyGroup - public void startProxy(WrapperInfo wrapperInfo, ProxyGroup proxyGroup)
proxyGroup - public void startProxy(WrapperInfo wrapperInfo, ProxyGroup proxyGroup, int memory, String[] processParameters)
proxyGroup - public void startProxy(WrapperInfo wrapperInfo, ProxyGroup proxyGroup, int memory, String[] processParameters, String url, Collection<ServerInstallablePlugin> plugins, Document properties)
proxyGroup - public void startProxy(WrapperInfo wrapperInfo, ProxyGroup proxyGroup, int memory, String[] processParameters, Document document)
proxyGroup - public void startGameServer(SimpleServerGroup simpleServerGroup)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, boolean priorityStop)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Properties properties)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, String[] processParameters, Template template, String customServerName, boolean onlineMode, boolean priorityStop, Properties properties, String url, Collection<ServerInstallablePlugin> plugins)
simpleServerGroup - serverConfig - memory - processParameters - template - onlineMode - priorityStop - properties - url - plugins - public void startGameServer(SimpleServerGroup simpleServerGroup, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, boolean priorityStop, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Properties properties, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, String[] processParameters, Template template, String customServerName, boolean onlineMode, boolean priorityStop, Properties properties, String url, Collection<ServerInstallablePlugin> plugins, String serverId)
simpleServerGroup - serverConfig - memory - processParameters - template - onlineMode - priorityStop - properties - url - plugins - public void startGameServer(SimpleServerGroup simpleServerGroup, Template template)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, Template template)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, boolean priorityStop, Template template)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Template template)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Properties properties, Template template)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, Template template, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, boolean priorityStop, Template template, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Template template, String serverId)
simpleServerGroup - public void startGameServer(SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Properties properties, Template template, String serverId)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, ServerConfig serverConfig)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, boolean priorityStop)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Properties properties)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, String[] processParameters, Template template, String customServerName, boolean onlineMode, boolean priorityStop, Properties properties, String url, Collection<ServerInstallablePlugin> plugins)
simpleServerGroup - serverConfig - memory - processParameters - template - onlineMode - priorityStop - properties - url - plugins - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, ServerConfig serverConfig, int memory, boolean priorityStop, Properties properties, Template template)
simpleServerGroup - public void startGameServer(WrapperInfo wrapperInfo, SimpleServerGroup simpleServerGroup, String serverId, ServerConfig serverConfig, int memory, String[] processParameters, Template template, String customServerName, boolean onlineMode, boolean priorityStop, Properties properties, String url, Collection<ServerInstallablePlugin> plugins)
simpleServerGroup - serverConfig - memory - processParameters - template - onlineMode - priorityStop - properties - url - plugins - public void startCloudServer(WrapperInfo wrapperInfo, String serverName, int memory, boolean priorityStop)
public void startCloudServer(WrapperInfo wrapperInfo, String serverName, ServerConfig serverConfig, int memory, boolean priorityStop)
public void startCloudServer(WrapperInfo wrapperInfo, String serverName, ServerConfig serverConfig, int memory, boolean priorityStop, String[] processPreParameters, Collection<ServerInstallablePlugin> plugins, Properties properties, ServerGroupType serverGroupType)
public void startCloudServer(String serverName, int memory, boolean priorityStop)
public void startCloudServer(String serverName, ServerConfig serverConfig, int memory, boolean priorityStop)
public void startCloudServer(String serverName, ServerConfig serverConfig, int memory, boolean priorityStop, String[] processPreParameters, Collection<ServerInstallablePlugin> plugins, Properties properties, ServerGroupType serverGroupType)
public void updatePlayer(CloudPlayer cloudPlayer)
cloudPlayer - public void updatePlayer(OfflinePlayer offlinePlayer)
offlinePlayer - public Collection<ServerInfo> getServers()
public Collection<ServerInfo> getCloudServers()
public Collection<ProxyInfo> getProxys()
public Collection<ProxyInfo> getProxys(String group)
group - public Collection<CloudPlayer> getOnlinePlayers()
public CloudPlayer getOnlinePlayer(UUID uniqueId)
private CloudPlayer checkAndGet(UUID uniqueId)
public OfflinePlayer getOfflinePlayer(UUID uniqueId)
uniqueId - public OfflinePlayer getOfflinePlayer(String name)
name - private CloudPlayer checkAndGet(String name)
public ServerGroup getServerGroup(String name)
name - public UUID getPlayerUniqueId(String name)
public String getPlayerName(UUID uniqueId)
public ServerInfo getServerInfo(String serverName)
public Document getStatistics()
public void copyDirectory(ServerInfo serverInfo, String directory)
@Deprecated private Map<UUID,OfflinePlayer> getRegisteredPlayers()
public Logger getLogger()
public void setLogger(Logger logger)
public boolean isDebug()
public void setDebug(boolean debug)
Copyright © 2020. All rights reserved.