> For the complete documentation index, see [llms.txt](https://wiki.shadowkingdom.org/shadowkingdom-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.shadowkingdom.org/shadowkingdom-wiki/towny/lwc-protections.md).

# LWC protections

LWC lets you lock chests, doors, furnaces, shulkers and more. To lock a block use: <mark style="color:orange;">/cprivate</mark>. Make it public with: <mark style="color:orange;">/cpublic</mark>. Remove the lock with: <mark style="color:orange;">/cremove</mark>.

Add another player with: <mark style="color:orange;">/cmodify \<name></mark>. Remove them with: <mark style="color:orange;">/cmodify \<name></mark>.

To automatically repeat a command, use: <mark style="color:orange;">/lwc mode persist (on/off)</mark>

Change a flag with: <mark style="color:orange;">/lwc flag (flag) (on/off)</mark> or use <mark style="color:orange;">/c(flag (on/off)</mark>. For information about a lock: <mark style="color:orange;">/cinfo</mark>. To check the amount of protections you own, use <mark style="color:orange;">/climits</mark>. For a complete list of commands: <mark style="color:orange;">/lwc</mark>.

<figure><img src="https://1021012486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7VHh0ytui0rj3HmS6baS%2Fuploads%2FBlQEVS0SgwUmtAvvagFj%2Fimage.png?alt=media&amp;token=9eaf3002-4537-4922-96a4-d56d5e107cec" alt=""><figcaption></figcaption></figure>
