Oops, my bad. Writing code on the phone is not easy for me :P Thanks for notice that. Original post edited.
@VENTO if(event.getClickedInventory() == null){ // Outside inventory or on the borders. } else { // Clicked on a slot. }
Did it work?
Done: https://www.spigotmc.org/resources/noworldeditregions.24881/
It is a free build server, so players are in creative mode right? If so, I can make a plugin, because it wasn't working on my server because I...
I also want to know how to solve it. My players are able to use WE and I can't protect the spawn and other factions territory
The players are still able to select outside the region (and some of the selected blocks are inside the region) and do the commands. Know what I mean?
@Konato_K @I Al Istannen Forget about the packets... The packet is "OUT", so it's send by the server, not from the client... I will go back to the...
@Konato_K ;(... Will look at it... Maybe I can do something to change it... Good news! PacketPlayOutWindowData is available in 1.8! import...
Thank you so much!!! Looks good! I will test it later!
Looking at packet list again, I found 5 packets with "Window" in the name(3 out, 2 in)... Excluding the out packets, I have 2 options:...
I tried to use it, but it's the first time... I found some tutorials but I think they're outdated because Packets is deprecated. And other...
@Konato_K I also edited my post above. Take a look EDIT: OMG! Why didn't you show me this page before! Here(Scroll down to WindowType: Anvil)...
@Konato_K Thanks for all you did! I'm almost finishing the plugin but I've a problem here.... I want to add 1 to the cost if the item is renamed,...
@Konato_K I found this: probably this is the solution http://minecraft.gamepedia.com/Anvil_mechanics
Separate names with a comma.