-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Command: /lwc -info
Alias: /lwc -i, /lwci
Permission: lwc.info
Desc: Punch a protection to view information on it. For some block details you need access to the block.
Command: /lwc -info limits
Alias: /lwc -i limits, /climits
Desc: View the number of protections you own, and the number you are allowed to create.
In the core.yml you can add custom blocks to enable the manual block protection and optional the auto protection with block place. The full instruction to the block configuration you found here. Blocks there aren't register in this config part can't protect.
All blocks you can protect with different types with various behaviors for other people there want to interact with it:
- private:
/cprivate» more infos - public:
/cpublic» more infos - password protection:
/cpassword» more infos - open for donation:
/cdonation» more infos - only to display the input:
/cdisplay» more infos
Command: /lwc -create private [exception]
Alias: /lwc -c private, /lock, /cprivate
Permission: lwc.create.private
Desc: Create a private protection: only you are able to access the block.
With the optional exception you add some protection exception for specific players or groups. » more infos
Command: /lwc -create public
Alias: /lwc -c public, /cpublic
Permission: lwc.create.public
Desc: Create a public protection: anyone can use a public protection, but no one can unlock it except for the owner.
Command: /lwc -create password <password>
Alias: /lwc -c password, /cpassword
Permission: lwc.create.password
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.
Command: /lwc -create donation [exception]
Alias: /lwc -c donation, /cdonation
Permission: lwc.create.donation
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 specific players or groups. » more infos
Command: /lwc -create display [exception]
Alias: /lwc -c display, /cdisplay
Permission: lwc.create.display
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 specific players or groups. » more infos
Command: /lwc -modify [exception]
Alias: /lwc -m, /cmodify
Desc: Modify an existing protection.
With the optional exception you add some protection exception for specific players or groups. » more infos
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.
Command: /lwc -unlock
Alias: /lwc -u, /cunlock
Permission: lwc.unlock
Desc: Unlock a password-protected block.
Command: /lwc -remove protection
Alias: /lwc -r protection, /unlock, /cremove
Permission: lwc.remove
Desc: Removes protection from a block no matter the type of protection there had.
-
/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
All about the Protection Flags found here.
All about the Player modes found here.
-
/lwc history <player name>- Search the history -
/lwc details <history id>- Display details from "History ID" obtained from/lwc history