-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Most players will only need to know the basic functions of LWC. That is, protecting blocks and managing said protections.
LWC have different protection types with her individual access rules. If you define your own protection, in all types only you are the owner of the block and only you (and the server staff) can change the protection type. You're also able to define the access for other peoples, like her friends, with a simple command (more info below).
Protection | Description | Command |
---|---|---|
Private | By default, only you can access the protection. (You are able to add players to your protection - more info below). | /cprivate |
Password | The protection has a set password. You need to enter it each time you log in. This password can be shared with other players, so they can use the block as well. | /cpassword |
Public | Anyone can access the protection, but no one can protect it for themselves. It's mainly useful for community chests that store items for anyone to use (or a chest in a Factions' Faction for any faction member to use). | /cpublic |
Donation | Anyone can put things into the protected block, but won't be able to take anything out. This can be good for many purposes, such as collecting items from people, or crowdsourcing materials for a build. | /cdonation |
Display | The contents of the protection may be viewed by others, but they will not be able to put anything in or take anything out. It's useful for basic shops, showing off items, reading books in lecterns, and so on. | /cdisplay |
Note: Most servers will protect some blocks to 'Private' when you place them. This is the default behaviour in LWC. If you want a password chest and it's already protected, simply use the command
/cremove
and then hit your chest to remove the protection first.
If the block isn't automatically protected after placing it, you can protect it with /cprivate
.
(Password protection is the same deal: /cpassword <password>
.)
After the command, pay attention to what happens in the chat box once you hit enter:
Hit your chest and you'll have a protection!
As a user or owner of a protection, you can use /cinfo
on a protection which will let you view information on a protection. An example of this command is below.
Or a private protection, which you own:
You'll probably notice this has an 'Access Control List' under it. This is covered more in the next section.
If you're an OP or have lwc.admin
, you'll usually see something like this. (The extra info is just incase! It's never all that useful in practice.)
Private protections can have various Protection Exceptions to define who exactly can access the protection. The owner is considered just that - the owner - and cannot be removed from the protection, only by using /cremove
on it.
You can add (and remove) the access from a protection both when creating it and after you modify it. If you wanted to add your friends at the same time you used /cprivate
you'd use something like: /cprivate player1 player2 ..
and then hit your protection. You'll get something like:
Adding player access afterwards is done with /cmodify
.
Removing player access from a protection is as easy as prepending -
.
And finally, entire permission groups (defined in your perms plugin) can be granted to a protection by prepending g:
. (Or denied by -g:
.)
Tipp: You can combine both player and group additions in the same command.
Tipp: Towny users can grant access to town residents by prepending town: to the town name. Example:
/cprivate town:Smithtown
You can grant a player to "block protection admin" to also modify access for this block. This means that they can use /cmodify
(but not /cremove
) to edit the protection. They will NOT be able to remove the owner and thus can only add or remove other players. This is done by prepending @
.
"Block protection admins" will show up in /cinfo
short as an "admin".