LiquidSensor
Idea
The idea was taken from this outdated plugin: WaterSensor (complete revision!)
How it works
Best explained by the animations...
- LWC protected levers won't be toggled by LiquidSensor!
Download
- Here
- Feel free to
Installation
- Download the LiquidSensor.jar
- Start your Server and stop it.
- Go to your Serverfolder and open the Config.yml in the LiquidSensorfolder
- Configurate the file, how you prefere.
- Save it!
- Restart your Server, and enjoy.
Permissions
- liquidsensor.create
- Access to create a liquidsensor
- Default: false
- liquidsensor.break
- Access to break a liquidsensor
- Default: false
@Evilbannana1
Fixed permissions in PermHandler. Thanks for reporting this bug!
Seems that the permissions for this plugin are wrong? In your PermHandler class you're using the string customplate instead of liquidsensor. So the permissions are actually customplate.create and customplate.break. Just a heads up!
@CommodoreAlpha
@OdinOxin
LWC is supported now, since version 2.3b3.
@CommodoreAlpha
Oh ok. Now it's clearr :D I'll try to support LWC soon. ;-) Thanks for your charp eye.
@OdinOxin
It's not LWC influencing LiquidSensor, but the other way around. Maybe I should clarify with an example. It's an unlikely scenario, but it still serves the purpose of clarification.
You have a house that is made of lapis lazuli. The entrance has an LWC-protected iron door, with an LWC-protected lever connected to it. Someone wants to get inside, so instead of interacting with the switch directly, they could just dump water on it to get the door to open.
Highly unlikely for this to occur, but having this plugin ignore LWC-protected levers (that is, this plugin will not mess with LWC-protected levers in any manner) would be helpful.
Nice animations by the way.
@CommodoreAlpha
Does LWC influence LiquidSensor?
In my eyes, LWC can't, because LiquidSensor manipulates the Data of the Lever direct. So no Event is called or something like that...
But if there are problems between LiquidSensor and LWC, than just notify me!
Seems like a pretty handy plugin, but there should be an option to ignore all LWC protected levers, as a safety measure.
@GrimblyGorn
Ok, i can implement this. But you have to know, that the Sensor will toogle anyway, if water/lava comes in contact.
Would be handy to have a permission to limit who can build these. Aside from that I love these little sensors :)