BlockBox uses LWC for block protection. You can find a somewhat incomplete list of LWC’s commands on the LWC wiki, or read on for a BlockBox-specific ramble about all the cool stuff you can do with LWC.
We’ve used LWC since we’ve offered a survival world. We find it superior to land claim plugins like Grief Prevention (golden shovel) and ProtectionStones for several reasons:
- Safety. With LWC, most important blocks like chests and furnaces are instantly locked when you place them so there’s very little risk of someone coming along and locking you out of your own land and containers.
- Efficiency. Why protect a large area and prevent others from building when really only certain blocks in that area are important? Nobody wants to spend time managing who has access to their land claims when they could be playing. If your land does get griefed, your important possessions are untouched and our staff can fully reverse the damage in seconds. And again, protection happens instantly when you place most relevant blocks.
- Choice. With LWC’s multiple protection types, you can choose how you want each block you’ve protected to be used. Want to make a donation chest that people can put items into but not take any out, no extra blocks required? Want to allow one friend to break a certain chest, but only allow other friends to use it? Few other protection systems allow this, and none make it easier than LWC does.
These blocks are automatically protected by LWC when placed:
- Trapped chests
- Brewing stands
These blocks need to be manually protected with /lock or another one of LWC’s protection commands:
- Trap doors
- Fence gates
Most people will never have any issues without using most of LWC’s features, however there are a few useful tricks to note.
If you’ve used LWC for a little while you probably already know this, but you can choose who can access your protections. Just type /cmodify followed by the name of a player and hit the block you want to let them use. In addition, you can take away a player’s permission to access a protection by putting a dash (-) in front of their name in the /cmodify command. You can see who has access to a protected block by typing /cinfo and clicking it.
Public protections allow you to protect a block from being destroyed while still allowing players to use it. To make one, just type /cpublic and click the block you want to apply protection to. Note that if the block is already protected, you need to type /cremove and click it to remove the current protection before applying the public protection.
Donation chests are exactly that: chests that people can donate items into. Anyone can open a donation chest and place items into it, but only an owner of the chest can remove the items. Type /cdonation and click a chest to create a donation chest. Same as with all protections, you have to remove the previous protection (if there is one) to change the protection type.
A protection can actually have multiple owners. If you put an “@” in front of a player’s name in the /cmodify command, they will be an owner of the protection and can grant and revoke other players’ access to the protection. Don’t worry, added protection owners can’t take access away from the original owner.
By default, protected blocks can’t be used with hoppers. This is to prevent unwanted items being put into containers. If you want to use hoppers, type /chopper on and click the container to enable hopper transfers.
You can make doors close itself shortly after being opened by typing /cautoclose on and clicking a door.
If there’s a block that can’t otherwise be locked, you can still protect it by placing a sign on it and locking the sign. This will prevent people from interacting with the block the sign is on.
If you want to do an action in bulk with LWC, you don’t have to type the same command over and over. Just use /cpersist to enable persisting commands, then type the command you want to use. Now you can create, modify, or check as many protections as you want. Just type /cpersist again afterwards to stop.