## LederProtections v1.0.0-beta.5
This update adds protection sethome support and improves offline-mode safety for player heads in GUIs.
### Added
- Added `/p sethome`.
- Added support for custom teleport points inside protections.
- Added configurable sethome support under the teleport settings.
- Added the `lederprotections.sethome` permission.
### Changed
- Protection teleport buttons now use the custom sethome location when available.
- If a custom sethome becomes unsafe, the plugin now falls back to a nearby safe teleport location.
- Improved player head handling in GUIs for offline-mode or incomplete player profiles.
- `/lep info` now reports online-mode/offline-mode status.
### Fixed
- Fixed possible GUI issues caused by player heads or skins in offline-mode environments.
- Fixed teleport cancellation when a custom sethome exists but is no longer safe.
### Notes
- Offline-mode is better supported for GUI safety, but changing an existing server from online-mode to offline-mode may still affect player UUIDs.
- Paper is recommended for production servers.
- Folia is not supported yet.
## LederProtections v1.0.0-beta.4.1
### Added
- add offline compatibility
## LederProtections v1.0.0-beta.4
This update focuses on admin usability, player experience, permission-based limits, notifications and general beta polish.
### Added
- Added `/lep admin`, a dedicated admin protection browser.
- Added filters and sorting to the admin protection browser.
- Added creation date display in the admin protection browser.
- Added permission-based protection limits.
- Added action bar messages when entering or leaving protections.
- Added player notification preferences in `/p`.
- Added public support files, issue templates and contribution documentation.
### Changed
- `/p` now only shows protections where the player has a normal relationship, such as owner, co-owner or member.
- Admins now use `/lep admin` to view all server protections.
- Improved chat messages to be shorter, cleaner and more contextual.
- Improved Spanish and English translations.
- Improved `/lep admin` localization for filters, sorting and protection information.
- Improved documentation and compatibility notes.
### Fixed
- Fixed missing Spanish notification preference messages.
- Fixed admin protection browser filter labels showing technical names.
- Fixed the admin browser viewer head showing as a default Steve head.
- Fixed `.gitignore` formatting and repository cleanup issues.
- Removed duplicated issue template files.
### Security and Stability
- Improved command permission handling.
- Improved optional protection ID handling.
- Improved persistence handling for protection updates.
- Improved economy transaction safety.
- Improved GUI safety and player preference persistence.
### Compatibility
- Spigot 1.21.x
- Paper 1.21.x
- Purpur 1.21.x
- Pufferfish 1.21.x
Paper is recommended for production servers.
Folia is not supported yet.
### Notes
This is still a beta release. Testing on a staging server is recommended before production usage.
See the previous changelog
# LederProtections v1.0.0-beta.3
## Added
- Added `/lep admin`, a dedicated administrative protection browser.
- Added `lederprotections.admin.protections` permission for viewing all server protections through the admin GUI.
- Added clearer Folia diagnostics while keeping Folia marked as unsupported.
- Added `.gitattributes` line-ending normalization for cleaner Git diffs.
## Changed
- `/p` is now a personal player protection menu, even for administrators.
- Administrators no longer automatically see every server protection in `/p`.
- Global protection browsing is now separated into `/lep admin`.
- Improved command permission routing so `/lep info`, `/lep status`, and `/lep version` can use `lederprotections.info` without granting normal player management access.
- Improved optional protection ID handling for commands such as rename, transfer, member, co-owner, block, and debug helpers.
- Improved persistence handling so commands and GUIs do not report success if protection saving fails.
## Fixed
- Fixed PvP-denied interactions applying knockback in protected areas.
- Reduced spam from repeated PvP-denied messages.
- Prevented shop purchases when the player inventory is full.
- Prevented purchased protection stones from being dropped on the ground when inventory space is unavailable.
- Hardened economy transactions for shop purchases, upgrades, and teleport costs.
- Hardened protection update persistence after rename, transfer, member changes, blocked-player changes, rule changes, debug changes, and GUI changes.
- Improved safe handling of invalid explicit protection IDs to avoid accidentally falling back to the current protection.
## Notes
This is still a beta release. Testing on a staging server is recommended before production usage.
# Changelog
## 1.0.0-beta.2
### Compatibility
- Migrated the public build to a Bukkit/Spigot-compatible base.
- Removed the runtime requirement for Paper Adventure components from GUI, item and message layers.
- Verified compatibility on Minecraft 1.21.x with Spigot, Paper, Purpur and Pufferfish.
- Paper remains recommended for production servers.
- Folia is not supported yet.
### Security and hardening
- Hardened plugin GUIs against shift-click, number-key swaps, double-click, drag, drop and offhand swap interactions.
- Added extra inventory synchronization for Spigot ghost-item behavior when players close GUIs immediately after blocked clicks.
- Centralized GUI item creation and GUI context parsing to reduce duplicated logic and translation-sensitive comparisons.
### Support tools
- Added `/lep info`, `/lep status` and `/lep version` for quick runtime diagnostics.
- Added platform diagnostics for Spigot/Paper/Purpur/Pufferfish-like servers and Adventure runtime availability.
- Added a dedicated `lederprotections.info` permission for runtime information access.
## 1.0.0-beta.1
Initial beta with WorldGuard-backed protection stones, custom role-based rules, GUI management, Vault economy support, upgrades, borders, PlaceholderAPI support and audit/backups.