I'm looking for a plugin that poisons users when they touch water. If this has already been developed, that would be awesome, if not, it would be cool to see it become a reality.
So here's my guess of how I can do this, please advise if I'm doing it wrong: Code: Player Move Listener If Block Player is in == Water poison the player
Thank you for helping me trying to inform 'devs' the actual possibilities of Bukkit plugins, lol. It's not a easy task xD @pale2hall You absolutely right. This plugin is that simple. If you want to try yourself I'd be more than happy to help or if you want me to do it that's fine as well.
Hi baxter, im currently writing a plugin and this indeed looks very simple however i am stumped. Could you perhaps write a small example for me of a listener that does exactly what pale2hall wrote out? It would mean the world to me, thanks!
I could make this, very simple. If anyone else doesnt pick this up, i can make this The way i would do it is If Player is in water...apply poison potion Thats just the way i would do it.
There is a plugin that does this. I remember because someone requested this same thing, I started creating it, and then WarmakerT gave a link to the exact same thing. :3 EDIT: Found it, http://dev.bukkit.org/server-mods/noswimming/ EDIT #2: Oh, this plugin actually damages the user, doesn't directly poison them.
Just a question, why not, instead of setting up a scheduler, hook into the PlayerMoveEvent? Is this too inefficient? :L