First make sure your event is properly registered. Then, instead of using the canSee() method use player.hidePlayer(players);inside your for loop...
I second this
From what I've heard this is a great series of tutorials -(TheBCBroz) https://www.youtube.com/playlist?list=PL4A0C6138F3F5AA41
You will want to check first if your instance is properly returning to you your hash maps. Output to console your hash map. I am guessing your...
You will want to check if the block at the location you have stored is of type sign Location location = new Location(arena.getWorld(), x, y,...
VanHaggen https://forums.bukkit.org/threads/tutorial-how-to-calculate-vectors.138849/ Heres a fixed link
VanHaggen I am guessing what you want to do is apply a vector to the block. Take a look at vectors here. You can then set the velocity of the...
VanHaggen Move this to its own thread and I will help you solve this
Ah I knew I was missing something that he needed, thanks. For anyone that just needs to restore a block after a certain delay quickly and easily,...
Louisfx Usually I do not spoon feed, but this is a simple issue that is easily fixed by showing you the code. This can be done easily by storing...
Try Location loc = new Location(player.getWorld(), -62, 4, -848); Then teleport the player to loc. Also just checking, the rest of the case...
May I see the entire class, it is very possible you have not registered the event.
CynutsBR Do Player p = (Player) e.getEntity(); boostou.remove(p); You are trying to remove the entity which the arraylist does not take, so cast...
michael566 You could also do this easily by iterating through all the args and formatting them into one sentence String sentence = ""; for(int...
I don't want to spoon feed you the code, so ill just explain briefly in words First of all, create a player interact event. Check if the action...
If it's only an issue of length, see what you can do with suffixes and prefixes
Ahh, he doesn't want to see messages from other plugins. My work was futile
I'm on my phone, so I am just writing some pseudo code First create an arraylist of players public ArrayList<Player> hiddenChatPlayers = new...
Give each offline player a different color for debugging purposes. Make sure to set the player using the same color and get the player using the...
Ok I see what you are trying to do now. Seeing as you are using the same offline player, you are resetting it's value right after you set the...
Separate names with a comma.