Skip to content

Locks Configuration

Ren edited this page Aug 18, 2019 · 1 revision

» Home » Locks » Configuration

Configuration

lock-item: A serialised item to be used as the lock. This may be crafted using an iron ingot above an iron block. key-item: A serialised item to be used as the key. This is given when a lock is used on a block.

Recommended cache sizes

  • rpkit_keyring id: Should be the same size as the maximum amount of players
  • rpkit_locked_block id: Should be the same size as the amount of concurrently used locked blocks
  • rpkit_player_getting_key: Should be the same size as the estimated number of staff members with access to /getkey online at once
  • rpkit_player_unclaiming: Should be the same size as the maximum amount of players

Permissions

rpkit.locks.command.getkey:
    description: Allows the player to get the key to locks
    default: op
rpkit.locks.command.keyring:
    description: Allows the player to view their keyring
    default: true
rpkit.locks.command.unlock:
    description: Allows the player to unlock blocks
    default: true
Clone this wiki locally