Campfire claims, PlayerData storage improvement, Postgresql DB support, Bug fixes and more!
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+
Code (Text):
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.
Campfire Temporary Claims
GD now provides a new experimental feature for creating temporary claims using campfires. Temporary claims will expire when configured amount of days have passed since creation date. It does NOT use owner inactivity. By default, right-clicking on campfires will allow a player to create a temporary 3x3 chunk claim (configurable) . These temporary claims will have the following settings/limitations :
- Configurable block used for temporary claim. (Default is campfire)
- Configurable chunk radius used on creation.
- Configurable expiration time in days.
- Configurable creation limit.
- Cannot be resized.
- Required chunk area must be available on creation.
Note: By default, GD will use campfires for its temporary claim feature. However, you may change campfires to any other vanilla/modded block by changing the 'claim-block-id' identifier in temporary section of global config.
Note: By default, this feature is disabled. To enable, set 'use-temporary-claims' to true.
PlayerData Storage
In previous GD versions, voting plugins would have random issues running GD bonus commands against players. With GD 2.5.0, all playerdata accrued/bonus block data is now stored back with GD. If running an existing server with GD, make sure to follow migration steps above or in README.
2.5.0 Changelog
Code (Text):
* Add LP to GD playerdata accrued/block migrator.
Note: Migration MUST be done or all players will start with 0 accrued/bonus blocks as GD no longer checks LP.
Note: If using this build, make sure to perform a complete backup of LP/GD.
Note: To perform migration, set luckperms-playerdata to true in migrator section of global.conf.
* Add remaining-claim-blocks support across servers that use global LuckPerms storage.
* Add new temporary claim experimental feature. Temporary claims will expire when configured amount of days have passed since creation date. It does NOT use owner inactivity. By default, right-clicking on campfires will allow a player to create a temporary 3x3 chunk claim (configurable) . These claims CANNOT be resized.
Note: All temporary settings can be found in new temporary-settings section of global.conf. Some of these settings will be moved to LP meta in a future release. This feature is disabled by default and must be enabled in config.
* The expiration option can now be configured to expire only on time instead of owner inactivity. Set 'expiration-inactivity' to 'false' in global.conf.
Note: This would affect all claims, not just temporary claims.
* ClaimInfo/ClaimList will now display an expiration countdown using format days:hours:min.
* Inventory GUI's claimlist will show configured block icon if temporary claim. (Default campfire)
* Include `#fishes` in `damage-animals` definition.
* Improve default protection for item frames and armor stands.
* Improve claim deletion logic. Deletions will no longer delete a child claim if it is a basic type or town type.
Note: The only exception is if basic claim is within a town.
* Add advanced button back to claim flag chat GUI.
* (Sponge) Fix async error during claim cleanup task.
* (Bukkit) Fix MC 1.20.3+ confirm grass error.
* Fix permission lookups with trusted.
* Fix postgresql DB support.
* Fix sniffer eggs not hatching.
* Fix axolotl and snow golems not being part of `#animals`
* Fix NPE in inventory gui claiminfo.
* Fix notification messages in inventory GUI.
* Fix chat/inventory flag GUI displaying wrong result in trust tabs.
* Fix various claim inherit issues when feature disabled.
* Fix expiration info showing up when disabled.