What is HydraLWC?
HydraLWC is a block and entity protection plugin by Team Hydra. Players lock their containers, doors and other blocks (and entities like item frames, armor stands and chest boats) so nobody else can open, take from or break them, then share access exactly the way they want.
Most containers are locked automatically the moment they are placed. Everything else can be locked with a single command and a click. Protections are kept in a small SQLite database by default, or in MySQL if you run a larger server.
HydraLWC is our maintained edition of the Bolt protection plugin, kept current with the latest Paper release, with its own permission nodes (hydralwc.*), a clean branded chat style, and no telemetry.
Key features
- Auto-protect on placement for chests, barrels, furnaces, shulker boxes, hoppers, lecterns, crafters, copper chests and many more (fully configurable per block and per entity).
- Protects entities too: item frames, glow item frames, armor stands, paintings, leash knots, copper golems, chest boats and storage minecarts.
- Protection types:
private,display,deposit,withdrawalandpublic, each with its own set of allowed actions. Add your own types in the config. - Flexible sharing: add players, custom player groups, passwords or permission nodes to a protection's access list.
- Trust lists: trust a player once and they get access to all of your protections.
- Transfers: hand a protection to another player, with optional transfer requests the recipient has to accept.
- Doors: optional auto-close timers, opening iron doors by hand, and opening double doors together.
- Redstone, hopper, piston and explosion protection, with experimental redstone tracking and movable-piston support.
- Player modes:
persist(keep locking without retyping),nolock(opt out of auto-protect) andnospam(quieter messages). - Admin tools: find, nearby search, purge, expire unused locks, clean up protections of blocks that no longer exist, force transfers, and database export/import.
- Migration built in: convert from LWC, Lockette, LockettePro, Deadbolt and BlockLocker.
- Translations: English built in, plus your own language files.
- Developer API: the
BoltAPIservice is unchanged, so add-ons written for Bolt keep working. - No telemetry: no metrics, no update pings, no outbound connections.
Requirements
Requirement Details Server Paper 26.3 (built and tested against Paper 26.3). The plugin also declares Folia support. Java Java 25 Database None to install. SQLite is used by default (the driver ships with Paper). MySQL is optional. Dependencies NoneThe upstream project targets Spigot, Paper and Folia from 1.20.6 onward. This build is compiled against the Paper 26.3 API, so older server versions are not supported.
Installation
- Stop your server.
- Drop
HydraLWC-1.2.37.jarinto yourplugins/folder. - If you were running Bolt before, remove the old Bolt jar (they share the same internals and must not load together). Your data is picked up automatically, see Migrating from Bolt below.
- Start the server. HydraLWC creates its files on first boot.
- Place a chest. It is locked to you automatically. Type
/lockand click anything else you want to protect.
First-boot files
Everything lives in plugins/HydraLWC/:
config.yml
All settings: database, protection types, access types, which blocks and entities are protectable
hydralwc.db
The SQLite database holding every protection, group and pending transfer
profiles
A small cache of player names and UUIDs, used for name lookups
*.properties
Optional. Drop your own translation files here (see FAQ)
Commands
The main command is /protect (alias /bolt). /lock and /unlock are shortcuts. Most commands ask you to click the block or entity afterwards.
/lock [type]
Lock something (defaults to private)
hydralwc.command.lock
/unlock
Unlock something you own
hydralwc.command.unlock
/protect info
Show a protection's type, owner and access list
hydralwc.command.info
/protect edit <add|remove> <player>
Add or remove players on a protection
hydralwc.command.edit
/protect modify <add|remove> <access> <source-type> <sources...>
Add or remove any source (player, group, password, permission) with a chosen access type
hydralwc.command.modify
/protect group <create|delete|add|remove|list> <group> [players...]
Manage your custom player groups
hydralwc.command.group
/protect trust [add|remove <source-type> <source> [access]]
Edit your trust list (access to all your protections), then confirm
hydralwc.command.trust
/protect password <password>
Enter the password for a password-protected block
hydralwc.command.password
/protect transfer <player>
Transfer a protection you own to another player
hydralwc.command.transfer
/protect requests <list|accept|deny|cancel> [player]
View and answer pending transfer requests
hydralwc.command.requests
/protect mode <persist|nolock|nospam>
Toggle a player mode
hydralwc.command.mode
/protect help [subcommand]
Command help
hydralwc.command.help
/protect admin find <player>
List a player's protections
hydralwc.command.admin.find
/protect admin nearby <radius>
List protections around you
hydralwc.command.admin.nearby
/protect admin purge <player>
Remove all protections owned by a player
hydralwc.command.admin.purge
/protect admin expire <time> <seconds|minutes|hours|days>
Remove protections not accessed for that long
hydralwc.command.admin.expire
/protect admin cleanup
Remove protections whose block no longer exists
hydralwc.command.admin.cleanup
/protect admin transfer <player> [to]
Force a transfer of one protection, or of all of a player's protections
hydralwc.command.admin.transfer
/protect admin trust <player> <list|add|remove> [...]
View or change another player's trust list
hydralwc.command.admin.trust
/protect admin storage <export|import>
Export to or import from export.db (convert between SQLite and MySQL)
hydralwc.command.admin.storage
/protect admin convert [lwc|bolt|lockette|lockettepro|deadbolt|blocklocker|entities]
Import protections from another locking plugin
hydralwc.command.admin.convert
/protect admin flush
Write pending changes to the database now
hydralwc.command.admin.flush
/protect admin reload
Reload the config, translations and protection rules
hydralwc.command.admin.reload
/protect admin debug / report
Technical protection and cache information
hydralwc.command.admin.debug / .report
Permissions
All player commands are granted to everyone by default. Admin commands default to operators.
Permission Default Descriptionhydralwc.command
everyone
Use /protect
hydralwc.command.<name>
everyone
Player subcommands: lock, unlock, info, edit, modify, group, trust, password, transfer, requests, mode, help, callback
hydralwc.command.info.full
op
See full details (created, last accessed) on protections you do not own
hydralwc.command.admin
op
Use /protect admin
hydralwc.command.admin.<name>
op
Each admin subcommand: find, nearby, purge, expire, cleanup, transfer, trust, storage, convert, flush, reload, debug, report
hydralwc.admin
op
Full owner-level access to every protection
hydralwc.mod
op
View-only access to every protection (open, but not take or edit)
hydralwc.protection.notify
op
Get a message when you use someone else's protection
hydralwc.protection.notify.self
false
Also get a message when you use your own protection
hydralwc.type.protection.<type>
none
Needed to lock with a protection type that has require-permission: true
hydralwc.type.access.<type>
none
Needed to grant an access type that has require-permission: true (for example admin)
hydralwc.type.source.<type>
none
Needed to use a source type that has require-permission: true (for example permission, door)
hydralwc.protection.lock.<block>
none
Needed to lock that block or entity when its config sets lockPermission: true
hydralwc.protection.autoprotect.<block>
none
Needed for auto-protect on that block or entity when its config sets autoProtectPermission: true
hydralwc.permission.<action>
false
Bypass: perform that action on any protection. Actions: interact, open, deposit, withdraw, modify, mount, edit, destroy, redstone, entity_interact, entity_break_door, auto_close, push, pull
Configuration overview
plugins/HydraLWC/config.yml is split into a few sections. Run /protect admin reload after editing.
language
Default language (en built in, or the name of your own translation file)
settings.use-action-bar
Show short messages in the action bar instead of chat
settings.per-player-locale
Pick each player's language from their client setting when a translation exists
settings.transfer-requests
Transfers must be accepted by the recipient (/protect requests)
settings.transfer-resets-access
Clear the access list when a protection changes owner
settings.default-modes
Modes every player starts with, for example [nospam]
settings.blocks.dispensers-lock-blocks
Shulker boxes placed by a locked dispenser are locked to the dispenser's owner
settings.blocks.experimental-redstone-tracking / experimental-piston-movement
Opt-in redstone ownership tracking and moving protections with pistons
settings.entities.allow-*-damage
Whether protected entities can take void, environment or player damage
database
type (sqlite or mysql), optional path for SQLite, and hostname, database, username, password, prefix, properties for MySQL
protections
Protection types and the actions each one allows. default: true marks the type used by /lock
access
Access types you can grant on a protection (normal, admin), with their allowed actions
sources
Which source types players may use (player, group, password, permission) and whether each needs a permission
blocks / entities
Every protectable block or entity. autoProtect is a protection type or false; optional lockPermission and autoProtectPermission. Block tags like '#shulker_boxes' are supported
doors (optional)
open-iron, open-double, close-after (seconds) and fix-plugins for door behavior
Actions you can list in allows: interact, open, deposit, withdraw, mount, edit, destroy, redstone, entity_interact, entity_break_door, push, pull, auto_close.
Storage options
Option When to use How SQLite (default) Almost every server. Zero setupdatabase.type: sqlite. File: plugins/HydraLWC/hydralwc.db (or set database.path)
MySQL / MariaDB
Large servers, or if you want the data in an existing database server
database.type: mysql plus hostname (host:port), database, username, password. Optional table prefix and JDBC properties
Changes are written in the background and flushed on shutdown. To move between SQLite and MySQL: run /protect admin storage export on the old setup, switch the database settings, restart, then run /protect admin storage import.
Migrating from Bolt
HydraLWC is a drop-in replacement for Bolt:
- Database: if
plugins/Bolt/bolt.dbexists, HydraLWC keeps using it automatically. Nothing to copy. A MySQL setup keeps working once you copy thedatabasesection over. - Config: HydraLWC writes a fresh
plugins/HydraLWC/config.yml. Copy over any settings you had changed inplugins/Bolt/config.yml. - Permissions: nodes are renamed from
bolt.*tohydralwc.*. Update your permissions plugin. Note that any lock that used apermissionsource with abolt.node needs the node changed too. - Commands:
/boltstill works as an alias of/protect, and/lockand/unlockare unchanged. - Add-ons: the
BoltAPIservice and Java package are unchanged.
Migrating from other plugins
From Command Notes LWC/protect admin convert (then /protect admin convert entities if prompted)
LWC must be installed and enabled. Reads plugins/LWC/core.yml and its database. LWC config settings are also converted on first start
Lockette, LockettePro, Deadbolt, BlockLocker
/protect admin convert <plugin>
Converts sign-based locks in loaded worlds
Take a backup before converting. Remove the old plugin once you are happy with the result.
FAQ and troubleshooting
A chest I placed is not locked. Check that the block is listed under blocks with an autoProtect type, and that you are not in nolock mode (/protect mode nolock toggles it).
How do I let a friend into my chest? /protect edit add <player> and click the chest. To give them access to everything you own, use /protect trust.
Can staff open locked containers? Give hydralwc.mod for view-only access, or hydralwc.admin for full access. Operators have both by default.
The console warns about hoppers. HydraLWC checks hopper moves to stop hoppers draining locked containers. If you disabled Paper's hopper move event, hopper protection cannot work. Set settings.ignore-hopper-nag: true to silence the warning if that is intentional.
How do I translate or reword messages? Copy the keys you want from the built-in English file into plugins/HydraLWC/en.properties (or a new file like de.properties and set language: de), edit them, then /protect admin reload. Messages use MiniMessage formatting.
Protections disappeared after using WorldEdit. Blocks removed by other plugins leave their protection behind. Run /protect admin cleanup to remove protections of blocks that no longer exist.
Credits
Source code: available on request from Team Hydra; a public repository is coming soon.