public interface ProxyObject extends IdentifiableObject
| Modifier and Type | Method and Description |
|---|---|
APIRequestFuture<Void> |
createCloudflareRecords()
create Cloudflare records for the proxy only use if you have unregistered first
|
APIRequestFuture<Void> |
deleteCloudflareRecords()
delete Cloudflare records for the proxy
|
APIRequestFuture<Void> |
executeCommand(String command)
Executes the given command as ConsoleSender on the proxy
|
BaseObject |
getBase() |
ProxyGroupObject |
getGroup() |
String |
getId() |
InetAddress |
getIpAddress() |
APIRequestFuture<LogFractionObject> |
getLogFraction(long startTime) |
APIRequestFuture<LogFractionObject> |
getLogFraction(long startTime,
long endTime) |
MessageClientAddress |
getMessageAddress() |
String |
getName() |
int |
getOnlinePlayerCount() |
List<PlayerObject> |
getOnlinePlayers() |
int |
getPort() |
InetSocketAddress |
getSocketAddress() |
void |
sendPluginMessage(PluginMessage message)
Send a plugin message to the proxy
|
APIRequestFuture<Void> |
stop()
Stops the proxy
|
String getName()
getName in interface IdentifiableObjectString getId()
getId in interface IdentifiableObjectProxyGroupObject getGroup()
List<PlayerObject> getOnlinePlayers()
int getOnlinePlayerCount()
BaseObject getBase()
InetSocketAddress getSocketAddress()
InetAddress getIpAddress()
int getPort()
MessageClientAddress getMessageAddress()
APIRequestFuture<Void> executeCommand(String command)
command - Without leading '/'APIRequestFuture<Void> stop()
APIRequestFuture<Void> createCloudflareRecords()
APIRequestFuture<Void> deleteCloudflareRecords()
void sendPluginMessage(PluginMessage message)
message - The message which shall be sentAPIRequestFuture<LogFractionObject> getLogFraction(long startTime, long endTime)
startTime - The timestamp at which the record of the log should start (0 if you want all log entries since the proxy's start)endTime - The timestamp at which the record of the log should endAPIRequestFuture<LogFractionObject> getLogFraction(long startTime)
startTime - The timestamp at which the record of the log should start (0 if you want all log entries since the proxy's start)Copyright © 2025. All rights reserved.