Constructor and Description |
---|
PingInfo() |
Modifier and Type | Method and Description |
---|---|
int |
maxPlayers()
Gets the maximum number of players allowed on the server
|
String |
motd()
A string containing the current broadcast MOTD of the server
|
BufferedImage |
motdImage()
Gets the
BufferedImage that represents the Motd picture sent to clients |
File |
motdPicture()
Returns the
File that represents the picture displayed next to the server listing on clients |
int |
playerCount()
Obtains the amount of players on the server
|
int |
setMotdImage(BufferedImage image)
Sets the MOTD image sent to clients, may or may not take a server restart to take effect
|
String |
version()
Obtains the highest minecraft server version which supports clients
|
public PingInfo()
public String motd()
public File motdPicture()
File
that represents the picture displayed next to the server listing on clientsfor the representing the image sent to clients
public BufferedImage motdImage()
BufferedImage
that represents the Motd picture sent to clientsfor the file itself
public String version()
public int setMotdImage(BufferedImage image)
image
- the image to set it topublic int maxPlayers()
public int playerCount()
Copyright © 2016. All rights reserved.