public final class WhitelistUtils extends Object
| Constructor and Description |
|---|
WhitelistUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addPlayer(UUID uuid,
String username)
Whitelist the given Bedrock player.
|
static boolean |
removePlayer(UUID uuid,
String username)
Removes the given Bedrock player from the whitelist.
|
public static boolean addPlayer(UUID uuid, String username)
uuid - the UUID of the Bedrock player to be whitelistedusername - the username of the Bedrock player to be whitelistedpublic static boolean removePlayer(UUID uuid, String username)
uuid - the UUID of the Bedrock player to be removedusername - the username of the Bedrock player to be removed