Class PrefixManager
java.lang.Object
nl.minetopiasdb.api.playerdata.PrefixManager
Class for handling multiple prefixes with the /prefix menu.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a prefix to a playerstatic PrefixManagerGet the instance of PrefixHandler.getPrefixes(UUID uuid) Get a list of prefixes the provided player has access toovoidremoveFromCache(UUID uuid) Remove a UUID from cachevoidremovePrefix(UUID uuid, String prefix) Remove a prefix from a playervoidRemove all the prefixes a player has.voidSwap all prefixes from UUID a to UUID b
-
Constructor Details
-
PrefixManager
public PrefixManager()
-
-
Method Details
-
getInstance
Get the instance of PrefixHandler.- Returns:
- instance of PrefixHandler.
-
getPrefixes
-
removeFromCache
-
addPrefix
-
removePrefix
-
reset
Remove all the prefixes a player has.- Parameters:
uuid- UUID of the player.
-
swap
-