1.3.0

Details

  • Filename
    wgpfix.jar
  • Uploaded by
  • Uploaded
    Feb 25, 2012
  • Size
    25.26 KB
  • Downloads
    524
  • MD5
    e11b936e3d4952ea9be804d2d4ba06e1

Supported Bukkit Versions

  • CB 1.1-R7
  • CB 1.2.3-R0.1
  • CB 1.1-R4

Changelog

WGPFix 1.3.0

Fixing deny lists not preventing blocks like pumpkins being affecting by pistons, updated configuration and commands for monitoring and denying all piston action (monitor, panic), added option to limit the range of pistons.

Tested with 1.1-R6 shortly.
Running on 1.2.3 lately, This version might well work with older builds of CraftBukkit, that support the new event system.

Disallow pistons from retracting or extending if they cover blocks belonging to regions with differing owners or members.

The code is used on my own server, and i am optimistic about it, yet it is a quick and hot fix after all, so:
No warranty for breaking mechanisms, which will happen if they cover several regions or free ground with differing owners. Yet no warranty for this to work out at all. Furthermore no warranty for causing performance issues on huge big piston setups. In fact .... no warranty at all.

Disregarding the standard message above:
Extending to or contracting from free ground is possible, but the piston can not be on a free ground reaching into WorldGuard regions, even if they belong to no one.

Still it is possible to affect different sets of multiple overlapping regions, if the combined owners and members are all the same - this also is the case if you have a region without owners overlapping a region with the owners same with that the piston is placed on and all blocks the piston is affecting. If the overlapping region was intended to prevent access even from owners of overlapping regions then this would not provide protection. However this is more like a rare case, still server owners that use intricate and complicated region setups with regions that have no owners that still overlap other regions with owners, while the unowned regions should override the owned regions will have to take care or add some dummy owner group to the unowned regions to prevent any piston effects.(Owners and members are treated alike.)

CHANGELOG

(1.3.0)

  • (bugfix) Check the block-id of the end blocks as well (fixes: Pumpkins etc.).
  • (add) Commands: monitor (+unmonitor) (correspond to monitor-pistons).
  • (add) Configuration + command: panic (+unpanic) - Allows to deny all piston action, overrides monitor-pistons.
  • (adjust) Changed message - style.
  • (add) max-blocks setting to limit the range of pistons
  • (bugfix) on reload: clear deny-all entries.
  • (add) API methods for all configuration entries.
  • (internals) minor code cleanups.

Questions:
* (WGPFix 1.2.2) We have seen difficulty with overlapping regions with the same owners, while a piston would affect shared locations and locations inside of only one of the two regions. This is unintended, if the owners ond members match.