public interface TimoCloudUniversalAPI
TimoCloudAPI.getUniversalAPI() to get an instance of this class| Modifier and Type | Method and Description |
|---|---|
APIRequestFuture<ProxyGroupObject> |
createProxyGroup(ProxyGroupProperties properties) |
APIRequestFuture<ServerGroupObject> |
createServerGroup(ServerGroupProperties properties) |
BaseObject |
getBase(java.lang.String identifier) |
java.util.Collection<BaseObject> |
getBases() |
CordObject |
getCord(java.lang.String identifier) |
java.util.Collection<CordObject> |
getCords() |
PlayerObject |
getPlayer(java.lang.String name) |
PlayerObject |
getPlayer(java.util.UUID uuid) |
java.util.Collection<PlayerObject> |
getPlayers() |
java.util.Collection<ProxyObject> |
getProxies() |
ProxyObject |
getProxy(java.lang.String identifier)
Use this to get a proxy by name
|
ProxyGroupObject |
getProxyGroup(java.lang.String identifier)
Use this to get a proxy group by name
|
java.util.Collection<ProxyGroupObject> |
getProxyGroups() |
ServerObject |
getServer(java.lang.String identifier)
Use this to get a server by name
|
ServerGroupObject |
getServerGroup(java.lang.String identifier)
Use this to get a server group by name
|
java.util.Collection<ServerGroupObject> |
getServerGroups() |
java.util.Collection<ServerObject> |
getServers() |
APIRequestFuture<java.lang.Void> |
registerBase(java.lang.String publickey)
Give a base the permission to connect to the core.
|
java.util.Collection<ServerGroupObject> getServerGroups()
ServerGroupObject which contains all server groupsServerGroupObject getServerGroup(java.lang.String identifier)
identifier - The group's name or id, case-sensitiveServerGroupObject corresponding to the given nameServerObject getServer(java.lang.String identifier)
identifier - The server's name or id, case-sensitiveServerObject corresponding to the given name or idjava.util.Collection<ServerObject> getServers()
java.util.Collection<ProxyGroupObject> getProxyGroups()
ProxyGroupObject containing all proxy groupsProxyGroupObject getProxyGroup(java.lang.String identifier)
identifier - The group's name or id, case-sensitiveServerGroupObject corresponding to the given nameProxyObject getProxy(java.lang.String identifier)
identifier - The proxy's name or idServerObject corresponding to the given name or idjava.util.Collection<ProxyObject> getProxies()
java.util.Collection<BaseObject> getBases()
BaseObject getBase(java.lang.String identifier)
identifier - The base's name or id, case-sensitiveBaseObject corresponding to the given namejava.util.Collection<CordObject> getCords()
CordObjectsCordObject getCord(java.lang.String identifier)
identifier - The cord's name or id, case-sensitiveCordObject corresponding to the given namePlayerObject getPlayer(java.util.UUID uuid)
uuid - The player's Minecraft UUIDPlayerObject getPlayer(java.lang.String name)
name - The player's Minecraft namejava.util.Collection<PlayerObject> getPlayers()
APIRequestFuture<java.lang.Void> registerBase(java.lang.String publickey)
publickey - The publickey that should get permission to connect to the core (Base64 encoding)APIRequestFuture<ServerGroupObject> createServerGroup(ServerGroupProperties properties)
properties - The group's propertiesAPIRequestFuture<ProxyGroupObject> createProxyGroup(ProxyGroupProperties properties)
properties - The group's properties