Guide

StickyLocks

From Dogcraft Wiki

(Created the page)
Tag: Visual edit
 
m (Domino moved page StickyLocks to Guide:StickyLocks: This is guide content at guide quality)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
StickyLocks is a plugin used on the Dogcraft server that allows players to lock chests, barrels, doors, fence gates, and redstone. This is useful if you have granted trust to a player, but wish to restrict access to a certain chest/redstone.
StickyLocks is a plugin used on the Dogcraft server that allows players to lock chests, barrels, doors, fence gates, and redstone. This is useful if you have granted trust to a player, but wish to restrict access to some chests/redstone.


<br />
==Usage==
 
== Usage ==
To lock a block, use a golden hoe to right-click then left-click it. By default, only you can use the locked block.
To lock a block, use a golden hoe to right-click then left-click it. By default, only you can use the locked block.
<br />


== Commands ==
==Commands==
Ensure you have a locked block selected before using these commands. You can select a block by right-clicking a block with a golden hoe.
Ensure you have a locked block selected before using these commands. You can select a block by right-clicking it with a golden hoe.
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 21: Line 18:
|-
|-
|'''<nowiki>/sl remove <player|group></nowiki>'''
|'''<nowiki>/sl remove <player|group></nowiki>'''
|Removes the specified player and/or group of players from the list of people allowed to use that block.
|Removes the specified player or group of players from the list of people allowed to use that block.
|-
|-
|'''/sl group <group>'''
|'''/sl group <group>'''
Line 33: Line 30:
|-
|-
|'''/sl group <group> rename <name>'''
|'''/sl group <group> rename <name>'''
|Renames the group (rename and merge are identical sub-commands). If the target group exists, the group's members will be added to it.
|Renames the group. If the target group exists, the group's members will be added to it.
|-
|-
|'''/sl group <group> merge <name>'''
|'''/sl group <group> merge <target group>'''
|Merges the group's members into the target group.
|Merges the group's members into the target group.
|-
|-
|<code>'''/sl notify'''</code>
|'''/sl notify'''
|Disable the chat notification that appears when you place or interact with a lockable item. (Does not require a block to be selected.)
|Disable the chat notification that appears when you place or interact with a lockable item. (Does not require a block to be selected.)
|-
|-
|<code>'''/sl autolock'''</code>
|'''/sl autolock'''
|Toggles automatic locking of all lockable blocks. (Does not require a block to be selected.)
|Toggles automatic locking of all lockable blocks. (Does not require a block to be selected.)
|}
|}

Latest revision as of 03:51, 28 July 2024

StickyLocks is a plugin used on the Dogcraft server that allows players to lock chests, barrels, doors, fence gates, and redstone. This is useful if you have granted trust to a player, but wish to restrict access to some chests/redstone.

Usage

To lock a block, use a golden hoe to right-click then left-click it. By default, only you can use the locked block.

Commands

Ensure you have a locked block selected before using these commands. You can select a block by right-clicking it with a golden hoe.

Command Description
/sl show Lists the lock information for the current block. It shows who owns it, and lists the names of players and groups of players with access to that block.
/sl add <player|group> Adds the specified player or group to the list of people allowed to use the block. In the event that a group and a player both have the same name, the group will be used.
/sl remove <player|group> Removes the specified player or group of players from the list of people allowed to use that block.
/sl group <group> Lists the members of the specified group.
/sl group <group> add <player> Adds the specified player to the specified group.
/sl group <group> remove <player> Removes the specified player from the specified group.
/sl group <group> rename <name> Renames the group. If the target group exists, the group's members will be added to it.
/sl group <group> merge <target group> Merges the group's members into the target group.
/sl notify Disable the chat notification that appears when you place or interact with a lockable item. (Does not require a block to be selected.)
/sl autolock Toggles automatic locking of all lockable blocks. (Does not require a block to be selected.)