- Compatible API Versions
- 1.0
Simple plugin that adding locks for chest, other containers and doors.
Commands
/lock - lock a chest
/unlock - unlock a chest
/public - make protection public (everyone can acces it, but cannot break it)
/passlock <password> <password> - create password protection
/modify <add|remove|removeall|public> [players...]
add - give access to other player to your protection
remove - remove access from other player to your protection
removeall - remove access from all players
public - make protection public
/password <password> - unlock password protection for you
Permissions
Config
Commands
/lock - lock a chest
/unlock - unlock a chest
/public - make protection public (everyone can acces it, but cannot break it)
/passlock <password> <password> - create password protection
/modify <add|remove|removeall|public> [players...]
add - give access to other player to your protection
remove - remove access from other player to your protection
removeall - remove access from all players
public - make protection public
/password <password> - unlock password protection for you
Permissions
Code:
lockit:
description: "Main LockIt permission"
default: op
children:
lockit.command:
description: "Allows player to use all LockIt commands"
default: op
children:
lockit.command.lock:
description: "Allows player to lock blocks"
default: true
lockit.command.public:
description: "Allows player to make public protection"
default: true
lockit.command.unlock:
description: "Allows player to unlock theirs locked blocks"
default: true
lockit.command.passlock:
description: "Allows player to lock chests with password"
default: true
lockit.command.modify:
description: "Allows player to modify locked chest"
default: true
lockit.command.password:
description: "Allow player to open password protected chest using certain password"
default: true
lockit.access:
description: "Allows player to use all locked blocks"
default: op
lockit.deny:
description: "Disallows player to use any protectable block"
default: false
lockit.autolock:
description: "Allows player place automatically locked chests"
default: false
lockit.info:
description: "Allows player to see information about locked blocks"
default: op
Code:
#protectable blocks
blocks:
chest: true
furnace: true
brewing: true
dispenser: true
hopper: true
dropper: true
item_frame: true
sign: true
oak_door: true
iron_door: true
spruce_door: true
birch_door: true
jungle_door: true
acacia_door: true
dark_oak_door: true
wooden_trap_door: true
iron_trap_door: true
oak_fence_gate: true
birch_fence_gate: true
spruce_fence_gate: true
jungle_fence_gate: true
acacia_fence_gate: true
dark_oak_fence_gate: true
trapped_chest: true
#any protectable block gets locked when somebody with place it
#if false, only players with lockit.autolock permission can use this
enable_auto_lock: false
#auto save interval in seconds
auto_save_interval: 600
#if player with lockit.info permission click on locked block with this item, it shows info about this protection
info_item: leather