Nations: Block Protection Tutorial

Provided they are in a town, chests - along with several other blocks - can be protected on Nations using the LWC plugin. They can either be private (have their access restricted to a list of players) or be password-protected. Note that protected blocks can still be destroyed by explosions and they will not work on ships.

Creating a Protected Block
To create create a private block, type /cprivate and left click the block to lock it.

Creating a password protected block is similar. Type /cpassword  and left click the block to lock it. For example, /cpassword test will create a block with the password 'test'.

Access Control Lists
Private protections have an Access Control List (ACL). ACLs allow you to control who can access a protected block.

Adding Players to the ACL
You can add players to the ACL like this:

/cmodify   

For example, /cmodify Player1 Player2 Player3 would add Player1, Player2 and Player3 to the block's ACL.

Removing Players from the ACL
You can remove players from the ACL by performing the same command but by putting a dash (-) before the player names.

For example, /cmodify -Player1 would remove Player1 from the ACL.

Adding Towns to the ACL
You can also grant access to an entire town by putting town:  instead of a player name.

For example, /cmodify town:London would grant access to the block for all residents of London.

Viewing the ACL
If you are a user or owner of a protected block, you can type /cinfo to view its details, including its ACL.

Valid Protection Blocks
The following blocks can be locked by the plugin:
 * Chests
 * Trapped chests
 * Furnaces
 * Hoppers
 * Droppers
 * Dispensers
 * All doors
 * All trapdoors
 * All fence gates