When I tried to send to the player ActionBar it shows me an error: Caused by: java.lang.NullPointerException: Cannot invoke...
So: public PlayerType getPlayerType(Player player) { return playerList.get(player.getUniqueId()); } if (playerManager.getPlayerType(player)...
Do you mean it like this? So if the value is for example BRONZE it will return true. public boolean getPlayerType(Player player, PlayerType...
Ohh, that's right. So something like that? private final HashMap<UUID, PlayerType> playerList = new HashMap<>(); public void...
I am using HashSets to store the UUIDs of the players. This is what addPlayer(player) is used for. private Set<UUID> bronzes = new HashSet<>();...
Hello, I need advice on how to get a player type using enum. I am trying to make 3 groups for players (BRONZE) (IRON) (GOLD). I wanted to do this...
Hello, I want to ask how can I implement support for the SuperVanish plugin in my plugin? Specifically, I need to change the Join and Quit...
Ah, SOLVED!
Ah thank you, it works. :)
Hello, I need help with a plugin that removes the owner of the wolf and the wolf can be tamed again by anyone else. Now I have this code but it...
Separate names with a comma.