Locks
How to protect your items from being stolen.
Introduction
Locks are a common way to protect your items are an important part of living with other people. On United Lands, locks can only be created inside towns so make sure to join or create one if you plan on leaving stuff behind. There are many different lock types to fit different situations, so use the command list below to find the ones that work for you.
Commands
Protection Creation
These commands can create different types of protections for specific purposes.
/cpublic
: Create a public protection, anyone can use it but only the owner is able to modify the lock properties./cprivate [Username]
: Create a private protection, only you or anyone specified can access the locked container. Adding a username is optional, leaving it blank will lock to only you./cpassword [Password]
: Password-protect a container. Anyone who knows the password can unlock it. The container will remain unlocked to the user until next login./cdonation
: Anyone can put items inside the protection, but they cannot be taken back out./cdisplay
: Anyone can view the protection's contents, but cannot modify them./cdefault [Username]
: The player that you include in this command will always be added to all future protections created automatically.
Protection Management
These commands can modify or manage existing protections for a more specialised use.
/cmodify [Username]
: Add a player to an existing protection./cremove
: Remove a protection from a block entirely./cunlock [Password]
: Input a password to a protected block./cinfo
: Display information about the selected block./climits
: Display the number of protected blocks you own.
Protection Flags
Edit how protected blocks interact with the world.
/credstone
: Toggle if redstone can affect this protection./cmagnet
: Puts nearby dropped items into the container./cautoclose
: Automatically closes a door if it was opened after a short period./chopper
: Toggle if the protected container can be interacted with by hoppers./lwc flag hopperin
: Only allow hoppers to put an item into the container./lwc flag hopperout
: Only allow hoppers to take items out of the container.
Protection Modes
Per player modes for easy mass changes.
/cpersist
: Persistent mode will let you perform your last action on several blocks without needing to re-type the command./cnolock
: Disable automatic protection creation./cnospam
: Disable protection notification messages.
Last updated