Command reference

Lock

Manipulation · player

Command words: lock
Permission: Any

This command allows you to lock all of the locks that you can lock on a door or container, or optionally a specific lock. You must be holding the key to any locks that require them.

The syntax is as follows:

lock <item> - locks a lock item, or all locks on an item if it is lockable
lock <item> <lock> - locks a specific lock on an item

← Back to Command reference