You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When processing ClaimRent transactions, if a claim is identified as an admin claim, its owner is now set to "SERVER" (using a fixed UUID or identifier) to ensure correct behavior.
The INSERT statements for ClaimRent now conditionally set the owner to SERVER if the claim is an admin claim.
Sign Update Consistency:
Modified ClaimSell to update its sign immediately after creation.
Updated ClaimRent to also perform an immediate sign update (by scheduling a one-tick delay) so that rental signs display correct information instantly.
Updated ClaimLease to also perform an immediate sign update (by scheduling a one-tick delay) so that rental signs display correct information instantly.
Updated ClaimAuction to also perform an immediate sign update (by scheduling a one-tick delay) so that rental signs display correct information instantly.
Database Handling Enhancements:
Fixed issues with UUID parsing when loading transactions from the database.
Improved error checking for owner values during data load to prevent invalid UUID strings.
Code Quality and Refactoring:
Cleaned up repeated code between transaction types and centralized common behavior (e.g., sign updating and logging).
** Added missing getter methods for ClaimAuction, ClaimLease, ClaimRent, and ClaimSell to support proper database operations.
Renamed the old transactions.data file to transactions.yml. (The plugin will automatically reformat if the old file is detected)
** This will be helpful for future upgrades.
Dependency and Compatibility:
Ensured compatibility with the latest versions of Vault, EssentialsX, GriefPrevention, and GriefDefender.
** Added paper-plugin.yml to ensure Paper servers load the plugins in the correct order.
** Updated the plugin's plugin.yml and paper-plugin.yml for API version 1.21.4.
General Bug Fixes:
Resolved a bug where the sign for [sell] transactions remained blank.
Addressed potential null pointer exceptions during claim data loading.
Improved logging to capture and record transaction events more clearly.