public class RefreshPingEvent extends Object implements ServerEvent
| Constructor and Description |
|---|
RefreshPingEvent(Server server,
int protocolVersion) |
| Modifier and Type | Method and Description |
|---|---|
GameMode |
getDefaultGamemode() |
int |
getMaxPlayerCount() |
String |
getMotd() |
int |
getPlayerCount() |
int |
getProtocolVersion() |
String |
getSubMotd() |
int |
getTimeout() |
void |
setDefaultGamemode(GameMode defaultGamemode) |
void |
setMaxPlayerCount(int maxPlayerCount) |
void |
setMotd(String motd) |
void |
setPlayerCount(int playerCount) |
void |
setProtocolVersion(int protocolVersion) |
void |
setSubMotd(String subMotd) |
void |
setTimeout(int timeout) |
public RefreshPingEvent(Server server, int protocolVersion)
public String getMotd()
public void setMotd(String motd)
public String getSubMotd()
public void setSubMotd(String subMotd)
public int getMaxPlayerCount()
public void setMaxPlayerCount(int maxPlayerCount)
public int getPlayerCount()
public void setPlayerCount(int playerCount)
public GameMode getDefaultGamemode()
public void setDefaultGamemode(GameMode defaultGamemode)
public int getProtocolVersion()
public void setProtocolVersion(int protocolVersion)
public int getTimeout()
public void setTimeout(int timeout)
Copyright © 2017–2019 NukkitX. All rights reserved.