Interface PlayerManager
public interface PlayerManager
The players of the server: who is online, every known identity, and who may join.
- Since:
- 0.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbans()Gets the service holding the players who are not allowed to connect.intcount()Gets the current online player count.Looks up an online player by name, ignoring case.Looks up an online player by identity.offline()Gets the directory of every identity the server knows of, connected or not.Collection<? extends Player> online()Gets the players currently connected.Gets the service holding the players allowed to connect while the whitelist is enforced.
-
Method Details
-
online
Collection<? extends Player> online()Gets the players currently connected.- Returns:
- the online players
- Since:
- 0.1.0
-
count
-
get
-
get
-
offline
Gets the directory of every identity the server knows of, connected or not.- Returns:
- the offline player directory
- Since:
- 0.1.0
-
bans
Gets the service holding the players who are not allowed to connect.- Returns:
- the ban service
- Since:
- 0.1.0
-
whitelist
Gets the service holding the players allowed to connect while the whitelist is enforced.- Returns:
- the whitelist service
- Since:
- 0.1.0
-