Skip to content

Commands

RedstoneFuture edited this page May 8, 2021 · 74 revisions

INFO

Command: /lwc -info

Alias: /lwc -i, /lwci

Desc: Punch a protection to view information on it. For some block details you need access to the block.

REMOVE

Command: /lwc -remove protection

Alias: /lwc -r protection, /unlock, /cremove

Desc: Removes protection from a block no matter the type of protection there had.

CREATE a protection

With the /core.yml you can add custom blocks to enable the manual block protection via commands. Additionally, it's possible to activate the "autoRegister" to protect the blocks with placing.

All blocks you can protect with different types with various behaviors for other people there want to interact with it:

PRIVATE protection

Command: /lwc -create private [exception]

Alias: /lwc -c private, /lock, /cprivate

Desc: Create a private protection: only you are able to access the block.

With the optional exception you add some protection exception for spefific players or groups. » more infos

PUBLIC protection

Command: /lwc -create public

Alias: /lwc -c public, /cpublic

Desc: Create a public protection: anyone can use a public protection, but no one can unlock it except for the owner.

PASSWORD protection

Command: /lwc -create password <password>

Alias: /lwc -c password, /cpassword

Desc: Create a password protection: every time you log in you need to unlock the block with /cunlock and the password. Anyone who knows the password can access the protection.

DONATION protection

Command: /lwc -create donation [exception]

Alias: /lwc -c donation, /cdonation

Desc: Create a donation protection: anyone can put items inside the protection, but they cannot be taken back out.

With the optional exception you add some protection exception for spefific players or groups. » more infos

DISPLAY protection

Command: /lwc -create display [exception]

Alias: /lwc -c display, /cdisplay

Desc: Create a display protection: anyone can view the protection's contents, but cannot modify them.

With the optional exception you add some protection exception for spefific players or groups. » more infos

PROTECTION EXCEPTION

With some commands you can define various protection exceptions for a block:

  • <playername>: add a player to the block-whitelist
  • @<player>: add a player to the block-whitelist AND give him permissions to manage the exception list of this block (They cannot disable the owner from modifying it.)
  • -<playername>: remove an already whitelisted player
  • <group>: add a group to the block-whitelist
  • @<group>: add a group to the block-whitelist AND give the group the permissions to manage the exception list of this block (They cannot disable the owner from modifying it.)
  • -<group>: remove an already whitelisted group

You can add more than one user and/or group per command.

Examples:

  • /cprivate Hidendra g:moderator - creates a private protection for yourself, the player "Hidendra", and the group "moderator"
  • /lwc -c private @pop4959 - creates a private protection for yourself, and the player "pop4959", who may also modify the protection
  • /cmodify g:vip Lola123 -Nick123 - modified an exist protection: add the group "vip" and the user "Lola123" to the whitelist and remove the already defined player "Nick123" from the whitelist too.

ADMIN Commands

  • /lwc admin view - View a protected inventory as if you were standing beside it using the protection's id
  • /lwc admin find - View all protections created by a player
  • /lwc admin forceowner - Change the owner of a protection
  • /lwc admin forceownerall - Change the owner of all of a player's protections
  • /lwc admin remove - Remove a protection by using its id
  • /lwc admin purge - Remove all protections by a player
  • /lwc admin cleanup - Attempt to cleanup the database
  • /lwc admin version - View the loaded LWC version and the latest available
  • /lwc admin update - Update to the latest version of LWC
  • /lwc admin report - View the LWC performance report
  • /lwc admin convert - Convert another plugin's database to LWC
  • /lwc admin clear - Either removes all protections or all permissions from the protections

HISTORY

  • /lwc history <player name> - Search the history
  • /lwc details <history id> - Display details from "History ID" obtained from /lwc history

Clone this wiki locally