Name | lock |
Object | LocationTag |
Input | ElementTag |
Related Tags | <LocationTag.lock> Returns the password to a locked container.
<LocationTag.is_locked> Returns whether the container is locked.
<LocationTag.is_lockable> Returns whether the container is lockable.
|
Description | Sets the container's lock password.
Locked containers can only be opened while holding an item with the name of the lock. Leave blank to remove a container's lock. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4743 |