mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
parent
a05a566ae7
commit
f3fd09df80
@ -912,6 +912,15 @@ public final class Bukkit {
|
||||
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.
|
||||
*
|
||||
|
@ -768,6 +768,13 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user