Hidendra/LWC — Issue #184: Documentation for wiki
Author: Katorone
Created: 2011-12-21 16:18:09+00:00
State: open

Hello,

The command list on the wiki was lacking, so i made textfile that contains all the information from the ingame help.
I'm hoping this saves you some work from doing it yourself.

/cpublic - Creates a public protection.
Alias of: /lwc -create public or /lwc -c public
Anyone can use a Public protection, but no one can protect it.

/cpassword - Password-protect a block.
Alias of: /lwc -create password or /lwc -c password
Each time you login you need to enter the password to access it. (if someone else knows the password, they can access it too.)

/cprivate - Create a private protection.
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.

Example:
/lwc -c private Username g:Groupname @Username2
/cprivate Username g:Groupname @Usernam2

/cmodify - Modify an existing protection, adding or removing users and/or groups.
Alias of /lwc -modify or /lwc -m
See /lwc create, the example for private protections. The same syntax is used for this command.
There's an additional prefix however. Writing a '-' infront of a User or Group removes the access from the block.

Example:
/lwc -m -g:Members -> This removes access to the chest for all Members.
/cmodify -User1 @SomeGuy -> this removes access to the block for User1 and gives SomeGuy admin privileges.

/cunlock - Unlock a password-protected block.
Alias of: /lwc -unlock or /lwc -u

/cinfo - Punch a protection to view information on it.
Alias of /lwc -info or /lwc -i

/cremove
Alias of /lwc -remove or /lwc -r

/climits - View the amount of protections you are allowed.
Alias of /lwc -info limits or /lwc -i limits

/lwc mode
Persistent mode will let you perform your last command on multiple blocks, untill you turn it off.
/lwc mode persist on - turns on persist mode.
/lwc mode persist off - turns off persist mode.
droptransfer mode makes dropped items automatically go to a designated chest.
/lwc mode droptransfer select - Select the chest drops go to.
/lwc mode droptransfer on - Enable the droptransfer.
/lwc mode droptransfer off - Disable the droptransfer.
/lwc mode droptransfer status - Display the status of the droptransfer.

/lwc flag
Usable flags:
Redstone: If "on", redstone can open doors.
Example : /lwc flag Redstone 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.

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 foreceowner - Change the owner of a protection.
/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.

Regards,
Kat