@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user