-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
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:
/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 -info
Alias: /lwc -i, /lwci
Desc: Punch a protection to view information on it. For some block details you need access to the block.
Command: /lwc -remove protection
Alias: /lwc -r protection, /unlock, /cremove
Desc: Removes protection from a block no matter the type of protection there had.
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
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.
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.
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
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
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.