Difference between revisions of "LWC"

m
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
Quick reference guide for LWC explaining basic and advanced concepts.  
+
'''{{Template:Warning}}This page needs to be replaced or rewritten. LWC was replaced with [[Bolt]]. Some commands work across both plugins, but cannot be guaranteed.'''<br><br>
 +
Quick reference guide for LWC explaining basic and advanced concepts. <br>
 +
LWC is for protecting containers, doors, signs, etc from being opened by other players or players you don't want to access.<br>
 +
All information is sourced from LWC's wiki page: [https://github.com/pop4959/LWCX/wiki/Commands LWCX's Wiki]
 
== Common Commands ==
 
== Common Commands ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 6: Line 9:
 
!Alias/Example
 
!Alias/Example
 
|-
 
|-
|/lock
+
|<code>/lock</code>
 
|Locks container
 
|Locks container
|/cprivate
+
|<code>/cprivate</code>
 
|-
 
|-
|/unlock
+
|<code>/unlock</code>
 
|Unlocks a container
 
|Unlocks a container
|/cremove
+
|<code>/cremove</code>
 
|-
 
|-
|/cpublic
+
|<code>/cpublic</code>
 
|Creates a public lock
 
|Creates a public lock
 
|None
 
|None
 
|-
 
|-
|/cdonation
+
|<code>/cdonation</code>
 
|Creates a donation Chest
 
|Creates a donation Chest
 
|None
 
|None
 
|-
 
|-
|/cpassword <password>
+
|<code>/cpassword <password></code>
 
|Creates a password protected lock.
 
|Creates a password protected lock.
|/cpassword SuperSecretLock
+
|<code>/cpassword SuperSecretLock</code>
 
|-
 
|-
|/cunlock <password>
+
|<code>/cunlock <password></code>
 
|Unlocks a password protected lock.
 
|Unlocks a password protected lock.
|/cunlock SuperSecretLock
+
|<code>/cunlock SuperSecretLock</code>
 
|-
 
|-
|/cinfo
+
|<code>/cinfo</code>
 
|View info about a lock, such as who can access.
 
|View info about a lock, such as who can access.
 
|None
 
|None
Line 41: Line 44:
 
!What It Does
 
!What It Does
 
|-
 
|-
|/cmodify
+
|<code>/cmodify</code>
 
|Modifies a lock. Details below.
 
|Modifies a lock. Details below.
 
|-
 
|-
|/lwc mode persist
+
|<code>/lwc mode persist</code>
|PERSIST PLACEHOLDER
+
|Toggles if commands persist. Great when you need to lock a lot of chest.
 
|-
 
|-
|/lwc mode droptransfer
+
|<code>/lwc mode droptransfer</code>
|DROP PLACEHOLDER
+
|Make drops automatically drop into a chest. Details below.
 
|-
 
|-
|/lwc mode nolock
+
|<code>/lwc mode nolock</code>
|NOLOCK PLACEHOLDER
+
|Toggles the ability to make new locks.
 
|-
 
|-
|/lwc mode nospam
+
|<code>/lwc mode nospam</code>
|NOSPAM PLACEHOLDER
+
|Toggles the lock creation message.
 
|-
 
|-
|/lwc flag
+
|<code>/lwc flag</code>
 
|Set flags for the protections, read more below
 
|Set flags for the protections, read more below
 
|-
 
|-
 
|}
 
|}
 
=== cmodify ===
 
=== cmodify ===
 +
Allows you to modify an existing lock.
 +
{| class="wikitable"
 +
!Info
 +
!Example
 +
|-
 +
|Add player to lock
 +
|<code>/cmodify Teethdude</code>
 +
|-
 +
|Remove player from lock
 +
|<code>/cmodify -Teethdude</code>
 +
|}
 +
 
=== LWC Flags ===
 
=== LWC Flags ===
 +
LWC Flags allow you modify smaller specific details of a lock such as if Hoppers are allowed or not.
 +
{| class="wikitable"
 +
!Command
 +
!What It Does
 +
!Alias
 +
|-
 +
|<code>/credstone</code>
 +
|Toggles whether redstone should affect the protection
 +
|<code>/lwc flag redstone</code>
 +
|-
 +
|<code>/cmagnet</code>
 +
|Put nearby dropped items into the protected chest (or other blocks with inventories)
 +
|<code>/lwc flag magnet</code>
 +
|-
 +
|<code>/cautoclose</code>
 +
|Automagically close a protected door if it was opened
 +
|<code>/lwc flag autoclose</code>
 +
|-
 +
|<code>/callowexplosions</code>
 +
|Allows the protected block to be destroyed by an explosion
 +
|<code>/lwc flag allowexplosion</code>
 +
|-
 +
|<code>/chopper</code>
 +
|Controls whether or not hoppers can be used on a protected block Note: This flag is functionally equivalent to adding both hopperin + hopperout flags.
 +
|<code>/lwc flag hopper</code>
 +
|-
 +
|<code>/lwc flag hopperin</code>
 +
|Controls whether or not hoppers can be used to place items into a protected block
 +
|N/A
 +
|-
 +
|<code>/lwc flag hopperout</code>
 +
|Controls whether or not hoppers can be used to take items out of a protected block
 +
|N/A
 +
|-
 +
|}
 +
 
== List of Containers ==
 
== List of Containers ==
 
Anything that can be locked in LWC is called a container. All currently lockable containers are listed below.
 
Anything that can be locked in LWC is called a container. All currently lockable containers are listed below.
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;">
 +
<div style="font-weight:bold;line-height:1.6;">Containers:</div>
 +
<div class="mw-collapsible-content">
 +
*Chest
 +
*Trapped Chest
 +
*Furnace
 +
*Dispenser
 +
*Dropper
 +
*Barrel
 +
*Blast Furnace
 +
*Cartography Table
 +
*Composter
 +
*Grindstone
 +
*Lecturn
 +
*Loom
 +
*Smoker
 +
*Stonecutter
 +
*Shulker Box<nowiki>*</nowiki>
 +
*Signs<nowiki>*</nowiki>
 +
*Wooden Doors<nowiki>*</nowiki>
 +
*Wooden Trap Doors<nowiki>*</nowiki>
 +
*Iron Door
 +
*Iron Trap Door
 +
*Fence Gates<nowiki>*</nowiki>
 +
*Banners<nowiki>*</nowiki>
 +
 +
</div></div>
 +
'''<nowiki>*</nowiki>''' denotes that all variants/colours are protected.

Latest revision as of 16:21, 31 March 2024

1200px-Warning.svg.pngThis page needs to be replaced or rewritten. LWC was replaced with Bolt. Some commands work across both plugins, but cannot be guaranteed.

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.
All information is sourced from LWC's wiki page: LWCX's Wiki

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.