Improvements
- /claim reload now reloads all files by default
- No need to use /claim reload all anymore – a simple reload does it all.
- New Config Option: disable_anvil_mode
- Added
inCode:disable_anvil_mode.Code:config.yml- When set to true, the plugin will use chat input instead of the anvil GUI for inputs.
- Input messages are now customizable in
.Code:language.yml
Other
- General code cleanup and minor internal optimizations
Improvements
Improved Claim Teleport – Teleportation is now async, ensuring smoother performance!
Enhanced Claim Visualization – Display blocks now despawn on chunk unload, keeping things clean and efficient!
Improvements
- Enhanced PlayerTime & PlayerWeather Flags
- These flags now properly disable their effects when a player leaves a claim after the flag has been deactivated.- Improved Timed Flight Low-Time Message
- When a player's flight time drops below 10 seconds, the message will now display:
Flight time: X seconds for better clarity.
Fixes
- Title Color Formatting
- Fixed an issue where title colors were not formatting correctly.- Claim Teleportation Fix
- Fixed claim teleportation issues—this time, for real!
- NoDoorOpen Flag Fix
- Fixed an issue where the NoOpenDoors flag from GPFlags was not working when activated from the GUI.- Expire List Fix
- Fixed a NullPointerException when trying to open the expire list.- PlayerWeather Flag Persistence
- Fixed an issue where the PlayerWeather flag was not saving data, causing it to reset on server restart.- Sorting Issue in /claimlist expirelist
- Fixed an issue where sorting was not working correctly in.Code:/claimlist expirelist- Expiring Map Error
- Fixed an error when retrieving the expiring map.- PlayerTime Flag Persistence
- Fixed an issue where the PlayerTime flag was not saving correctly.
Additions
- New Placeholders for Block Claim Checks
– Checks if the block the player is looking at is claimed.Code:%gpextension_isclaimed% – Displays the owner of the block the player is looking at.Code:%gpextension_claimedby% – Checks if a specific block at coordinates (x, y, z) is claimed.Code:%gpextension_isclaimed_x_y_z% – Displays the owner of a specific block at coordinates (x, y, z).Code:%gpextension_claimedby_x_y_z%- Flight Time Warning Message
- Players now receive a notification when they have 10 seconds of flight time remaining.
Fixes
- Flag Disabling on Adjacent Claim Transition
- Resolved an issue where flags were not being properly disabled when moving between adjacent claims.
- Flight Off Effect Not Triggering
- Fixed an issue where the flight-off effect was not running when a player’s flight was disabled.
- Claim Flag Settings Persistence
- Fixed an issue where
would reset after a server restart.Code:/claim flagsettings- Anvil GUI Localization Reload
- Fixed an issue where edits to
for Anvil GUI items were not applied after using the reload command.Code:language.yml- The reload command now properly refreshes the Anvil GUI.
- Timed Flight Placeholder for New Players
- Fixed an issue where the Timed Flight placeholder would not work for new players until a server restart.
- Claim Teleportation Issue
- Resolved a bug preventing players from teleporting to their claims.
- Claim Invite Updates
- Fixed an issue where claim invites were not being properly updated.
- Incorrect Messages in Claim Commands
- Fixed an issue where the
,Code:/claim ban,Code:/claim kickout, andCode:/claim whitelistcommands displayed the wrong player name in messages.Code:/claim unwhitelist
This update improves claim flag handling, adds new placeholders for claim checks, enhances flight management, and resolves multiple bugs to ensure smoother gameplay.
Fixes
- Flight Not Disabling on Claim Exit
- Resolved an issue where player flight was not being properly disabled upon exiting a claim.
- GUI Error (Null Item Meta)
- Fixed an error caused by null item metadata in the GUI, preventing gui from opening.
Fixes
- Claim List Display
- Fixed an issue where /claimlist was not showing all claims, including sub-claims and normal claims.
- Previously, it was set to display only the main claim by default.
- PlayerRegionEnterEvent Error
- Resolved an error occurring during the PlayerRegionEnterEvent.
- Preventing Unintended Kickouts
- Fixed an issue where a player could use /claim kickout <player> even if the target was not inside the claim.
- Now, the command only works if the target player is actually within the claim.
- Correct Kickout Messaging
- Resolved an issue where the system incorrectly displayed that the wrong player was kicked.
- The message now properly reflects which player was removed from the claim.
Improvements
- Block Display Metadata
- The plugin now assigns metadata to all block displays it spawns.
- A periodic check ensures that block displays with this metadata have properly despawned after the despawn method is called.
- Owner-Only Flag Visibility
- Added a new option in flagoptions.yml for each flag:
flagname:
owner_only: false
- When set to true, only claim owners can view and activate the flag in the flag menu.
- Instant Ban Kickout
- /claim ban <player> now immediately kicks the player out of the claim instead of waiting for them to move.
- Sub-Region Movement Detection
- Improved detection of player movement between sub-regions.
- Prevented duplicate enter and exit messages from appearing.
- Enhanced /claim flagsettings Command
- The /claim flagsettings command now works with all custom flags, improving flexibility and customization.
Fixes
- Sub-Region Flag Activation
- Resolved an issue where flags could not be activated in sub-regions.
- Sub-Region Permission Check
- Fixed a NullPointerException that occurred during sub-region permission checks.
- Sub-Claim Menu Issue
- Resolved an issue where the sub-claim menu was not opening properly.
New Features
- Hide Flags Without Permission in Claim Upgrades: Added a new option in flagsettings.yml to hide flags from claim upgrades if the player does not have permission to activate them.
- Configuration:
YAML:Restrictions: # Hide flags from claim upgrade if player does not have permission to activate it HideFlagsNoPermission: enabled: false- By default, this feature is disabled. Set enabled: true to activate it.
- New Commands for Claim Management: Introduced the following commands to enhance claim control:
- /claim kickout <player> [claimid]: Kicks a player outside the claim.
- /claim ban <player> [claimid]: Adds a player to the blacklist for the claim (similar to the NoEnter flag).
- /claim unban <player> [claimid]: Removes a player from the blacklist for the claim.
- /claim whitelist <player> [claimid]: Adds a player to the whitelist for the claim (allows entry when blocked for others).
- /claim unwhitelist <player> [claimid]: Removes a player from the whitelist for the claim.
- Command Notes:
- <player> = Required parameter.
- [claimid] = Optional parameter.
Fixes
- Permission Handling: Resolved an issue where permissions set to NONE were incorrectly treated as valid permissions.
Improvements
- Player Ground Detection: Enhanced the detection of whether a player is on the ground, improving the flight-off balloon animation.
- Claim Visualization: Moved claim visualization feature out of experimental. Now, this advanced claim visualization is enabled by default, making it easier to see claims with block displays.
