PadLock icon

PadLock -----

Lock and Unlock Containers with a Key



PadLock 3.7

Overview:

Padlock is plugin that allows players to lock and unlock containers in with key made from named tripwire_hook.

Keys can be created and renamed using an anvil, or using the built in /rename command with permission.

Chests can then locked and unlocked by player interaction while sneaking with the key in hand; using shift-right-click on the chest or container.

Features:
  • Works on Chests, Trapped Chests, Barrels, Shulker Boxes, Brewing Stands, Dispensers, Droppers, Hoppers, and Furnaces
  • Configure chests to be opened by the player only when unlocked, only when the proper key is in their hand, or only when the proper key is in their inventory.
  • Configure chests to allow flow of items to and from containers when locked.
  • Disables damage to chests if locked.
  • Item status is displayed on the Action Bar.
  • Override of locks with permission padlock.bypass and any key.
  • Uses built in container lock capability, compatible with block loggers.
Uses:
  • Simple command-less chest protection without complicated plugins.
  • Create duplicate keys using the same name for others to allow access to shared chests.
  • Create one time keys to give out for present chests.


Commands:

/padlock reload - reloads the padlock configuration
/rename <name> - renames the item in hand

Permissions:

padlock.reload - enables the padlock reload command
padlock.bypass - allows picking and breaking locks (admin)
padlock.rename - enables the rename command
padlock.rename.color - enables color code in the rename command

Configuration:

Code (Text):

#
# PadLock
#
# Plugin Configuration
#

padlock:
  # can be used to disable plugin
  enabled: true
  # keymode: <inventory/hand/unlocked>
  keymode: inventory
  # should allow items from locked containers to flow
  flow: true
  # chest names that are accessible when locked
  accessible:
    - 'Community Chest'
 

Known Limitations:
  • Non-container blocks such as doors, trapdoors and gates are no longer supported.
Disclaimer:
The plugin is provided AS-IS. Support is only provided to buyers.
This currently supports the latest versions of 1.20.4 and may break with future releases.
Resource Information
Author:
----------
Total Downloads: 4,944
First Release: Apr 8, 2016
Last Update: Dec 18, 2023
Category: ---------------
All-Time Rating:
10 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings