Note: I am new to the coding scene and the plugin isn't fully finished. Please reach out for any bugs or issues you may have before downvoting.
While I have tested this plugin quite extensively (and also use it live on a community server), that doesn't mean it may not have issues. I just don't know of any, thank you.
Context (skip if you want) I spent hours and days trying to find a sufficient Minecraft Chest-Locking plugin that met all of my needs, to no avail. Most plugins offered only either a bare minimum locking functionality with bits and pieces of what I wanted split among various different plugins. So I decided to make my own. It took a while...
What is this? Why is it different? This plugin has a few features that in my opinion sets it apart from others;
Allows you to create lock names
Allows you to use a punch or tool command, to;
Lock entities under the lock name
Manage the lock mode (Private | Public | Donation)
Visualise the parts of the lock you have selected
Whitelist blocks that can be locked (via config.yml)
Admin bypasses
Interactive interface/GUI (such as /lock list, clickable buttons)
Links with Factions, PlaceholderAPI, ChatControl and Vault
Links through Vault to economy, with configurable options to charge for new locks and locking entities and also refunds for removing/deleting
This is different from other plugins as most other plugins rely on a password/code or just 1 block/entity at a time and don't really have the freedom to add to a whitelist, giving server owners complete freedom and control over what they want their players to lock down.
Explanation: Creates the Lock Name, which entities can be bound to
An illustration of the difference between the Lock Name and Locked Entities is to think of an umbrella. The umbrella is the "overarching", the people under the umbrella are the entities it is being held by.
/lock punch OR /lock tool
Lock Punch = a single use command; no tool; input once, hit an entity to lock/unlock, command auto-disables
Lock Tool = spawns you a special stick tool to use freely and infinitely to lock and unlock entities, use the command again to disable
/lock list
Will display as per the below;
Lock Name | Mode | Use/Focused | Show | Edit | UnlockAll | Delete
Lock Name = the name of the lock. This is what you bind entities to
Mode = the mode of the lock. Private/Public/Donation
Use/Focused = this plugin has a focused mode operation. Once you create a lock, you auto-focus it, so when you lock entities, it remembers which lock you have focused. You can switch the focused lock by clicking the interactive GUI on /lock list, or by typing /lock use <name>
Show = this option will show you the mode of the lock, how many parts are bound to the lock (I.E. 1, 5, 10, 1000 etc), which trusted players can access this lock and which trusted factions can access the lock
Edit = unused right this moment, future feature
UnlockAll = clicking this will unlock every entity bound by this lock name
Delete = deletes the lock name, unlocking all locked entities at the same time
/lock show
{see above /lock list, 6th bullet down}
/lock edit mode
Modes: Private / Public / Donation
Private = just you, only you
Public = only you can delete or unlock, but anyone can open the entity and manage the contents, including depositing and withdrawing
Donation = acts as a "post box", allows people to drop items in but only the owner can withdraw
(ensure the correct lock is selected, then /lock edit mode donation
/lock edit name
/lock edit name Lock1 Lock2
Switches the name from Lock1, into Lock2, all locked entities under Lock1 will follow into Lock2
/lock visualise
/lock visualise on/off
You can have an infinite number of locked entities under a single name, therefore it is important that you can see those in and among a crowd. Using visualise will point them out
/lock whitelist
Allows you to see what can be locked; configurable in the config.yml
Future Plans: This plugin is just the core of a family, the first of its name (alright, Daenerys!...). I have plans to expand this with additional modular addons.
This release is the core module with basic (but advanced) locking functionality
There are more planned modules;
Shop module
Using the /lock edit mode option, convert the lock to a shop
Allowing you to add items to the shop to buy/sell
Access module
Using /lock access (not implemented in core) to add levels of access for other players and/or factions to use your locks
Mechanical module
Implement features and protections around redstone, droppers, hoppers and so on