StopLava
This plugin prevents players from placing lava blocks or emptying/filling buckets.
Permissions
- StopLava.canUseLava Whether someone can place lava (lava block or bucket) (default: op).
- StopLava.canGetLava Permission to get lava in a bucket (default: true).
Source can be found at GitHub
Technicalese
When cancelling a PlayerBucketFillEvent, or PlayerBucketEmptyEvent the client is not notified of the event actually being cancelled. So the player will see the bucket being filled, while it isn't really. As will be clear when the player (dis)connects and gets the update.
For now this plugin is forcing a clumsy update to the client. Perhaps there are better ways to do this, but that seems to require use of the CraftBukkit API besides the Bukkit API.
I submitted a feature request to have CraftBukkit send the client these updates automatically.
Update to 1.2.4!!!
@ArmEagle
I don't get any errors with your version of StopLava, running on 1.2.4.
@juodas
Doesn't it work in CB 1.2.3 R0.2 then? 1.1-R6 introduced some big changes, requiring a re-packaging of (all) plugins. But since then there hasn't been an RB yet and I haven't heard yet that plugins would break.
Dude please update for CB 1.2.3 R0.2
@ArmEagle
Thank you!
About the request not to lose your bucket when using lava in a furnace, give a look at http://forums.bukkit.org/threads/fix-mech-lavaforge-1-0-0-returns-buckets-when-lava-is-used-in-a-furnace-1-1-r6.22502/ . I haven't tried it myself. But this should do the trick.
After giving it some thought, it's too separate from the goal of this small plugin to add that in here.
I just uploaded a new version: 1.1
@Pr07o7yp3
As with my previous comment, sorry I didn't notice your comment before.
I guess I can change the plugin so it only prevents placing lava.
I too dislike how the game doesn't give you back the bucket when you place the lava in a furnace (since the burns-count is reset when the server restarts, making it quite an expensive endeavor to use lava when the server backups nightly). But I'm not sure this plugin should implement that feature.
I'd like to keep this plugin as simple as possible; so no config file to choose how it works. But maybe I should add it anyway, then I can add that furnace feature too. I'll see how much time I have today.
@bjornleijdstrom
Sigh, I wasn't following my own project yet (stupid default settings). Yes I'll give it a whirl for 1.6.
@ArmEagle, will this get R6-support (and/or 1.2.2)?
THANK YOU i really needed this plugin
Hey, I used WorldGuard for that thing, but in the new bukkit version it doesn't work correctly. Anyway, I have installed this mod and I have a problem.
I don't know if you know, but the lava bucket can be use in the funance. So, I want to make this mod fill the lava bucket but not empty it. Also, when lava buckit is putted in a furnance a bucket shouldn't disappear.
@Royalgamer06
You could use Bukkit's built-in permissions system to limit who can do what.
I'm terribly sorry I haven't responded before! I assumed I would be notified of new comments and tickets by default. But apparently I had to turn that on manually.
I'll try to go through all posts as soon as I can...