Hey! I made the hashmap static and it works!
Here's the final code:
After the tpa command it prints the right uuids, so that seems to be working. When I try to print the same after the tpaccept command, nothing...
Like this? System.out.println(requests.get(player.getUniqueId()));
It just prints null, so there must be something wrong when I'm adding the...
It stops nowhere. It happens exactly as it should.
Yes, already tried. The issue might have something to do with adding the player to hashmap..?
I see, stupid mistake. Changed it, here's the code:
Okay, gonna change it and then try to use uuids. But that doesn't fix the first problem.
[20:54:19 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'tpaccept' in plugin Colonia v1.0
Doesn't work. Still got the same problem.
Here's the actuall code:
I tried it now with uuids and player names. Both didn't worked.
Hey, I'm trying to make a "tpa" plugin, so a player sends a teleportation request to target and the target can accept the teleport request with...
What I want:
I would like a plugin where you can prevent certain villager trades, like the mending book. This would be great for a survival world....
I got 2 problems with betterchat.
The first one is that I can't color names in the tablist. I doesn't matter which group it is.Of course...
Separate names with a comma.