1.4.0 (special)

Details

  • Filename
    wgpfix.jar
  • Uploaded by
  • Uploaded
    Mar 13, 2012
  • Size
    25.52 KB
  • Downloads
    1,021
  • MD5
    575cd6276011a6a89ab78a296411b143

Supported Bukkit Versions

  • CB 1.2.5-R1.0
  • CB 1.2.4-R1.0
  • CB 1.2.3-R0.2

Changelog

WGPFix 1.4.0 [1.2.3 ... 1.2.5]

SPECIAL FEATURE: Monitor structure growth (trees, huge mushrooms).
TO ENABLE THIS: You have to set in the configuration: monitor-structure-growth: true
EFFECT: Same checks as with pistons... structures can not grow if not passing the region checks!

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.

This version might well work with older builds of CraftBukkit, that support the StructureGrowEvent.

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.4.0)

  • (add) Special feature: Monitor structure growth as well, in the same way as piston use [Trees, huge mushrooms].
  • (adjust) Slight internal tweaks.

(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 and members match, if you should notice this, i would appreciate a notice!