@ThreadSafe public interface Server
Modifier and Type | Method and Description |
---|---|
Config |
config()
The server configuration file
|
Console |
console()
The server's console
|
PingInfo |
info()
Gets the server's display information on the server list
|
InetAddress |
ip()
Gets the Internet Address of this server
|
TridentLogger |
logger()
Gets the server's console logger for the this class
|
int |
port()
Gets the port the server currently runs on
|
void |
shutdown()
Closes the connections of the server, disconnects all clients, and unloads everything, then exits the JVM.
|
String |
version()
Gets the version of Trident that the server is currently running
|
int port()
InetAddress ip()
TridentLogger logger()
PingInfo info()
String version()
void shutdown()
Copyright © 2016. All rights reserved.