“This block is locked with a magical spell!”
Players can additionally protect certain blocks, and manage those protections with the Bolt plugin.
You can protect any chest, barrel, door, trapdoor, fence gate, furnace, blast furnace or smoker, in your name. Only you will be able to access the locked block. You will also get a message in chat if the lock has been successfully created. You can configure who accesses the locks, as well as other options.
You can only lock blocks inside towns, where you have switch Switch permission. Blocks in Wilderness or other towns where you don't have permission can not be locked by Bolt. A locked single chest inside claims will also not form a double chest with an unlocked one next to it in Wilderness.
If the plot that the lock is in is unclaimed from the town (whether manually, or by the server e.g. the town fell due to lack of funds for upkeep) then the lock is automatically removed.
Please note that this page includes elements of the Towny plugin, due to the Towny plugin's interactions with Bolt.
Type /bolt lock [type]
or /lock [type]
and punch a chest, barrel, door, trapdoor, fence gate, furnace, blast furnace or smoker inside claims.
Type /bolt info
and punch the locked block. A message will show in chat showing who owns the lock and the date created.
Type /bolt unlock
or /unlock
and punch your locked block.
The lock will be removed, and all players with the Switch permission in the plot the locked block is in will be able to access the block again.
Normally, any Bolt command can be used on a locked block once—the command ends after you punch a block, and you have to type it and punch another block again.
If you want to use a command on multiple locks in a row, type /bolt mode <mode>
first, and then the command you want to keep enabled. For example to lock more chests at once, you would do /bolt mode persist
then /lock
, and then hit every chest you want to lock.
When you are done, to turn it off, type /bolt mode persist
again.
To allow other players access to a locked block, first, you need to give them the Switch permission in the plot the locked block is in.
Type /modify (add|remove) <access> <source-type> <sources...>
and punch your locked block.
There are a few notable built-in access source types:
player
for playerspassword
for passwords entered with /bolt password
permission
for permission nodesgroup
for groups managed by /bolt group
This same command can be used to also remove permissions to your locks.
The /bolt edit (add|remove) <player>
command can also be used for this.
The /modify (add|remove) <access> <source-type> <sources...>
command can be used many times on the same lock, depending on your preference and needs.
If you want to give someone access to all of your locked blocks, you can grant them a protection trust.
Type /bolt trust (add|remove) <source-type> <source> [access]
to entrust someone. This can be used also to remove trust by doing /bolt trust remove . . .
.
To view the list of players you have entrusted, type /bolt trust
.
Always be careful when giving a player access to all your locks.
There exist two types of locks in Bolt.
A private lock means that the locked block's owner and other players that the owner has granted access to, can access the locked block (provided that they have the Switch permission on the plot). It is the default type of lock, on creation.
Private locks are made using /lock
or /bolt lock
A public lock means that any player who has the Switch permission on the plot that the locked block is in, can access the locked block. However, nobody can choose to lock that block.
Public locks can be made using /lock public
or /bolt lock public