Bye Bukkit, bye minecraft..
Sorry, I forgot to add in the code. But it is already added Still not working
I tried to restore player inventory before the player leaves the game, but doesn't work some method to do this? public static Map<String,...
How I can set up a pet to attack a mob? I'm storing the pet in a HashMap, and when the player is attacked by the pet should attack the mob, but...
Is it possible to get the player computer name in some way? I tried with this, but only returns the ip address: String computer =...
Oh, thanks. Solved
I need preventing players from causing damage to other players and villagers, also if players are in the array can not attack. But it returns me...
And there is another solution?
Error solved, but they continue attacking :S. I think, this is caused because entities have already selected target
Yes, already have this: @EventHandler public void onEntityTarget(EntityTargetLivingEntityEvent event) { Player player = (Player)...
So, sorry
But the entity has already selected target and they go to attack
You mean add a tag before the name? Example: [Moderator] Playerusername
Hello, I am trying to that when the player dies is a to a spectator mode, so the unseen to all players of the game. The problem is, that even...
You need import the class colors, and in the event of sending a message in the chat change the name to show the player.
I have stored the poster that the last user click with a HashMap, and trying to finish the game update the poster, but not updated. However in the...
I have the array that way, because they also use it in other functions to get the id of heading from the id of the entity.
Map<String, Integer> Zombies = new HashMap<String, Integer>(); Zombies.put(zombie.getUniqueId().toString(), game); I store the id of the...
Oh, I did not know that the entities had an ID. Thanks. Solved
The problem is that the games are on the same same map Maybe it would be a game suitable for every map?
Separate names with a comma.