mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 02:22:12 +01:00
parent
a05a566ae7
commit
f3fd09df80
2 changed files with 16 additions and 0 deletions
|
@ -912,6 +912,15 @@ public final class Bukkit {
|
||||||
server.setSpawnRadius(value);
|
server.setSpawnRadius(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets whether the Server hide online players in server status.
|
||||||
|
*
|
||||||
|
* @return true if the server hide online players, false otherwise
|
||||||
|
*/
|
||||||
|
public static boolean getHideOnlinePlayers() {
|
||||||
|
return server.getHideOnlinePlayers();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets whether the Server is in online mode or not.
|
* Gets whether the Server is in online mode or not.
|
||||||
*
|
*
|
||||||
|
|
|
@ -768,6 +768,13 @@ public interface Server extends PluginMessageRecipient {
|
||||||
*/
|
*/
|
||||||
public void setSpawnRadius(int value);
|
public void setSpawnRadius(int value);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets whether the Server hide online players in server status.
|
||||||
|
*
|
||||||
|
* @return true if the server hide online players, false otherwise
|
||||||
|
*/
|
||||||
|
public boolean getHideOnlinePlayers();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets whether the Server is in online mode or not.
|
* Gets whether the Server is in online mode or not.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue