
GriefDefender - Claim Protection 2.5.6
[1.12.2-1.20.4] Protection, Claims, GriefPrevention, Flags, Rent, Sell.
IMPORTANT:
Note: New servers or existing on 2.5.5 may skip this section.
Backup LP/GD before updating to 2.5.0+ as there are a few big changes.
1. LP's default(NOT GD) parent groups should be only `griefdefender_option` and `griefdefender_override`
2. Remove parent groups from `griefdefender_trust_<type>` groups
3. Adjust `griefdefender_trust_<type>` group weights as such
- `griefdefender_trust_manager` should have -70 weight
- `griefdefender_trust_builder` should have -71 weight
- `griefdefender_trust_container` should have -72 weight
- `griefdefender_trust_accessor` should have -73 weight
- `griefdefender_trust_resident` should have -74 weight
4. Set 'luckperms-playerdata' to true in migrator section of global.conf.
Note: If you do not see this setting, simply add it manually and set to true.
5. Add new lang entry 'label-expiration=Expiration' or wipe lang folder to regenerate clean.
Note: GD lookup priority is as follows : griefdefender_override -> claim -> claimgroup -> definition -> griefdefender_default.
2.5.6 Changelog
* Improve GD tool detection for both equipment hands.
* Add support for new lines(\n) when setting lore in `gui.conf`.
* Add projectile impact block protection.
* Add the following new tax config settings :
`tax-2d-claims` - `Whether to apply tax on 2d claims.`
`tax-3d-claims` - `Whether to apply tax on 3d claims.`
* Add the following new placeholders :
`claim-tax-per-day` - `The total tax amount you will be charged per day in claim you are standing in.`
`claims-tax-per-day` - `The total tax amount you will be charged per day for all basic/town claims you own.`
* (Fabric/Forge) Add portal create protection.
* (Fabric/Forge) Improve protected world support.
* (Forge) Add keep-level and keep-inventory support.
* Update player claim activity on world change and disconnect to help avoid expiration.
* (Arclight) Fix break event not always cancelling using Arclight provider due to random results with player ticks.
* Fix `/abandonallother` command not working for offline players.
* Fix `/abandonallother` messages.
* Fix `player-fall-damage` flag definition.
* Fix LP to GD file playerdata migration when using server contexts.
* Fix `row` and `slot` defaults not being generated in `gui.conf`.
* Fix inventory gui not always opening properly.
* Fix getActiveItem when called outside interaction events.
* (1.20.4-R2) Fix NoSuchFieldException during vehicle events on latest Spigot/Paper builds.
* (Admin Expire Feature) Delete children on expiration.
* Remove claim cache from `/at`, `/ct` and `/trapped` commands.
IMPORTANT:
Note: New servers may skip this section.
Backup LP/GD before updating to 2.5.0+ as there are a few big changes.
Existing servers must complete the following before updating to 2.5.0+
1. LP's default(NOT GD) parent groups should be only `griefdefender_option` and `griefdefender_override`
2. Remove parent groups from `griefdefender_trust_<type>` groups
3. Adjust `griefdefender_trust_<type>` group weights as such
- `griefdefender_trust_manager` should have -70 weight
- `griefdefender_trust_builder` should have -71 weight
- `griefdefender_trust_container` should have -72 weight
- `griefdefender_trust_accessor` should have -73 weight
- `griefdefender_trust_resident` should have -74 weight
4. Set 'luckperms-playerdata' to true in migrator section of global.conf.
Note: If you do not see this setting, simply add it manually and set to true.
5. Add new lang entry 'label-expiration=Expiration' or wipe lang folder to regenerate clean.
Note: GD lookup priority is as follows : griefdefender_override -> claim -> claimgroup -> definition -> griefdefender_default.
Another quick fix to apply same changes from 2.5.4 to '/claimexpand' and '/claimcontract'
2.5.5 Changelog
* Fix transferred children claims being able to resize without having manager trust in parent when using '/claimexpand' or '/claimcontract'
This update addresses a few important issues with previous 2.4.X releases.
Changelog
* Fix option lookups sometimes returning wrong value due to possible LP DB cache issue.
* Fix GD default contexts being checked against owners of claim.
* Fix claim owners being denied explosions in their claims.
* Fix player interact-block-secondary blacklist check.
* Fix blocks not able to be placed on farmland.
* Protect leash knot on right-click by default.
* Protect villagers from tnt explosions by default.
* (MC 1.12.2) Fix NoSuchMethodError during BlockMultiPlaceEvent.
* (Fabric/Forge) Fix NPE during block notify.
MC 1.20.2 Support
This release adds support for Minecraft 1.20.2 servers.
Performance
GD's permission lookups have been completely re-hauled by reducing the amount of LP queries done per action. Server owners should see a significant performance boost with these changes.
Config Protection
Previously, if a server owner attempted to modify a GD config while server was running and made a syntax error it would lead to errors in console or crash. With the new update, after server has successfully loaded, if GD detects a broken config during '/gdreload', it will automatically revert back to last successful config state. This should provide server owners a piece of mind when needing to change configs live.
Changelog
* Add MC 1.20.2 support.
* Add workaround for spigot bug causing crops to be duped in certain conditions.
* Add proper NPC support with new `#npc` context that replaces `minecraft:player`
* Refactor permission checks by reducing amount of LP queries per action.
* Fix permission lookups causing `default-groups` in flag definitions not to work properly.
* Fix gddebug not showing events called by GDHooks.
Note: For example, MythicMob spawns now properly show up in gddebug.
* Fix EntityChangeBlockEvent not checking blacklist.
* All main configs will now revert back to last successful loaded state when an error is detected.
* Invalidate cache after claim transfer.
* Ignore falling blocks during events.
* (Hybrid) Add workaround for Mohist issue when calling 'state.getBlock()' during BlockBreakEvent for blocks that are not placed in a world.
Changelog
* Fix block cache causing tracking issues with water flow, snow form, etc..
* Fix player bucket placement sometimes bypassing protection.
* Fix water-flow definition not accounting for crops.
Note: To add this fix, you can regenerate minecraft.conf preset or add the following line to water-flow definition "flag=liquid-flow, source=minecraft:water, target=#crops"
* Fix IllegalStateException during PlayerTickTask.
* Fix flag group selection screen in inventory GUI showing when user only had access to 1.
* More fixes to ensure tadpoles age into frogs.
* Add new root-command-aliases setting to global.conf which allows admins to adjust GD root command aliases.
* Add getHighestTrust playerdata cache.
* Add load-claims-async setting to storage.conf
Note: This controls whether or not claims should be loaded async during server startup and only affects DB storage.
* Add sign-edit definition to prevent players from editing sign text by default.
Note: The sign-use definition is only for interactions. You should have sign-use set to true by default.
* (MC 1.20+) Add sign edit protection.
* Improve default user experience with claim flags. All users will now default to PUBLIC flags in GUI. The previous flag group types OWNER, ACCESSOR, CONTAINER, BUILDER, MANAGER will now require the following permissions :
griefdefender.advanced.user.gui.flag.group.owner
griefdefender.advanced.user.gui.flag.group.accessor
griefdefender.advanced.user.gui.flag.group.container
griefdefender.advanced.user.gui.flag.group.builder
griefdefender.advanced.user.gui.flag.group.manager
MC 1.20 Support
This release adds support for Minecraft 1.20 servers.
Changelog
* Add MC 1.20 support.
* Process all action bar messages async.
* Fix claim inventory GUI icon not displaying while player was in wilderness.
* Fix economy-claim-abandon-success and
economy-claim-abandon-success-world messages missing currency formatting.
* Fix date parse error in MultiPaperProvider.
This update addresses a few important issues with previous 2.3.6 release.
Changelog
* Fix timing errors on earlier MC versions.
* Remove timings and update aikar commands libraries.
* Add 'fire' to entity damage source blacklist.
IMPORTANT:
New preset lang entries have been added to this release. You can either wipe the existing preset lang or insert the new additions below.
tutorial-claim-basic="&eClick for Land Claim Help: https://docs.griefdefender.com"
GUI and preset icon fixes have been added. You can either wipe existing preset and gui.conf or migrate new additions from a fresh config.
GD Fabric/Forge Availability
GD Fabric 1.19.2-1.19.4 development builds are available to patreons on discord.
GD Forge 1.18.2/1.19.2 development builds are available to patreons on discord.
If you are interested in becoming a patreon to access these development builds, see https://patreon.com/bloodmc
Changelog
* Fix null claims being passed in GDPermissionIdentifyEvent.
* Fix player-teleport-cost and player-teleport-delay defaults not showing up in options.conf
* Fix italics in GUI config.
* Fix icon flags not being applied to flags and options in GUI.
* Fix admins being able to abandon claims that they did not own. If you want to force abandon as admin, toggle '/ignoreclaims' on.
* Update wiki URL to point to https://docs.griefdefender.com
This update addresses a few important issues with previous 2.3.4 release.
Changelog
* Fix trust permission lookups not respecting levels.
* Fix FastAsyncWorldEdit incompatibility when using protected-worlds.
* Fix claims not loading on call with 'always-read-write-db' turned on.
You will need to perform the following before starting server with new update
- On bukkit, delete ./plugins/GriefDefender/lang
- On sponge, delete ./config/GriefDefender/lang
Note: If you heavily customized your lang file then generate a fresh file on a test server to copy new entries into custom one.
This is a stability update addressing a few bugs and adding a few QoL additions.
Improved WorldEdit Command
/gdwe claim|clear|select [identifier]
/gd worldedit claim|clear|select [identifier]
Subcommands
claim - creates GD claim from WE selection
clear - clears worldedit selection
select [identifier] - creates new WE selection from GD claim.
Changelog
* Improve worldedit claim handling.
- Add new command /gdwe claim|clear|select [identifier]
- Fix WE claim creation bypassing various claim checks.
* Improve default welcome message handling.
- Do not show default welcome message traveling between claims if same owner.
- Do not show default welcome message if player is owner of claim.
* Fix subdivisions within admin claims not defaulting to admin owner.
* Fix /claimtool not disabling action bar message when toggled off.
* Fix option lookup using wrong context for subdivisions.
* Fix all claims saving during server startup.
* Invalidate claim permission cache when trust changes.
* Update to latest GD API.
* (Sponge) Fix debug log spam.
* (Sponge) Fix world/dim folders still being created in uppercase.
* (Sponge) Move library initialization to GameConstructionEvent. (Might see slightly longer startup time)