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.
@JohOply
I don't know. You tell me! :)
Is it working in 1.7.9 ?
Could you make it so it's a customizable message when they try to place lava without permission?
I just uploaded a new version. It adds a dependency for PermissionsEx, so it will wait for that to be loaded before it is started. That might very well have caused issues before.
@DanesDK
It works for me in 1.5.1 r2/beta. As non-admin I cannot place lava. But I can get lava in a bucket.
I see the brief description for the permissions isn't completely correct though. Since the first one (canUseLava) also mentions picking up of lava. But that got split up later.
does not work in 1.5.1
any update ???
Great plugin thank you!
@junkboy350
Hi. It looks like I forgot to update the script description in here quite some time ago. There's actually already a second permission (now added in the description here):
Would it be possible to request a permission for filling buckets, but not emptying them? It would make the plugin more versatile :)
I just tested version 1.2 in CB 1.4.5-R0.2 and it works just fine. Version support for that file is updated to include that build.
@bjornleijdstrom
As with versions before; I see no release of CraftBukkit yet. And even if there's one, the plugin might just work without a problem for the new version. Just report issues if there are any.
Update for 1.4.2? (:
@ArmEagle
The newest craftbukkit version seems to fix this problem.
@TheFarmerNL
I think a different plugin is conflicting with this plugin. StopLava handles events on normal priority. Could you list the other plugins you're running? Perhaps you could single out the plugin that is conflicting yourself.
@TheFarmerNL
Ok, thank you for the report. i'll turn that into a ticket. Hopefully I'll soon have time to look into this.
By the way. What version of CraftBukkit do you experience this in?
When people without permission place lava, the plugin says that it stopped that player from placing lava, while the lava is still there.
@TheOneWhoOwns
Report any issues in 1.3!
Update this to 1.3 !!!
I didn't know I could select multiple versions for a file. On the right now it shows it works for 1.2.4. But in the details it still lists 1.1-R6 too.
@bjornleijdstrom
Me to but you still need to update, maybe just add for CB 1.2.4... Or something.