@ThreadSafe public interface PlayerStatus
Modifier and Type | Method and Description |
---|---|
void |
ban(UUID uuid)
Bans the player given the UUID
|
void |
ipBan(InetSocketAddress address)
IP bans the given address
|
boolean |
isBanned(UUID uuid)
Checks the ban status of the player with the given UUID
|
boolean |
isIpBanned(InetSocketAddress address)
Checks if the IP has been banned from the server
|
boolean |
isOpped(UUID uuid)
Checks if the player owning the UUID has been given operator status
|
boolean |
isWhitelisted(UUID uuid)
Checks if the player owning the UUID is whitelisted
|
void |
op(UUID uuid)
Ops the given UUID
|
void |
whitelist(UUID uuid)
Whitelists the UUID provided
|
boolean isBanned(UUID uuid)
uuid
- the uuid to checktrue
if the player is bannedboolean isIpBanned(InetSocketAddress address)
address
- the IP to checktrue
if the IP has been bannedboolean isOpped(UUID uuid)
uuid
- the uuid to checktrue
if the UUID is oppedboolean isWhitelisted(UUID uuid)
uuid
- the uuid to checktrue
if the player is whitelistedvoid ban(UUID uuid)
uuid
- the uuid of the player to banvoid ipBan(InetSocketAddress address)
address
- the IP to banCopyright © 2016. All rights reserved.