After event.getPlayer().getInventory().addItem(new ItemStack(Material.COMPASS)); Add: event.getPlayer().updateInventory();
Ye, i was thinking and i think that is the solution. And checking the speed.
edit the TABLE STRUCTURE, and look in id for auto_increment, check the tick and accept.
i want to find users who are using the cheat and use my powerfull banhammer xD
Well, im trying to make my custom anticheat plugin. For now i have: Anti spam Anti fastbow Anti kill aura And now im trying anti-knockback, but...
Hi @lenis0012 ! thanks for your library to create npcs!!! I have a problem :S im using ur NPCFactory version for spigot 1.7.9 and works great,...
Well, im using craftbukkit (i need use craftbukkit, not bukkit) and i getting this error. So... How can i solve this? :(
some help please? :(
uhm, but can i extend, for example, from zombie and EntityTameableAnimal at the same time? or village and EntityTameableAnimal? im testing now...
works great! thx! but how the hell can i do, for example, if right click on the entity, follow the player? :/
hi! i have a problem with the respawn packet... there is a retard of 1-2 ticks when i use the packet? :/
what happen if i want test my plugins with my offline server? :confused:
I had a custom item with lore (a hoe). The hoe do the animation on break, but it doesnt dissapear from the inventory... Need i a new event or...
Solved my question :P
This is my event from my annihilation plugin, the iron ore //Mena de hierro else if (block.getType() == Material.IRON_ORE){...
The method ay() of type CustomEntityIronGolem must override or implement a supertype method The method ay() is undefined for the type...
event.getPlayer().getName() ;)
Normal... estás usando el BUCLE DEDICADO ÚNICA Y EXCLUSIVAMENTE A BORRAR OBJETOS para añadirlo. Sigue BIEN mi estructura, y añade el item UNA VEZ...
Mi evento es para cuando muere sí, pero el caso es el mismo, ya que las funciones son las mismas para ambos, coger el inventario, recorrerlo,...
ArrayList<ItemStack> remove = new ArrayList<ItemStack>(); //array de borrar los objetos for (ItemStack i : e.getDrops()) { //Para quitar las...
Separate names with a comma.