name: 'SavageDeathBan'
main: com.winterhavenmc.deathban.PluginMain
author: 'Tim Savage'
version: '1.0.2'
softdepend: [ Iris, Multiverse-Core, My_Worlds ]
api-version: 1.18

commands:
  deathban:
    description: "This is the DeathBan base command."
    aliases: sdb
    usage: "/deathban [command]"
    permission: 'deathban.command'
    permission-message: 'You do not have permission to use the deathban command!'

permissions:
  deathban.command:
    description: "Allow player to use the deathban command."
    default: op

  deathban.exempt:
    description: "Allow player exemption from death ban."
    default: op

  deathban.help:
    description: "Allow use of the help subcommand."
    default: op

  deathban.reload:
    description: "Allow use of the reload subcommand."
    default: op

  deathban.status:
    description: "Allow use of the status subcommand."
    default: op

  deathban.admin:
    description: "Give access to DeathBan admin commands."
    default: op
    children:
      deathban.command: true
      deathban.exempt: true
      deathban.help: true
      deathban.reload: true
      deathban.status: true
