LWC

Revision as of 16:56, 23 December 2020 by Mayor Mike (talk | contribs)

Quick reference guide for LWC explaining basic and advanced concepts.
LWC is for protecting containers, doors, signs, etc from being opened by other players or players you don't want to access.

Common Commands

Command What It Does Alias/Example
/lock Locks container /cprivate
/unlock Unlocks a container /cremove
/cpublic Creates a public lock None
/cdonation Creates a donation Chest None
/cpassword <password> Creates a password protected lock. /cpassword SuperSecretLock
/cunlock <password> Unlocks a password protected lock. /cunlock SuperSecretLock
/cinfo View info about a lock, such as who can access. None

Advanced Commands

Command What It Does
/cmodify Modifies a lock. Details below.
/lwc mode persist Toggles if commands persist. Great when you need to lock a lot of chest.
/lwc mode droptransfer Make drops automatically drop into a chest. Details below.
/lwc mode nolock Toggles the ability to make new locks.
/lwc mode nospam Toggles the lock creation message.
/lwc flag Set flags for the protections, read more below

cmodify

Allows you to modify an existing lock.

Info Example
Add player to lock /cmodify Teethdude
Remove player from lock /cmodify -Teethdude

LWC Flags

LWC Flags allow you modify smaller specific details of a lock such as if Hoppers are allowed or not.

Command What It Does Alias
/credstone Toggles whether redstone should affect the protection /lwc flag redstone
/cmagnet Put nearby dropped items into the protected chest (or other blocks with inventories) /lwc flag magnet
/cautoclose Automagically close a protected door if it was opened /lwc flag autoclose
/callowexplosions Allows the protected block to be destroyed by an explosion /lwc flag allowexplosion
/chopper Controls whether or not hoppers can be used on a protected block Note: This flag is functionally equivalent to adding both hopperin + hopperout flags. /lwc flag hopper
/lwc flag hopperin Controls whether or not hoppers can be used to place items into a protected block N/A
/lwc flag hopperout Controls whether or not hoppers can be used to take items out of a protected block N/A

List of Containers

Anything that can be locked in LWC is called a container. All currently lockable containers are listed below.

Containers:
  • Chest
  • Trapped Chest
  • Furnace
  • Dispenser
  • Dropper
  • Barrel
  • Blast Furnace
  • Cartography Table
  • Composter
  • Grindstone
  • Lecturn
  • Loom
  • Smoker
  • Stonecutter
  • Shulker Box*
  • Signs*
  • Wooden Doors*
  • Wooden Trap Doors*
  • Iron Door
  • Iron Trap Door
  • Fence Gates*
  • Banners*

* denotes that all variants/colours are protected.