name: Security
version: '0.7'
main: com.emirilda.spigotmc.security.Main
api-version: 1.18
depend: [Emirilda]
softdepend: [ Vault, ProtectionLib, Towny ]
authors: [3liass]
description: 'Secure your belongings!'

commands:
  security:
    usage: '/security'
    description: 'Main command for Security.'
    permission: 'security.use'
  container:
    usage: '/container'
    description: 'Main command for managing containers.'
    permission: 'security.use'
    aliases: [con, chest]
  itembank:
    usage: '/itembank'
    description: 'Main command for accessing the item bank.'
    permission: 'security.itembank.use'


permissions:
  security.use:
    default: true
    description: 'Allows the user to use the plugin.'
  security.reload:
    default: op
    description: 'Allows the user to reload the plugin.'
  security.container.use:
    default: true
    description: 'Allows the user to use the container command.'
  security.container.command.lock:
    default: true
    description: 'Allows the user to lock containers.'
  security.container.command.unlock:
    default: true
    description: 'Allows the user to unlock containers.'
  security.container.command.info:
    default: true
    description: 'Allows the user to view info about a container.'
  security.container.command.trust:
    default: true
    description: 'Allows the user to trust players to their container.'
  security.container.command.untrust:
    default: true
    description: 'Allows the user to untrust players from their containers.'
  security.container.command.help:
    default: true
    description: 'Allows the user to view a list of commands of the container command.'
  security.container.bypass.others:
    default: false
    description: 'Allows the user to bypass other players'' locks.'
  security.container.bypass.lock:
    default: false
    description: 'Allows the user to bypass the lock_setting.'
  security.container.view.trusted.other:
    default: op
    description: 'Allows the user to view who is trusted on a container which is not theirs.'
  security.container.command.archive:
    default: op
    description: 'Allows the user to archive other players'' containers.'
  security.container.command.archive.self:
    default: op
    description: 'Allows the user to archive their own containers.'
  security.container.command.archive.toggle:
    default: op
    description: 'Allows the user to toggle archive mode for containers.'
  security.itembank.use:
    default: true
    description: 'Allows the user to access the item bank commands.'
  security.itembank.command.open:
    default: true
    description: 'Allows the user to access their item bank.'
  security.itembank.command.count:
    default: true
    description: 'Allows the user to see item count of their item bank.'
