public class CloudProxy extends Object implements ICloudService, PlayerChatExecutor
| Modifier and Type | Class and Description |
|---|---|
private class |
CloudProxy.NetworkHandlerImpl |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,de.dytanic.cloudnet.lib.server.info.ServerInfo> |
cachedServers |
private Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> |
cloudPlayers |
private static CloudProxy |
instance |
private ProxiedBootstrap |
proxiedBootstrap |
private de.dytanic.cloudnet.lib.server.ProxyProcessMeta |
proxyProcessMeta |
| Constructor and Description |
|---|
CloudProxy(ProxiedBootstrap proxiedBootstrap,
CloudAPI cloudAPI) |
| Modifier and Type | Method and Description |
|---|---|
String |
fallback(net.md_5.bungee.api.connection.ProxiedPlayer cloudPlayer) |
String |
fallback(net.md_5.bungee.api.connection.ProxiedPlayer cloudPlayer,
String kickedFrom) |
String |
fallbackOnEnabledKick(net.md_5.bungee.api.connection.ProxiedPlayer cloudPlayer,
String group,
String kickedFrom) |
de.dytanic.cloudnet.lib.player.CloudPlayer |
getCachedPlayer(String name) |
de.dytanic.cloudnet.lib.player.CloudPlayer |
getCachedPlayer(UUID uniqueId) |
Map<String,de.dytanic.cloudnet.lib.server.info.ServerInfo> |
getCachedServers()
Returns the Servers on cloudnet
|
Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> |
getCloudPlayers()
Returns the cloudPlayers online
|
static CloudProxy |
getInstance()
Returns the instance which respens the api
|
net.md_5.bungee.api.plugin.Plugin |
getPlugin()
Returns the API of the plugin instance
|
de.dytanic.cloudnet.lib.server.ProxyGroup |
getProxyGroup() |
Map<String,de.dytanic.cloudnet.lib.server.info.ServerInfo> |
getServers() |
List<String> |
getServers(String group) |
boolean |
isProxyInstance() |
void |
update() |
void |
updateAsync() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendMessage, sendMessageprivate static CloudProxy instance
private ProxiedBootstrap proxiedBootstrap
private de.dytanic.cloudnet.lib.server.ProxyProcessMeta proxyProcessMeta
public CloudProxy(ProxiedBootstrap proxiedBootstrap, CloudAPI cloudAPI)
public de.dytanic.cloudnet.lib.server.ProxyGroup getProxyGroup()
public String fallback(net.md_5.bungee.api.connection.ProxiedPlayer cloudPlayer)
public static CloudProxy getInstance()
public Map<String,de.dytanic.cloudnet.lib.server.info.ServerInfo> getCachedServers()
public String fallback(net.md_5.bungee.api.connection.ProxiedPlayer cloudPlayer, String kickedFrom)
public String fallbackOnEnabledKick(net.md_5.bungee.api.connection.ProxiedPlayer cloudPlayer, String group, String kickedFrom)
public void updateAsync()
public void update()
public Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> getCloudPlayers()
public net.md_5.bungee.api.plugin.Plugin getPlugin()
public de.dytanic.cloudnet.lib.player.CloudPlayer getCachedPlayer(UUID uniqueId)
getCachedPlayer in interface ICloudServicepublic de.dytanic.cloudnet.lib.player.CloudPlayer getCachedPlayer(String name)
getCachedPlayer in interface ICloudServicepublic boolean isProxyInstance()
isProxyInstance in interface ICloudServicepublic Map<String,de.dytanic.cloudnet.lib.server.info.ServerInfo> getServers()
getServers in interface ICloudServiceCopyright © 2020. All rights reserved.