1.1.2
Details
-
Filenamewgpfix.jar
-
Uploaded by
-
UploadedDec 13, 2011
-
Size10.19 KB
-
Downloads557
-
MD58db0da083a567a1c88d0b36a05423537
Supported Bukkit Versions
- CB 1.1-R3
- CB 1.1-R1
Changelog
WGPFix 1.1.2
Adding basic configurability and some (runtime-) API, including an interface to have the last word given the affected WorldGuard regions.
Created for RB 1337. Running on latest 1.1/CB 1796
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.1.2)
- (bugfix) pop-pistons will drop an item stack of the size 1 now (not 0)
(1.1.1)
- (add) Better way to check / set WorldGuard (keeping the 4 seconds minimum interval, though)
- (add) Prevent any piston action if WorldGuard is not set or disabled (monitor-pistons must be true for that to take effect)
- (bugfix, potential) Stop monitoring pistons officially, if the plugin is disabled (might mean no change if the events are not processed anyway)
(1.1.0)
- (add) pop-disallowed option: popping pistons out of the ground if disallowed (defaults to false).
- (add) option: Disallow non-sticky pistons from retracting (defaults to false, which is faster)
- (add) API and configuration for monitor, and wg set interval (default as 1.0.0 behaviour)
- (add) command to reload the configuration: /wgpfix reload (permission: wgpfix.reload)
- (add) creates a default configuration, if none is present.
- (add) static methods for interface registration for checking regions on otherwise ok piston-action ("last word").
- (bugfix, potential) Set WorldGuard in onEnable.
(1.0.0)
- (initial release)
BUGS
- (minor) On disabling the plugin the wrong version is shown (1.0.0 instead of 1.1.2).