#679: Add getHideOnlinePlayers

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot
2021-11-22 22:30:30 -03:00
parent a05a566ae7
commit f3fd09df80
2 changed files with 16 additions and 0 deletions

View File

@@ -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.
*