public class ServerVariableHolder extends Object
Constructor and Description |
---|
ServerVariableHolder(net.md_5.bungee.api.ProxyServer server)
Constructor, grabs the variables.
|
ServerVariableHolder(org.bukkit.Server server)
Constructor, grabs the variables.
|
Modifier and Type | Method and Description |
---|---|
String |
getImplVersion() |
String |
getIp()
Ip string in server.properties.
|
int |
getMaxPlayers() |
String |
getName() |
int |
getPort() |
String |
getVersion() |
boolean |
isUsingPaper()
Returns if the server is using PaperSpigot.
|
public ServerVariableHolder(org.bukkit.Server server)
server
- instance the plugin is running on.public ServerVariableHolder(net.md_5.bungee.api.ProxyServer server)
server
- instance the plugin is running on.public String getIp()
public boolean isUsingPaper()
public String getName()
public int getPort()
public String getVersion()
public String getImplVersion()
public int getMaxPlayers()
Copyright © 2017. All rights reserved.