StickyLocks

From Dogcraft Wiki

m (i thought i removed that extra line break)
Tag: Visual edit
m (Slight rewording, and removed unnecessary spacing)
Tag: Visual edit
 
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 22: 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 34: 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.
|-
|-

Latest revision as of 12:32, 4 November 2022

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