Skip to content

Commands

Parker Hawke edited this page Aug 14, 2020 · 5 revisions

LockSecurity provides a variety of commands to accomplish numerous tasks for both players and administrators. Every command (with the exception of the base /locksecurity command) have permissions tied to them which you may revoke from players. Those without these permissions will not be aware of their existence on their client and they will not be able to tab complete them.

For more information on permission nodes, please refer to the Permissions Nodes wiki.

/locksecurity

Aliases: /ls
Syntax: `/locksecurity [version|reload]
Arguments:

  • /locksecurity - View information regarding the plugin
  • /locksecurity version - An alias to /locksecurity. View information regarding the plugin
  • /locksecurity reload - Reload the plugin's configuration file and apply any changes made

/editkey

Aliases: /editkeys, /keyedit, and /ek
Syntax: /editkeys <get|set> <flag> <value>
Permission: locksecurity.command.editkey
Arguments:

  • /editkey get - Get a list of all flags on the key in the player's hand
  • /editkey get <flag> - Get the value of the specified flag on the key in the player's hand
  • /editkey set <flag> <true|false> - Set the value of the specified flag on the key in the player's hand

/givekey

Aliases: /givekeys
Syntax: /givekey [player] [amount]
Permission: locksecurity.command.givekey
Arguments:

  • /givekey - Give the command executor a single unsmithed key
  • /givekey [player] - Give the specified player a single unsmithed key
  • /givekey [player] [amount] - Give the specified player the given amount of unsmithed keys

/ignorelocks

Aliases: /ignorelock and /il
Syntax: /ignorelocks
Permission: locksecurity.command.ignorelocks

For information on ignoring locks, see the Administrative Abilities wiki

/locklist

Aliases: /lockslist and /ll
Syntax: /locklist [player]
Permission: locksecurity.command.locklist Arguments:

  • /locklist [player] - Get the locklist of another player

/locknotify

Aliases: /locknotification and /ln
Syntax: /locknotify
Permission: locksecurity.command.locknotify

For information on lock notifications, see the Administrative Abilities wiki

/refreshkeys

Aliases: /refreshkey, /keyrefresh, /updatekey, /updatekeys and /keyupdate
Syntax: /refreshkeys
Permission: locksecurity.command.refreshkeys
Arguments:

  • /refreshkeys - Refresh all keys in the player's inventory. This will remove from keys any blocks that no longer exist and convert them to unsmithed keys if no locked blocks remain. Will also update the key if flags have been added to it but the lore has not yet updated.

This command is available by default to all players

/unlock

Syntax: /unlock <x> <y> <z> [world]
Permission: locksecurity.block.unlock Arguments:

  • /unlock <x> <y> <z> [world] - Unlock a block at a specific coordinate in the given world. This is a remote, command-based alternative to unlocking with a smithed key in-world.

This command is available by default to all players