Greetings, I have some problames whit my plugin (its the first bukkit plugin for me)! The plugin is going to broadcast when someone placed lava, and i have actually followed a tutorial for this, but still, it dont work! (tutorial here: http://www.youtube.com/watch?v=7NhyXPAxzyU&feature=related) I would be very thankfull if someone could look at my code, and see whats wrong! Thanks! Regards, TheSuperMar10
in the main class in the block listener Try those changes and it should work. If it doesn't I don't see why it wouldn't work but maybe try different blocks or tests to see if it even picks up the event.
I managed to find the the problame, i had forgot to "pm.register" the block break on main! However i whant to add a new thing to this plugin, i hope someone could help me whit: If someone is using the flint&steel this plugin (whit the fire warning) doesnt work! So I ran over an event called "Block_BURN" and hoped that could help me whit that! I need to get an broadcast when someone set any kind of block on fire! I hope you (or anyone) could take the time to help me Its my first plugin, so i need some help!
Just broadcast when some one right clicks with a flint and steel, then check for permissions and broadcast/cancel as wanted. Also, use pastebin for the files next time. Alot easier than downloading them.
If you wont submit it, since there are already 50 plugins which does this. I could help you a bit in a private chat xD
Well, i dont think i will since its so many of them, yeah! But i will try to make a VERY big plugin that offers MUCH more "anti griefing" in one plugin!