Alathra:Locking: Difference between revisions

mNo edit summary
m Changed the stacking on lockpick template to "Yes [16]"
 
(38 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 [[Ulitity|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
| 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 || Lockpicking chance
! Mode||Purpose
|-
|Private||Only the owner and trusted players can use, withdraw from, or deposit into it.
|-
|-
| Acacia Chest Boat || 20%
|Public||Anyone can use, withdraw from, or deposit into it.
|-
|-
| Anvil  || N/A
|Withdrawal||Any player can withdraw, but only the owner can deposit or use it.
|-
|-
| Armor Stand || N/A
|Deposit||Any player can deposit, but only the owner can withdraw or use it.
|-
|-
| Bamboo Chest Raft  || 20%
|Display||Any player can view, but only the owner can use, withdraw, or deposit into it.
|-
|-
| Banner || N/A
|}
<!-- 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
|-
|-
| Barrel || 20%
|/bolt group create [group name]||Creates a group
|-
|-
| Beacon || N/A
|/bolt group add [group name] [username]||Adds a player to a specific group
|-
|-
| Birch Chest Boat || 20%
|/bolt group remove [group name] [username]||Removes a player from a specific group
|-
|-
| Blast Furnace || N/A
|/bolt group delete [group name] [username]||Deletes a specific group
|-
|-
| Brewing Stand || N/A
|/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
|-
|-
| Cauldron || N/A
|Anvil||block||-||-||
|-
|-
| Chest || 20%
|Armor Stand||entity||-||-||
|-
|-
| Chest Minecart || 20% 
|Banner||block||-||-||
|-
|-
| Cherry Chest Boat || 20%  
|Barrel||block||20%||open inventory||
|-
|-
| Chiseled Bookshelf || N/A
|Beacon||block||-||-||
|-
|-
| Composter || N/A
|Blast Furnace||block||-||-||
|-
|-
| Copper Door || 15%
|Brewing Stand||block||-||-||
|-
|-
| Copper Trapdoors || 15%
|Cauldron||block||-||-||
|-
|-
| Dark Oak Chest Boat || 20%  
|Chest||block||20%||open inventory||
|-
|-
| Decorated Pot || N/A
|Chest Boats||entity||20%||open inventory||Includes all chest boat variants
|-
|-
| Dispenser || N/A
|Chest Minecart||entity||20%||open inventory||
|-
|-
| Dropper || N/A 
|Chiseled Bookshelf||block||-||-||
|-
|-
| Fence Gate || 20%
|Composter||block||-||-||
|-
|-
| Furnace || N/A
|Copper Door||block||15%||toggles state||Includes all copper variants
|-
|-
| Furnace Minecart || N/A 
|Copper Trapdoors||block||15%||toggles state||Includes all copper variants
|-
|-
| Glow Item Frame || N/A
|Decorated Pot||block||-||-||
|-
|-
| Hopper || N/A
|Dispenser||block||-||-||
|-
|-
| Hopper Minecart || N/A
|Dropper||block||-||-||
|-
|-
| Iron Doors || 10%
|Fence Gate||block||20%||-||Includes all wood variants
|-  
| Iron Trapdoors || 10%
|-
|-
| Item Frame || N/A
|Furnace||block||-||-||
|-
|-
| Jukebox || N/A
|Furnace Minecart||entity||-||-||
|-
|-
| Jungle Chest Boat || 20%
|Glow Item Frame||entity||-||-||
|-
|-
| Lectern || N/A
|Hopper||block||-||-||
|-
|-
| Leash Knot || N/A
|Hopper Minecart||entity||-||-||
|-
|-
| Mangrove Chest Boat || 20%
|Iron Door||block||10%||toggles state||
|-
|-
| Note Block || N/A
|Iron Trapdoor||block||10%||toggles state||
|-
|-
| Oak Chest Boat || 20%
|Item Frame||entity||-||-||
|-
|-
| Painting || N/A
|Jukebox||block||-||-||
|-
|-
| Pale Oak Chest Boat || 20% 
|Lectern||block||-||-||
|-
|-
| Shulker Box || 20%
|Leash Knot||entity||-||-||
|-
|-
| Sign (Standing, Wall, Hanging) || N/A
|Note Block||block||-||-||
|-
|-
| Smoker || N/A
|Painting||entity||-||-||
|-
|-
| Spruce Chest Boat || 20%
|Shulker Box||block||20%||open inventory||Includes all shulker box variants
|-
|-
| Trapped Chest || 20%
|Sign||block||-||-||Includes all sign varients
|-
|-
| Wooden Door || 20%
|Smoker||block||-||-||
|-
|-
| Wooden Trapdoors || 20%
|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]]