WorldGuard Piston Fix
WorldGuard Piston Fix (WGPFix) attempts to prevent cross-region griefing for WorldGuard concerning pistons, optionally monitoring water and lava and growing trees etc.. With WGPFix cross-region changes are prevented, if the affected blocks belong to regions that have different owners+members. This is quite rigid, but allows pistons to affect different regions with exactly the same owners/members. It is possible to deny pistons affecting certain block types and also to limit the range of pistons (since 1.3.0).
Depends on WorldGuard, currently!
This does not differenciate between owners and members.
A little care is necessary with unowned regions that should override properties of overlapping owned regions - in this rare case you could add a non existing dummy-group as member or owner of the yet unowned region to make sure that there are no piston effects.
The plugin just checks the events concerning pistons retracting and extending, yet it is not exactly lightweight, for it will check the applicable WorldGuard regions for each involved block without using any caching.
The plugin is now configurable, and also allows for denying pistons affecting pre-defined block-ids (1.2.0 and above). Since 1.3.0 commands for blocking pistons and toggling monitoring have been added, as well as limiting the range of pistons. Since 1.4.0 you can also control the growth of structures (huge mushrooms and trees) with the same method as pistons are monitored.
Latest jar: WGPFix 2.0.0 - Configuration (+Commands, Permissions)
The source code for the different versions: Versions
I'd like to take over your plugin. Greetings
This is fucking awesome!
Thanks a lot asofold :) Your plugin is now perfect!
@Tetdoss
Version 2.1.0 contains monitoring fluid spread. Needs to be enabled in the config.
@Tetdoss
In principle it can be handled the same way as pistons. But it means more performance cost, since water flow and those events might be frequent.
All checks of WGPFix mean double checking what WorldGuard already checked (in that casse only with high-frequency-flags on.
I can add it, should not be difficult.
It is the plugin I searched!
But I'd like one more thing. Indeed, players who place water or lava in their region is a problem for me. Water or lava flow out the region :/ Is it possible to prevent that like in the plugin PlotMe ? I don't want to prevent completely the flow in regions.
Thank you Tetdoss
@levisn1
Which bug?
The reason why WGPFix exists is that pistons don't have owners, but regions have. So in order to be allowed to use pistons on WorldGuard regions (or even between regions of the same owners/members), extra security checks are necessary to prevent abuse by pushing blocks onto regions from outside and similar. In this scenario people still want to use pistons so setting the piston flag to deny with WorldGuard would not be an option.
Concerning the report of @LEOcab i am not sure... seems that WGPFix 2.0.1 works, on quick checking, also i don't have other users reporting in.
what is the bug of piston? O.O
@LEOcab
Did both plugins start up correctly (WorldGuard and WGPFix) ? Maybe you still have the log. Is it 1.4.6 ?
...it doesn't work. Players can still grief using pistons. I have to rely on the Pistons flag. :I
Found a bug, HOTFIX NEEDED! Please check your github account!
THX for plugin
Will test as replacement for the working but not maintained: http://forums.bukkit.org/threads/sec-fix-piston-protect-v1-1-make-pistons-safe-for-your-server-1060.29052/
Thanks!
No comments yet, but you need to know, that this plugin is very usefull. Thank you :)