Difference between revisions of "Locks"

From TownyKingdoms Wiki
Jump to: navigation, search
(Replaced content with " = Under Construction =")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
= Locks =
+
= Under Construction =
 
 
<span style="font-size:large;">Getting Started:</span>
 
 
 
*<span style="font-size:medium;">Create a lock set. To do so, type <code>/lock create <name></code> in the chat</span>
 
*<span style="font-size:medium;">After you've created your lock, type <code>/lock punch</code>. Now, punch the containers that you wish to lock (chests, hoppers, shulker boxes, etc.)</span>
 
*<span style="font-size:medium;">To make sure you've locked everything you wanted to, you can type /lock visualize and particles will appear showing you what you successfully locked</span>
 
 
 
&nbsp;
 
 
 
<span style="font-size:large;">Editing Locks:</span>
 
 
 
<span style="font-size:medium;">You can edit locks to make sure that only specific people have access to it, change modes, set locks in a set to auto close and more.&nbsp;Let's start with modes. There are 4 modes, 3 of which are usable on the server. They are:</span>
 
 
 
#<span style="font-size:medium;">Private (default) - Only you can use it</span>
 
#<span style="font-size:medium;">Donation - People can put items in, but only you can take items out</span>
 
#<span style="font-size:medium;">Public - Anyone can do anything, can be used to reserve something but not restrict it</span>
 
#<span style="font-size:medium;">Shop - Not used on TK, it's actually not enabled</span>
 
 
 
<span style="font-size:medium;">So, how do you toggle them? You need to type <code>/lock edit mode <modename></code>. Make sure that you're "using" the correct lock as well, you can make sure you are by typing <code>/lock use <lockName></code>.</span>
 
 
 
<span style="font-size:medium;">Moving from that, let's go into roles. Roles are what tell MassiveLock who can access your containers inside of a lock set. So, let's say you have a lock set named "master" and a lock set named "friends". You want to add people to the friends lock set so that they can change what's inside of them. The roles and permissions for each role are as follows:</span>
 
 
 
[[File:Lockrolesandperms.png|500px|Lockrolesandperms.png]]
 
 
 
<span style="font-size:medium;">So, to add someone as a leader of a lock set (for example):</span>
 
 
 
*<code><span style="font-size:medium;">/lock edit roles add Leader <playername></span></code>
 
 
 
<span style="font-size:medium;">The same format is used for every other role. You'll notice a role called "PasswordMember" at the end. This allows users with the password to use the lock, and if you want to use it you have to set the password by typing</span>
 
 
 
*<span style="font-size:medium;"><code>/lock edit password <password>&nbsp;</code>or to remove the password&nbsp;<code>/lock edit password none</code></span>
 
 
 
<font size="3">Okay, so let's say you also want to change the name of the lock set. You can do that with <code>/lock edit name <name></code>. Or, let's say that if someone goes through a door, you want it to automatically close after a certain amount of seconds. You can also set that with&nbsp;<code>/lock edit&nbsp;autoclose <timing></code><time>. The time can be set multiple ways, for example 3s will read the same as 3 seconds, 1m will read the same as 1 minute, 3m27s will read 3 seconds and 27 seconds (don't write that longhand) or even 1h23m57s. You can use<code>/lock edit autoclose no </code>to disable autoclose.</time></font>
 
 
 
<font size="3"><font size="3"><time><font size="3">If redstone isn't working with the lock, that's because you need to set it to allow it. To do that, type <code>/lock edit redstone yes</code>. The same goes for hoppers.</font></time></font></font>
 
 
 
<font size="3"><code><font size="3"><time>&nbsp;</time></font></code></font>
 
 
 
<font size="3"><font size="3"><time><span style="font-size:medium;">Do note that the staff can always see what is in your containers, so there's not really any way to hide it. I think that's about it though.</span></time></font></font>
 

Latest revision as of 20:21, 15 January 2019

Under Construction