Alathra:Locking: Difference between revisions

mNo edit summary
m Changed the stacking on lockpick template to "Yes [16]"
 
(41 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 blocks and entities <ref>Block/Entity</ref> 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
| 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.  


Iron Locks can be stacked up to 64 Iron Locks. Once an item is locked it will
Locked [[Alathra:Locking#Lockable blocks & entities|blocks and entities]] can be destroyed by cannons and other damage however will regenerate with the lock.


A '''lockpick''' is a tool that is used to open items that are locked <ref>Block/Entity</ref>, lockpicks only work in unclaimed land or when the town is under siege during war.
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.


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.
=== 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.


Below is all the blocks and entities that locks can be applied too;
<!-- Lock modes -->
==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
|-
|Anvil||block||-||-||
|-
|Armor Stand||entity||-||-||
|-
|Banner||block||-||-||
|-
|Barrel||block||20%||open inventory||
|-
|Beacon||block||-||-||
|-
|-
| Chest 
|Blast Furnace||block||-||-||
|-
|-
| Chest Minecart 
|Brewing Stand||block||-||-||
|-
|-
| Cherry Chest Boat 
|Cauldron||block||-||-||
|-
|-
| Chiseled Bookshelf 
|Chest||block||20%||open inventory||
|-
|-
| Composter 
|Chest Boats||entity||20%||open inventory||Includes all chest boat variants
|-
|-
| Dark Oak Chest Boat 
|Chest Minecart||entity||20%||open inventory||
|-
|-
| Decorated Pot 
|Chiseled Bookshelf||block||-||-||
|-
|-
| Dispenser 
|Composter||block||-||-||
|-
|-
| Door
|Copper Door||block||15%||toggles state||Includes all copper variants
|-
|-
| Dropper 
|Copper Trapdoors||block||15%||toggles state||Includes all copper variants
|-
|-
| Fence Gate 
|Decorated Pot||block||-||-||
|-
|-
| Furnace 
|Dispenser||block||-||-||
|-
|-
| Furnace Minecart 
|Dropper||block||-||-||
|-
|-
| Glow Item Frame 
|Fence Gate||block||20%||-||Includes all wood variants
|-
|-
| Hopper 
|Furnace||block||-||-||
|-
|-
| Hopper Minecart
|Furnace Minecart||entity||-||-||
|-
|-
| Item Frame
|Glow Item Frame||entity||-||-||
|-
|-
| Jukebox 
|Hopper||block||-||-||
|-
|-
| Jungle Chest Boat 
|Hopper Minecart||entity||-||-||
|-
|-
| Lectern 
|Iron Door||block||10%||toggles state||
|-
|-
| Leash Knot 
|Iron Trapdoor||block||10%||toggles state||
|-
|-
| Mangrove Chest Boat 
|Item Frame||entity||-||-||
|-
|-
| Note Block 
|Jukebox||block||-||-||
|-
|-
| Oak Chest Boat 
|Lectern||block||-||-||
|-
|-
| Painting 
|Leash Knot||entity||-||-||
|-
|-
| Pale Oak Chest Boat 
|Note Block||block||-||-||
|-
|-
| Shulker Box 
|Painting||entity||-||-||
|-
|-
| Sign (Standing, Wall, Hanging) 
|Shulker Box||block||20%||open inventory||Includes all shulker box variants
|-
|-
| Smoker 
|Sign||block||-||-||Includes all sign varients
|-
|-
| Spruce Chest Boat 
|Smoker||block||-||-||
|-
|-
| Trapdoor 
|Trapped Chest||block||20%||open inventory||
|-
|-
| Trapped Chest 
|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]]