> 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="/files/ULaM2WmKisF3axfQP6z6" alt=""><figcaption></figcaption></figure>
