Can someone make a small plugin for me that disables tilling grass and dirt blocks with both golden and diamond hoes?
1) I am curious why you want this... 2) How many requests do you have?! You should just make one thread and list them all there 3) I could possibly make this this, wouldn't be too hard I suppose, but you would have to wait until Friday or Saturday.
To make a long story short, I changed the golden and diamond hoes to wands with SpoutItems. MagicSpells allows changing between spells by left & right-clicking, but right-clicking while facing grass or dirt changes the hoes' data value and that way, it changes the tooltip and texture to the default ones.
Don't see why It couldn't be done. Just means cancelling an event. I'll see if I can whip something up today. (EST) (Providing I have time) As per request, "WandItems": http://dl.dropbox.com/u/29314740/Plugins/WandItems.jar 35 Lines of code, source on this thread: http://forums.bukkit.org/threads/co...e-under-50-challenge.33264/page-3#post-770146 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
The plugin somehow makes me cast the spell (normally done by left-clicking) when I right-click either grass or dirt?
What spell plugin are you using, or what does it detect to cast the spell? Because thats wack. All I did was cancel the interaction. You may need to get the owner of the spell plugin to incorporate this.
Get a plugin called skript! Here's the skript code Code: on rightclick with golden hoe: cancel event on rightclick with diamond hoe: cancel event