LWC

LWC is a protection plugin for blocks such as chests, furnaces, doors, and any block you can dream up! LWC has the ability to protect any block you want it to automatically or manually. All chests, furnaces, and similar blocks are automatically set to private when they are placed. The various player commands for LWC and examples of how to use them are below.

Plug-in site

**Commands**

**/trust (username)**

Opens up all of your chest, furnaces and other accessible blocks to another player.

Use this command with caution, as it overrides any LWC protection regardless of the flag you may have on it

**/cpublic** (*Alias of: /lwc -create public or /lwc -c public)*

Creates a public protection. Anyone can use a block with public protection, but no one can protect it other than the character that placed it.

**/cprivate** *(Alias of: /lwc -create private or /lwc -c private)*

Private means private: you can also allow other users or groups to access the block as well. This is done by adding them after "private". You can add more than one group and/or user per command.

When you prefix a User or Group with an '@', this User/Group will be able to modify the block and add other users. They cannot disable the owner from modifying it.

Examples:

* /lwc -c private Username g:Groupname @username2
* /cprivate Username g:Groupname @username2

**/cpassword** *(Alias of: /lwc -create password or /lwc -c password)*

Password protects a block. Each time you login you need to enter the password to access it (if someone else knows the password, they can access it too.

**/cmodify** *(Alias of /lwc -modify or /lwc -m)*

Modify an existing protection, adding or removing users and/or groups. See /lwc create, the example for private protections. The same syntax is used for this command. You can use the optional prefix of adding a '-' in front of a User or Group to remove access from the block.

Example:

* /lwc -m -g:Members - removes access to the chest for all Members
* /cmodify -User1 @someguy - removes access to the block for User1 and gives SomeGuy advanced privileges
* /cmodify town:SomeTown - grants access to the block for all members of SomeTown (Note: Tested with Towny)

**/cunlock** *(Alias of: /lwc -unlock or /lwc -u)*

Unlocks a password-protected block.

**/cinfo** *(Alias of /lwc -info or /lwc -i)*

Punch a protection to view information on it.

**/cremove** *(Alias of /lwc -remove or /lwc -r)*

Removes protection from a block.

**/climits** *(Alias of /lwc -info limits or /lwc -i limits)*

Views the amount of protections you are allowed to own.

**/lwc mode <mode name> <on/off>**

Persistent mode will let you perform your last command on multiple blocks until you turn it off.

**/lwc mode persist <on/off>**   OR /cpersist

Turns on/off the persist mode.

**/lwc mode droptransfer**

Makes dropped items automatically go to a designated chest.

Subcommands:

* /lwc mode select - Select the chest drops go to.
* /lwc mode droptransfer <on/off> - Enable/disable the droptransfer.
* /lwc mode droptransfer status - Display the status of the droptransfer.

**/lwc flag <flag name> <on/off>   or  /c<flag name> <on/off>**

Usable flags:  *redstone*, *autoclose*, *allowexplosions*, *hopper*

Redstone: If "on", redstone can influence the protected block, e.g. open doors, disable hopper.

Alias: /credstone <on/off>

* **AutoClose:** Automagically close a protected door if it was opened
* **AllowExplosions:** Allows the protected block to be destroyed by an explosion
* **Hopper:** Controls whether or not hoppers can be used on a protected block

Example:

* /lwc flag hopper off
* /chopper on

**/lwc menu**

The basic version of the menu displays basic commands like /cprivate and /cinfo. The advanced version lets you see more info and detailed commands.