PrivateChest v1.4
New: Public Developer API
• Introduced `PrivateChestAPI` under `me.tuplugin.privatechest.api`.
• Developers can now easily:
- Check if a block is locked ➔ `isLocked(Block)`
- Check if a player is the owner ➔ `isOwner(Block, Player)`
- Get the UUID of the owner ➔ `getOwner(Block)`
- Lock a block programmatically ➔ `lockBlock(Block, Player, String)`
- Unlock a block programmatically ➔ `unlockBlock(Block)`
• Static, safe, and ready for direct integration without touching internal classes!
New: API Documentation
• Added a dedicated section in README.md showing how to use the PrivateChestAPI with examples.
Improvements:
• Better internal structure for future feature expansion.
• Clean and separated API to prevent future compatibility issues.
Multilingual Ready:
• All messages and configurations remain fully editable for translations!
✅ Tested and verified on:
• Minecraft 1.16.x → 1.21.5
• Paper, Pufferfish, Purpur forks
Plugin Statistics:
• View anonymous plugin usage at: [bStats - PrivateChest](
https://bstats.org/plugin/bukkit/PrivateChest)
---
Tip: Even though the plugin is in English by default, you can fully translate it by editing `messages.yml` and `config.yml`!