SimpleChestLocker
作者:rebot | 分类:模组
Minecraft 版本: 1.21.11
平台: fabric
标签: storage utility
SimpleChestLocker
This mod was born with me not being able to find a server-side, simple chest locking mod for a SMP server me and my friends were playing on. It does the thing it's supposed to, locking chests.
Commands usage:
- Base command: /scl
- /scl lock: Locks the chest the player is looking at.
- /scl unlock: Unlocks the chest the player is looking at.
- /scl trust : Trusts a player with the chest the player is looking at.
- /scl untrust : Untrusts a player from the chest the player is looking at.
- /scl players: Lists players trusted with the chest the player is looking at.
- /scl label : Labels the chest the player is looking at.
- /scl rename : Renames the label of the chest the player is looking at.
- /scl unlabel: Removes the label from the chest the player is looking at.
- /scl list: Lists all of your locked containers with their index, type, and coordinates.
- /scl gui: Opens a GUI to manage your locked containers.
- /scl help: Shows all command usage.
Don't let the name confuse you!
It works for barrels and any modded container that implements the Inventory interface!
Remote management
Every container gets an index shown in /scl list (Container 0, Container 1, ...). You can use that index or a label as the target in commands to manage a container remotely — even across dimensions. For example:
- /scl unlock 2
- /scl label storage 0
- /scl trust PlayerName 2
- /scl untrust PlayerName storage
When a chest/barrel is locked:
- It will be immune to explosions.
- It will be immune to piston moving.
- It will be immune to hopper transfer.
- Players that are not trusted with that chest won't be able to open it.
Each of these immunities can be toggled in the config.
Removing the chest block will remove all the lock information associated with that chest.
Planned updates:
- Configurable immunity (added in 2.0.0)
- Support for modded containers (added in 2.0.0)
- A 26.2 port is on the way.
A Forge/NeoForge port is not planned.
P.S.: Haven't tested the mod with Quilt but it should work.
请登录后举报
暂无评论,抢个沙发吧~