1.2.1
Details
-
Filenamewgpfix.jar
-
Uploaded by
-
UploadedJan 31, 2012
-
Size15.22 KB
-
Downloads550
-
MD5e6743d08f37555516dd515bfce0bbe3e
Supported Bukkit Versions
- CB 1.1-R4
- CB 1.1-R3
- CB 1.1-R1
Changelog
WGPFix 1.2.1
Quick bugfix for an AccessError when issuing /wgpfix reload .
(1.2.0)
Added capability to deny block-ids being affected by pistons, for all pistons and for sticky pistons, to tackle certain kinds of item duplication issues. (No need to update, unless you are using this feature).
Created for RB 1337. Running on latest 1.1/CB 1940
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.2.0)
- (add) List of block-ids to prevent from being "pistoned" , for all and for sticky pistons.
- (internals) Added compat layer for configuration.
(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:
* The entries for denying block ids do not work for blocks that will not get moved but destroyed or dropped by pistons extending or retracting, such as Melon blocks or Pumpkin blocks.