# Locking your chests

![Chest Protection Guide](https://lilacmc.net/content/images/2022/11/chests.png)

### CHEST PROTECTION GUIDE

#### HOW TO PROTECT CHESTS & OTHER ITEMS <a href="#how-to-protect-chests-other-items" id="how-to-protect-chests-other-items"></a>

> **LOCKING**

Locking chests, furnaces, doors, and other items is easy. Type **/lock** and left-click the target item. You will receive confirmation that the item was locked.

> **UNLOCKING**

If you need to unlock an item or chest for any reason, type **/unlock** and left-click the target item. You will receive confirmation that the lock was removed.

> **ALLOWING ACCESS**

Being able to allow others access to your doors, fences, chests, and other items is quite useful. Keeping them locked to the rest of the server is also important. To do this type **/bolt modify add normal player \<username>** and then left-click the target item.

If you need to lock, unlock or modify multiple chests you can first type **/bolt mode persist** and then the desired command. That will allow you to type the command once, rather than repeatedly. Then repeat **/bolt mode persist** when finished.

> **LOCKABLE ITEMS**

Chest and item protection allows you to lock certain blocks and containers to protect your goods and valuables from theft or grief.

> **ITEMS THAT CAN BE LOCKED**

Barrel\
Blast Furnace\
Chest\
Dispenser\
Doors (Any)\
Dropper\
Fence Gate (Any)\
Furnace\
Lectern\
Shulker Box\
Smoker

> **USEFUL COMMANDS**

/lock\
/unlock\
/bolt modify add normal player \<username>\
/bolt lock deposit\
/bolt mode persist\
/bolt info


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.lilacmc.net/getting-started/locking-your-chests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
