Class WhitelistUtils
java.lang.Object
org.geysermc.floodgate.spigot.util.WhitelistUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WhitelistUtils
public WhitelistUtils()
-
-
Method Details
-
addPlayer
Whitelist the given Bedrock player.- Parameters:
uuid- the UUID of the Bedrock player to be whitelistedusername- the username of the Bedrock player to be whitelisted- Returns:
- true if the player has been whitelisted, false if the player is already whitelisted
-
removePlayer
Removes the given Bedrock player from the whitelist.- Parameters:
uuid- the UUID of the Bedrock player to be removedusername- the username of the Bedrock player to be removed- Returns:
- true if the player has been removed from the whitelist, false if the player wasn't whitelisted
-