ElectricFence
Electric Fence
Originally written by darksoft, this is a plugin to mimic Electric Fences. When a fence is powered by redstone, it shocks players when they get near or when they touch it. That's it. If you do not want to be shocked, op yourself or give yourself the 'ElectricFence.bypass' Permission node.
Source
Changelog
Copyright stuff: I have received permission from darksoft to continue this plugin. If you need to see the pm he sent me I'd gladly submit it. Prior to that, EvilSeph said I could continue it as long as darksoft remained inactive and there were no copyright claims.
Disclaimer: This project includes bStats (https://bstats.org/), a way of collecting anonymous usage statistics. It can be disabled by setting "enableMetrics" to false in the configuration file. A full list of what data is being collected can be found here: https://bstats.org/getting-started. The collected information will be publicly available, but will be entirely anonymized.
I seem to have gotten an error for it; just noticed it now:
2011-10-16 03:00:42 [SEVERE] at org.darksoft.electricfence.ElectricFence$1.run(ElectricFence.java:67)
@Daedalus11069
My bad, I typed that after like 2 hours of code and at 12 am. No you have it off. Let me do some testing, although Im not sure why it isnt working for you.
@PatrickFreed
How is earth block on? It's false. Are you saying I need to set it to 'true' for it to be set to 'off''?
@Daedalus11069
Your config has radius off, so you need to hit the fence to get it to work. It aslo has earth block on, meaning you need to have the fence on top of a block with id 12 or else it wont work.
@PatrickFreed
@Daedalus11069
Post your config please.
@PatrickFreed
This plugin isn't working for me for some reason. I deleted all plugins but it, and it still failed to work. It enabled, and it loaded the configurations file, but nothing else.
@Daedalus11069
Sorry, new configuration doesn't work the same way as it used to.
@PatrickFreed
What are the new config options? The config file wasn't created for me with the defaults.
Version 1.7
Added iron fences. It is configurable.
Updated to 1317, iron fences coming soon.
@PatrickFreed
Sweet.
@Daedalus11069
Oh yeah, I forgot about that. Would be easy to add, I think.
I don't suppose it would be possible to make the type of fence block configurable? Eg, Iron bars vs Fences?
@lightphoenix2
Yep, added in 1.5
Can i Config it to not attack players but only attack mobs?
@houcine71
Submit a ticket.
It doesn't work for me...
Good
Hey! I like this plugin. I have a fence around a mountain that I don't want anyone getting over. This should be very useful!