IMPORTANT: Due to recent changes, you will need to backup then delete the following :
- ./plugins/GriefDefender/global.conf
- ./plugins/GriefDefender/lang
This will allow the new version of GD to regenerate these files with the latest changes.
Note: I hope to improve this in future so you do not need to reset these files whenever they are changed.
This update focuses on stability and quality of life improvements.
Claim Mode
Claim mode is a new feature that removes the need of requiring tools(such as the golden shovel and stick) for claiming and inspecting land. In 1.2.2, players no longer require items and can simply toggle into claim mode by typing /claim. Once in this mode, the player will be able to do the following
- Left-click will inspect land.
- Right-click will claim land.
When finished, the player simply enters /claim again to disable it.
Claim Contract/Expand
Players no longer need to use a shovel to contract or expand their land.
To expand a claim, a player can enter the following
/claimexpand block_amount [direction]
For example, to expand a claim 5 blocks where you are facing
/claimexpand 5
The same would apply for /claimcontract.
Changelog
Code (Text):
* Fix active pages with flag preset menu.
* Fix claim inheritance.
* Fix getPermissionValue not continuing after matching contexts.
* Fix messages being sent to players during entity attacks.
* Fix item frame protection.
* Fix safe teleport being used for /claimspawn (temp fix)
* Fix safe teleport ending above nether.
* Fix PvP toggle not showing proper default value in /claiminfo.
* Fix a few issues with option GUI.
* Fix flags being reset on claim deletion.
* Fix user claim flag permission check.
* Fix sign interaction not using proper flag 'interact-block-secondary'.
* Fix '/claimexpand' and '/claimcontract' tab completion.
* Fix 'entity-damage' flag attempting to protect dropped items.
* Fix 'player-keep-inventory' not clearing drops on death.
* Fix 'player-keep-level' not clearing XP drops on death.
* Fix EntityChangeBlockEvent using wrong source location.
* Fix claim create mode triggering twice on first right-click.
* Fix default/override claim types not showing up properly in Flag GUI.
* Fix entity-damage flag not using proper user on left-click.
* Fix abandon-delay default value.
* Fix inspection tool interact on right-click when targetting a block.
* Fix custom flags being applied twice.
* Fix entity type NPE.
* Fix /claimlist user trust.
* Fix /claimlist usage with player name.
* Fix LP provider hasPermission check.
* Fix item frame transient defaults in wilderness.
* Add /claimexpand <amount> [direction] and /claimcontract <amount> [direction] to resize claims without shovel.
* Add support for VehicleMoveEvent.
* Add support for setting no modification/investigation tool in config.
* Add '/claim', '/gd mode claim' command to toggle a new claim mode for inspecting and claim creation.
* Add 'combat-timeout' pvp setting to config to control how long a player stays in pvp combat after an attack.
* Don't listen to InventoryOpenEvent. Handle inventory via interacts instead.
* Reset claim visuals on resize.
* Remove 'gd_claim_type' context as it is no longer needed.
* Remove ability to resize claims when auto-schematic-restore is enabled.
* Implement 'abandon-delay' option.
* Implement 'player-teleport-delay' option.
* Implement 'pvp' option.
- When a player attempts to attack another player, both players must have pvp allowed.
If 1 player is not allowed to PvP, the attack will be cancelled.
* Improve '/claimlist' command.
- Only trusted claims will be shown to users.
- Admins can use '/ignoreclaims' to see all claims.
- Fixed server crash if too many claims were listed.
- Fixed subdivision filter.
* Improve '/claimspawn' command.
- The command now takes the following arguments '/claimspawn [name] [player]'
Ex. If you want to spawn in a claim that you own named 'lair', you would enter '/claimspawn lair'
Ex. If you want to spawn in a claim owned by 'Mike' named 'stables', you would enter '/claimspawn stables mike'
* Improve flag definition defaults.
* Improve flag default configuration.