Hi guys, since a few days I programm plugins for bukkit, and now I'am working on a Kit plugin. Now I wanna make a kit where You have a Stick that makes Ligtnings/smites. But i dont know how to work with The inv Event. Sry for my baaad English I hope anyone can help Me!!
PlayerInteractEvent if action is rightclick: If item in player hand is a stick: Get location of block clicked. Spawn lightning on that location