
GriefPrevention GUI Addon 4.6.1
Upgrade Grief Prevention with a sleek GUI, claim TP, custom flags, and more!
🐞 Bug Fixes
- 🛠️ Fixed a rare NullPointerException in the sorting algorithm.
- ⚙️ Fixed NullPointerException when opening the GUI with a skull item.
- 🔧 Fixed an issue where ecoType would return null during purchases.
- 🚪 Fixed claim warp not teleporting to the updated location.
✨ New Features
- 📋 Added a way to set default flag values via FlagDefaults.yml.
- 🚩 Created new custom flags: EnterActionbar & ExitActionbar for enhanced action bar messages.
- ❌ Introduced a new command to forcefully disable flags on specific or all claims.
Example:
/claim disableflag all EnterMessage You are now entering %gpextension_getbyid_claimname_{claimid}%.
⚙️ Improvements
- 🏷️ Added a new option in the config to disable selling claim blocks.
🛠️ Fixes
- 🛠️ Fixed a
NullPointerException
when clicking on flag sort. - 🛠️ Fixed the
Claim_flag_updated
inlanguage.yml
resetting on plugin reload. - 🛠️ Fixed
EnterMessage
not working. - 🛠️ Fixed flag values not displaying the correct value.
- 🛠️ Fixed placeholders in
language.yml
not formatting correctly. - 🛠️ Fixed a
NullPointerException
on placeholder requests. - 🛠️ Fixed the issue where using the
No Elytra
flag would disable the elytra in mid-air. It now behaves the same way as theClaim Fly
flag. - 🛠️ Fixed an issue in
Claim Fly
wheregpflag.bypass.fly
was not being checked properly. - 🛠️ Fixed an issue where the plugin would not load when using Spigot.
- 🛠️ Fixed color codes not being applied when using Spigot.
- 🛠️ Fixed a
NoSuchMethodError
when using the latest Spigot build. - 🛠️ Fixed an issue where the warp location placeholder was not displaying correctly.
- 🛠️ Fixed the
ClaimDescription
flag not activating. - 🛠️ Fixed an issue with the
No Elytra
flag when used withClaim Fly
.
✨ Additions
- ✨ Added customizable messages for those who did not have any.
- ✨ Added an option in the config to disable GUIs in worlds where GriefPrevention is disabled.
- ✨ Added a new command to exclude permission groups from receiving
EntryNotify
andExitNotify
. Use/claim flagsettings <claimid> <flag> <permission>
(e.g.,/claim flagsettings 1 ExitNotify owner
to prevent the claim owner from receiving notifications when entering the claim).
🔧 Tweaks
- 🔧 Tweaked the
No Elytra
flag. - 🔧 Tweaked the unclaim and trust functionalities.
- 🔧 Adjusted the priority of the
ClaimCreatedEvent
. Ensure any plugins that listen to this event have their priority set higher than normal.
📝 Note
- ⚠️ Spigot is loosely supported, and new features are not tested directly on Spigot. Use PaperMC instead.
Major Updates 🚀
- GPFlags as Optional Dependency: GPFlags is now an optional dependency! Previously, it was required, but some default flags configured in the claim settings GUI still need it.
New Features ✨
- Support for Latest GPFlags: Added compatibility with the latest version of GPFlags. Older versions are no longer supported.
- Custom Elytra Usage Flag: Introduced a custom Elytra usage flag and added a corresponding message in the language file.
- All GPFlags Support: Added support for all flags provided by GPFlags.
- Teleport Restrictions: Teleport location cannot be set outside of the claim.
Improvements 🛠️
- Console Message Control: Added an option in the config to remove console messages.
Bug Fixes 🐞
- ClaimFly Issues Resolved: Fixed various issues related to ClaimFly.
- ClaimFly Bypass Adjustment: Users with
gpgui.bypass.fly
or OP will now lose ClaimFly when they leave a claim. This can be disabled in the config.
🔧 Fixes
- Placeholder Parsing Error: Fixed an error occurring with placeholder parsing.
🛠️ Updates
- Block Transfer Restriction: Players can no longer transfer blocks to themselves.
🚀 New Features
- New GUI for Claim Icon Selection: Added a mew gui for selecting claim icons.
- Command:
/claimicon <claimid>
to quickly access the claim icon selection GUI.
- Command:
- Transfer Claim Blocks: Added a new command to transfer claim blocks between players.
- Command:
/transferblocks <player> <amount>
- Command:
🔧 Fixes
- Claim Teleport/Entry Flag Teleport:
- Fixed issues where teleporting to a claim or using the claim entry flag would sometimes teleport players underground.
- Fixed issues where using the claim entry flag would sometimes not work at all.
🛠️ Updates
- Claim Upgrade GUI Update: Updated the claim upgrade GUI to version 1.5.
- Manual Update: For those who have automatic file updates turned off, apply the following change to line 751 in the configuration file:
click_commands:
- "[player] gpguiicon {claimid}"
⚠️ Changes
- ClaimFly Restriction: If a claim has ClaimFly disabled, a player's fly mode will be disabled upon entering the claim.
- Players with the
gpgui.bypass.fly
permission can bypass this restriction.v
- Players with the
Version number bump
Changelog
🐞 Bug Fixes
- 🛠️ Fixed NullPointerException in commands such as leave, unclaim, trust.
- 🛠️ Fixed hex color not working in GUI titles.
- 🛠️ Fixed GUI items not displaying when the item does not have priority set. Now, if the item does not have priority, it will be set to priority 1.
✨ Features
- ➕ Added an option in config to disable console spam when gpflag's fly is not disabled with bypass permission.
- ➕ Added option to disable GUI to config.yml.
- ➕ Added two new messages for the teleport logic described below.
📈 Improvements
- 🔽 Lower file size.
- 🔄 Reworked teleport logic for the Nether and End. Now, if no suitable location is found in the Nether, it continues to search along the Y axis. In the End, it searches within a 20-block radius, and if no suitable location is found, it teleports to the End spawn.
- 🔄 Claim teleport now keeps the direction the player is looking at.
🔧 Preparations
- 🛠️ Preparing backend to remove GPflag's as dependency.
- Fixed <Selected_public> in claim list permission sort
- Added cooldown to claim teleport. bypass permission gpgui.teleport.bypasscooldown
- Added delay to claim teleport and warp. bypass permission gpgui.bypass.bypassdelay
Bug Fixes:
- 🐞 NullPointerException Fix: Addressed a rare occurrence of a
NullPointerException
when executing the leave claim command. - 🐞 Blacklist and Whitelist Fix: Rectified issues related to claim entry blacklist and whitelist functionality, ensuring they now work as expected.
Optimizations:
- ⚙️ Performance Boost: Streamlined code by removing unnecessary
toString
method calls, resulting in improved efficiency. - ⚙️ File Size Reduction: Successfully reduced the plugin’s file size from 2.6 MB to a leaner 1.3 MB.
Enhancements:
- ✨ Theme Customization: Resolved an issue where changing the theme was not functioning correctly. Now users can seamlessly customize their experience.
- ✨ Version Compatibility: Added support for Minecraft version 1.21, ensuring compatibility with the latest game updates.
Deprecated Features:
- ⚠️ OwnerFly Flag Removal: The OwnerFly flag from gpflag has been deprecated and is no longer supported. Users are encouraged to explore alternative options.
Thank you for your continued support! Feel free to explore the new features and report any feedback or issues. Happy crafting! 🛠️🌟
🐛 Bug Fixes and Improvements:
- Fixed issue with the claim entry flag and improved teleport detection. Now, if a valid teleport location is not found, the player will be sent to the world spawn. Invalid teleport locations, such as void areas, are also handled appropriately.
🆕 New Features:
- If teleport location is set manually, the suitable location finder will be skipped.
🐛 Bug Fixes:
- Fixed issue with /trust <playername> not working introduced in 4.5.14
Version 4.5.14
Bug Fixes
Fixed: GUI item exploit
Fixed: Teleport issues
Fixed: Trust GUI not opening when
options.Claim_trust.direct_command
is enabled in the configFixed: Menu title is null issue
Updates
Updated:
PlayerList_EN.yml
. If you haveauto Skip_File_Version_Update
set totrue
, apply the changes manually.
Fixed : Removed unnecessary Player join listener
- Fixed: Config.yml not loading on first startup due to changes in version 1.5.10.
- Added: Option to enable permission mode for claim teleport.
- Fixed: Chat spamming with "no permission to fly" message.
- Tweaked: Claim fly functionality.
- Fixed: Placeholder economy not working.
- Added: New option in config to make /trust <playername>. directly trust players without opening gui
- Fixed: Sell price not set correctly
🔧 **Enhancements and Fixes:**
- Improved claim fly permission detection: When flying outside a claim with the `gpgui.bypass.fly` permission, fly will not be disabled.
- **Fixed**: Bug with disabled flags in the config not working if the flag was already enabled in a claim.
- **Added**: Option in the config to skip GUI file version check (versions are skipped by default).
```
options:
# skips updating gui files to latest version, you need to apply changes manually.
Skip_File_Version_Update: false
```
- Improved file update system.
- **Fixed**: `java.lang.NullPointerException` caused by a null claim in `com.toonystank.gpextension.region.RegionsManager.get(String)`.
- **Added**: Support for PlaceholderAPI in the language file.
- **Fixed**: Language configuration now reloads properly.
🛠️ Improvements:
- Improved active listener implementation for enhanced performance.
🐞 Bug Fixes:
- Updated ClaimMenu to version 1.4, addressing some priority issues.
- Fixed a bug with Claim Fly where players could exploit the fly detection system by placing a bed outside the claim, allowing them to retain fly outside the claim until re-entering.
- Fixed menu navigation not working.
🔧 Improved ClaimFly Flag: Changed the implementation to use an active listener for better performance and reliability.
Fixed: Floodgate won't load when used with Velocity or BungeeCord. causing the plugin to be stuck on loop
🛠 Tweaked: Bedrock player detection in the absence of Geyser.
✨ Added support for 1.20.6: Fixed anvil GUI not working on Minecraft version 1.20.6