PLEASE READ
**This update adds SQL support. On the first run the plugin will automatically migrate JSON to SQLite. The existing entity protections currently can't be migrated. Please note that this is an BETA build. Its NOT recommended to install this version on a production server without testing the conversion with a redundant copy of your plugins/ChestProtect/Data folder.**
+ Added: SQLite and MySQL support
+ Added: Entity data is now being saved onto the entities data container instead of the CP DB
+ Added: On demand entity data parsing and cache
+ Added: Cache between entity parsing for faster retrieval
+ Added: Groups, which allow protection owners to manage trusted players easier across multiple protections
- Fixed: Auto lock not working with armor stands
- Removed: JSON storage
Your existing data will migrate to json at initial run. Please restart your server after that.
Please note that existing entity protections can not be migrated.
Pressure Plates
+ Added: Support for pressure plates
- Fixed: Pressure plates not working as redstone flag not showing up in protection menu
Double Door Open
- Fixed: Shift open iron doors would cause block in hand being placed
- Fixed: Interaction with type.isInteractable = false
Hotfix - Chest Lock
It is highly recommend to install this version if you currently use 3.10.8.
- Fixed: Not being able to lock chests
Redstone Setting and French Language
- Fixed: Redstone setting not applying to new protections
- Updated: French (fr-FR) language files by @Nogapra
Lands Flag
- Fixed: Issue that on some setups the flag failed to register
Expiration and Chat Inputs
- Fixed: Protection expiration
- Improved: Chat inputs
Minor - Fixed Error at entity tracking
- Fixed: Error at entity tracking
Redstone
+ Added: Redstone toggle setting for buttons, levers, comparators and repeaters
Enchanted Menu Items
+ Added: enchanted: true, option to menu icons.
More information: https://github.com/Angeschossen/General/wiki/GUI-Menus#optional-item-parameters
- Fixed: Minor issue with entity tracking
Minecraft 1.17 and Java 16
+ Added: Support for Spigot and Paper 1.17
Java 16 is supported too. You can still use lower Java versions without any issues (however Spigot, Paper 1.17 requires Java 16).
Configuration and Lands Owner Option
+ Added: Option to allow region owners to unlock protections from region members:
# Allow region owners to unclock protections of other players?
# Supports: Lands (https://www.spigotmc.org/resources/53313), SuperiorSkyblock2, BentoBox, PlotSquared, WorldGuard
owner-unlock: false
+ Added: Hopper as default protectable
- Fixed: Always updating in console log
- Fixed: Not able to set empty lists in config
The complete config file update mechanisms have been recoded. It aims to fix multiple minor issues which
could have been annoying sometimes. Please report any issues to via pm or Discord.
Levels Economy and Messages
+ Added: Optional economy type: levels ('levels' in config.yml)
- Fixed: Wrong player name in the message trust.already
- Fixed: Missing message: untrust.already
- Changed: Renamed 'locked' and 'unlocked' sounds to 'locked_sound' and 'unlocked_sound' to allow automatic detection
You can now also disable these sounds by setting them to ''
Minor - Region and Cost Calc
- Improved: Region provider handler
- Improved: Cost calculation
Lands Lock Flag
NOTE: If you use Lands: This version is only compatible with the latest version of Lands.
- Added: chestprotect_lock flag to Lands
lands:
flags:
chestprotect_lock:
name: 'Lock Objects'
description: 'Allow members of this role to lock containers in this area?'