public interface ProxyGroupObject extends IdentifiableObject
Modifier and Type | Method and Description |
---|---|
APIRequestFuture<java.lang.Void> |
delete()
Attention: This permanently deletes the proxy group from the network
|
BaseObject |
getBase() |
java.util.Collection<java.lang.String> |
getHostNames()
If using multiple proxies and TimoCloudCord, the hostnames specify which hostnames belong to this proxy group
|
java.util.Collection<java.lang.String> |
getJavaParameters() |
int |
getKeepFreeSlots() |
int |
getMaxAmount() |
int |
getMaxPlayerCount() |
int |
getMaxPlayerCountPerProxy() |
int |
getMinAmount() |
java.lang.String |
getMotd() |
java.lang.String |
getName() |
int |
getOnlinePlayerCount() |
int |
getPriority() |
java.util.Collection<ProxyObject> |
getProxies() |
ProxyChooseStrategy |
getProxyChooseStrategy()
The ProxyChooseStrategy tells TimoCloudCord what proxy it should choose when a player wants to join a proxy group
|
int |
getRam() |
java.util.Collection<ServerGroupObject> |
getServerGroups() |
boolean |
isStatic()
If a group is static, servers will not be reset after restart.
|
APIRequestFuture<java.lang.Void> |
setBase(BaseObject value)
Changes the base proxies of this group shall be started by
|
APIRequestFuture<java.lang.Void> |
setHostNames(java.util.Collection<java.lang.String> value)
Changes the group's hostnames
|
APIRequestFuture<java.lang.Void> |
setJavaParameters(java.util.Collection<java.lang.String> value)
Changes the java start parameters
|
APIRequestFuture<java.lang.Void> |
setKeepFreeSlots(int value)
Changes the group's amount of slots which should be kept free
|
APIRequestFuture<java.lang.Void> |
setMaxAmount(int value)
Changes the group's maximum instance amount
|
APIRequestFuture<java.lang.Void> |
setMaxPlayerCount(int value)
Changes the group's maximum player count
|
APIRequestFuture<java.lang.Void> |
setMaxPlayerCountPerProxy(int value)
Changes the group's maximum player count per proxy
|
APIRequestFuture<java.lang.Void> |
setMinAmount(int value)
Changes the group's minimum instance amount
|
APIRequestFuture<java.lang.Void> |
setMotd(java.lang.String value)
Changes the group's motd
|
APIRequestFuture<java.lang.Void> |
setPriority(int value)
Changes the group's priority
|
APIRequestFuture<java.lang.Void> |
setProxyChooseStrategy(ProxyChooseStrategy value)
Changes the group's proxy choose strategy
|
APIRequestFuture<java.lang.Void> |
setRam(int value)
Changes the group's ram
|
APIRequestFuture<java.lang.Void> |
setStatic(boolean value)
Changes whether the group is static or not.
|
getId
java.lang.String getName()
getName
in interface IdentifiableObject
java.util.Collection<ProxyObject> getProxies()
int getOnlinePlayerCount()
int getMaxPlayerCount()
APIRequestFuture<java.lang.Void> setMaxPlayerCount(int value)
int getMaxPlayerCountPerProxy()
APIRequestFuture<java.lang.Void> setMaxPlayerCountPerProxy(int value)
int getKeepFreeSlots()
APIRequestFuture<java.lang.Void> setKeepFreeSlots(int value)
int getMinAmount()
APIRequestFuture<java.lang.Void> setMinAmount(int value)
int getMaxAmount()
APIRequestFuture<java.lang.Void> setMaxAmount(int value)
int getRam()
APIRequestFuture<java.lang.Void> setRam(int value)
value
- The maximum amount of ram a proxy of this group may usejava.lang.String getMotd()
APIRequestFuture<java.lang.Void> setMotd(java.lang.String value)
boolean isStatic()
APIRequestFuture<java.lang.Void> setStatic(boolean value)
int getPriority()
APIRequestFuture<java.lang.Void> setPriority(int value)
java.util.Collection<ServerGroupObject> getServerGroups()
BaseObject getBase()
APIRequestFuture<java.lang.Void> setBase(BaseObject value)
value
- If null, a base will be selected dynamically whenever a new proxy gets startedProxyChooseStrategy getProxyChooseStrategy()
APIRequestFuture<java.lang.Void> setProxyChooseStrategy(ProxyChooseStrategy value)
java.util.Collection<java.lang.String> getHostNames()
APIRequestFuture<java.lang.Void> setHostNames(java.util.Collection<java.lang.String> value)
APIRequestFuture<java.lang.Void> delete()
java.util.Collection<java.lang.String> getJavaParameters()
APIRequestFuture<java.lang.Void> setJavaParameters(java.util.Collection<java.lang.String> value)