Class ServerProperties
- java.lang.Object
-
- com.djrapitops.plan.identification.properties.ServerProperties
-
- Direct Known Subclasses:
BukkitServerProperties
,BungeeServerProperties
,NukkitServerProperties
,SpongeServerProperties
,VelocityServerProperties
public class ServerProperties extends java.lang.Object
Class responsible for holding server variable values that do not change without a reload.
-
-
Constructor Summary
Constructors Constructor Description ServerProperties(java.lang.String name, int port, java.lang.String version, java.lang.String implVersion, java.util.function.Supplier<java.lang.String> ip, int maxPlayers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getImplVersion()
java.lang.String
getIp()
Ip string in server.properties.int
getMaxPlayers()
java.lang.String
getName()
int
getPort()
java.lang.String
getVersion()
-
-
-
Method Detail
-
getIp
public java.lang.String getIp()
Ip string in server.properties.- Returns:
- the ip.
-
getName
public java.lang.String getName()
-
getPort
public int getPort()
-
getVersion
public java.lang.String getVersion()
-
getImplVersion
public java.lang.String getImplVersion()
-
getMaxPlayers
public int getMaxPlayers()
-
-