parent
4e0abeaedb
commit
3d755c36f5
2 changed files with 32 additions and 0 deletions
|
@ -139,6 +139,13 @@ public interface Server extends PluginMessageRecipient {
|
|||
*/
|
||||
public int getMaxPlayers();
|
||||
|
||||
/**
|
||||
* Set the maximum amount of players allowed to be logged in at once.
|
||||
*
|
||||
* @param maxPlayers The maximum amount of concurrent players
|
||||
*/
|
||||
void setMaxPlayers(int maxPlayers);
|
||||
|
||||
/**
|
||||
* Get the game port that the server runs on.
|
||||
*
|
||||
|
@ -1301,6 +1308,13 @@ public interface Server extends PluginMessageRecipient {
|
|||
@NotNull
|
||||
String getMotd();
|
||||
|
||||
/**
|
||||
* Set the message that is displayed on the server list.
|
||||
*
|
||||
* @param motd The message to be displayed
|
||||
*/
|
||||
void setMotd(@NotNull String motd);
|
||||
|
||||
/**
|
||||
* Gets the default message that is displayed when the server is stopped.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue