Alathra:Locking: Difference between revisions

mNo edit summary
m Changed the stacking on lockpick template to "Yes [16]"
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--- Description --->
{{Infobox generic item
<div style="float:left; width:60%">
| title = Steel lock
Players can protect [[Alathra:Locking#Lockable blocks & entities|blocks and entities]] against other players. To lock an item players must craft an '''Iron Lock''' and when holding the item in the main hand the player can <code>Shift</code> + <code>Left Click</code> on the item they want to lock. The recipe can be seen to the right. 
| switcher = y
A '''lockpick''' is a tool that is used to open [[Alathra:Locking#Lockable blocks & entities|blocks and entities]] are locked, lockpicks only work in unclaimed land or when the town is under siege during war.
| image = {{Switcher
| [[File:BoltUX - Iron lock image.png]]
| Item
| [[File:BoltUX - Iron lock recipe.png|200px]]
| Recipe
}}
| usage = Protecting containers and entrances
| obtained = Crafting
| sellable = no
| consumable = no
| stackable = Yes [16]
| release_date = ''Launch''
}}
{{Infobox generic item
| title = Lockpick
| switcher = y
| image = {{Switcher
| [[File:BoltUX - Lockpick image.png]]
| Item
| [[File:BoltUX - Lockpick recipe.png|200px]]
| Recipe
}}
| usage = Unlocking unclaimed locks
| obtained = Crafting
| sellable = no
| consumable = yes [16]
| stackable = Yes [16]
| release_date = ''Launch''
}}
This guide covers everything you need to know about locking and lockpicking in Alathra. Players can secure [[Alathra:Locking#Lockable blocks & entities|blocks and entities]] to prevent other players from destroying or accessing them.  
=== Steel lock ===
To lock an item, craft an '''Steel Lock'''. While holding the Steel Lock in your main hand, press <code>Shift</code> + <code>Right Click</code> on the block or entity you want to lock.  


Locked [[Alathra:Locking#Lockable blocks & entities|blocks and entities]] can be destroyed by cannons and other damage however will regenerate with the lock.


To remove one of your lock from an item you must <code>Shift</code> + <code>Right Click</code> to open the protection menu and click on the iron axe, this will remove the lock placed upon the item.


=== Lockpick ===
A '''Lockpick''' is a tool that is used to open items that are locked [[Alathra:Locking#Lockable blocks & entities|blocks and entities]], lockpicks only work in unclaimed land or when the town is under siege during war, chests can '''never''' be lockpicked within town claims.
Lockpicks can be used with <code>Shift</code> + <code>Right Click</code> on locked objects, provided the tool is equipped in the main hand. Lockpicks have a percentage chance of how successful it is of opening or accessing locked items, these percentages chances are shown in the [[Alathra:Locking#Lockable blocks & entities|blocks and entities]] list.
==Protection menu==
Once an object is locked, you can <code>Shift</code> + <code>Right Click</code> it to open the protection menu, this is where you can adjust perms, modes, ownership and even delete the lock.
<div style="border: 1px solid #c6c6c6; display: inline-block; padding: 5px;">
[[File:BoltUX - Protection menu options.gif|600px]]
</div>
</div>
<!-- Infobox container -->
There are 5 options that appear in the protection menu '''Edit Access''', '''Change Mode''', '''Trust Setting''', '''Transfer Ownership''' and '''Unlock''', each
<div style="float:right; width:20%; display:flex; gap:10px;">
<!--- Iron Lock recipe table --->
<div style-"width:48%;">
{{Infobox
|bodystyle =  border:outset; background-color:#c7c7c7; border-radius:3px; margin-left:auto; margin-right:20px;
|title = Iron Lock recipe
|
|imagestyle = padding:10px 0px 10px 0px; background-color:#8c8c8c; border:inset;
|image = [[File:Lockpick_recipe.png|160px|frameless|super]]
| default=1
|
|label2 = Durability
|data2 = Breaks on failed use
|label3 = Repairable
|data3 = No
|label4 = Enchantable
|data4 = No
}}
</div>
<!--- Lockpick recipe table --->
<div style-"width:48%">
{{Infobox
|bodystyle =  border:outset; background-color:#c7c7c7; border-radius:3px; margin-left:auto; margin-right:20px;
|title = Lockpick recipe
|
|imagestyle = padding:10px 0px 10px 0px; background-color:#8c8c8c; border:inset;
|image = [[File:Lockpick_recipe.png|160px|frameless|super]]
| default=1
|
|label2 = Durability
|data2 = Breaks on failed use
|label3 = Repairable
|data3 = No
|label4 = Enchantable
|data4 = No
}}
</div>
</div>


<div style = "float:left;">
<!-- Edit access -->
== Utility ==
== Edit access ==
Lockpicks can be used with <code>Shift</code> + <code>Left Click</code> on locked objects, provided the tool is equipped in the main hand. Only one object can be attempted to lockpick at once. A successful lockpick is an event with a probability of 20%, with a decreased, 10% probability for iron doors. If the lockpicking is successful, the lockpick gets returned to the user and the object switches to an ''open'' state.
'''Edit access''' allows you to control who can interact with a specific lock. Players added to a lock's access list will be able to open or use the locked item, regardless of the current lock mode. You can add your own town as well as other towns within the same nation. Towns will appear in the access list as ender chests, while individual players will be shown with their player heads.


In addition to doors, trapdoors and containers, lockpicks have been shown to work with certain [[CraftBook|gates]], specifically ones made from iron bars.
'''Notes:'''
* Players must be trusted in the town or chunk where the lock is located in regardless of lock perm or mode.


=== Lockable blocks & entities ===
<!-- Lock modes -->
Below is all the blocks and entities that locks can be applied too;
==Lock modes==
There are 5 different modes that a lock can be set to. You can change the lock mode by <code>right clicking</code> the hopper in the protection menu.
<!-- Lock modes table -->
{| class="wikitable sortable"
{| class="wikitable sortable"
! Block/Entity 
! Mode||Purpose
|-
|-
| Acacia Chest Boat 
|Private||Only the owner and trusted players can use, withdraw from, or deposit into it.
|-
|-
| Anvil 
|Public||Anyone can use, withdraw from, or deposit into it.
|-
|-
| Armor Stand 
|Withdrawal||Any player can withdraw, but only the owner can deposit or use it.
|-
|-
| Bamboo Chest Raft 
|Deposit||Any player can deposit, but only the owner can withdraw or use it.
|-
|-
| Banner 
|Display||Any player can view, but only the owner can use, withdraw, or deposit into it.
|-
|-
| Barrel 
|}
<!-- Lock groups -->
==Lock groups==
You can create custom groups for locks, by typing the command <code>/bolt group create [group name]</code>. Once a group is create you can then add players to that group by typing the command <code>/bolt group add [group name] [username]</code>. Once a group is created it will appear in '''Edit Access''' and '''Trust Setting''' lists on the lock menu.
 
{| class="wikitable sortable"
! Command||Purpose
|-
|-
| Beacon 
|/bolt group create [group name]||Creates a group
|-
|-
| Birch Chest Boat 
|/bolt group add [group name] [username]||Adds a player to a specific group
|-
|-
| Blast Furnace 
|/bolt group remove [group name] [username]||Removes a player from a specific group
|-
|-
| Brewing Stand 
|/bolt group delete [group name] [username]||Deletes a specific group
|-
|-
| Cauldron 
|/bolt group list [group name]||Lists all the players in a specific group
|}
 
<!-- Table Position -->
<div style = "float:left;">
== Lockable blocks & entities ==
The table below shows all lockable items and the lockpicking chance, some items cannot be lockpicked. In addition [[Alathra:Craftbook|Craftbook]] gates, bridges and doors can be lockpicked by <code>Shift</code> + <code>Left Click</code> on the block.
 
[[Alathra:Craftbook|Craftbook]] gates, bridges and doors all have a lockpicking chance of 20%.
{| class="wikitable sortable"
! Block/Entity||Type||Lockpicking chance||Lockpick Action||Notes
|-
|-
| Chest 
|Anvil||block||-||-||
|-
|-
| Chest Minecart 
|Armor Stand||entity||-||-||
|-
|-
| Cherry Chest Boat 
|Banner||block||-||-||
|-
|-
| Chiseled Bookshelf 
|Barrel||block||20%||open inventory||
|-
|-
| Composter 
|Beacon||block||-||-||
|-
|-
| Dark Oak Chest Boat 
|Blast Furnace||block||-||-||
|-
|-
| Decorated Pot 
|Brewing Stand||block||-||-||
|-
|-
| Dispenser 
|Cauldron||block||-||-||
|-
|-
| Door 
|Chest||block||20%||open inventory||
|-
|-
| Dropper 
|Chest Boats||entity||20%||open inventory||Includes all chest boat variants
|-
|-
| Fence Gate 
|Chest Minecart||entity||20%||open inventory||
|-
|-
| Furnace 
|Chiseled Bookshelf||block||-||-||
|-
|-
| Furnace Minecart 
|Composter||block||-||-||
|-
|-
| Glow Item Frame 
|Copper Door||block||15%||toggles state||Includes all copper variants
|-
|-
| Hopper 
|Copper Trapdoors||block||15%||toggles state||Includes all copper variants
|-
|-
| Hopper Minecart 
|Decorated Pot||block||-||-||
|-
|-
| Item Frame 
|Dispenser||block||-||-||
|-
|-
| Jukebox 
|Dropper||block||-||-||
|-
|-
| Jungle Chest Boat 
|Fence Gate||block||20%||-||Includes all wood variants
|-
|-
| Lectern 
|Furnace||block||-||-||
|-
|-
| Leash Knot 
|Furnace Minecart||entity||-||-||
|-
|-
| Mangrove Chest Boat 
|Glow Item Frame||entity||-||-||
|-
|-
| Note Block 
|Hopper||block||-||-||
|-
|-
| Oak Chest Boat 
|Hopper Minecart||entity||-||-||
|-
|-
| Painting 
|Iron Door||block||10%||toggles state||
|-
|-
| Pale Oak Chest Boat 
|Iron Trapdoor||block||10%||toggles state||
|-
|-
| Shulker Box 
|Item Frame||entity||-||-||
|-
|-
| Sign (Standing, Wall, Hanging) 
|Jukebox||block||-||-||
|-
|-
| Smoker 
|Lectern||block||-||-||
|-
|-
| Spruce Chest Boat 
|Leash Knot||entity||-||-||
|-
|-
| Trapdoor 
|Note Block||block||-||-||
|-
|-
| Trapped Chest
|Painting||entity||-||-||
|-
|Shulker Box||block||20%||open inventory||Includes all shulker box variants
|-
|Sign||block||-||-||Includes all sign varients
|-
|Smoker||block||-||-||
|-
|Trapped Chest||block||20%||open inventory||
|-
|Wooden Door||block||20%||toggles state||Includes all wood variants
|-
|Wooden Trapdoor||block||20%||toggles state||Includes all wood variants
|}
|}
</div>
</div>


 
{{Guides navigation}}
[[Category:Guides]]
[[Category:Guides]]