main: su.nightexpress.excellentcrates.ExcellentCrates
version: '4.0.6'
name: ExcellentCrates
author: NightExpress
desciption: Fully customizable crates with rewards. Enjoy.
depend: [ NexEngine ]
softdepend: [ Citizens, HolographicDisplays, DecentHolograms, Vault, PlaceholderAPI ]
api-version: 1.17
load: POSTWORLD

permissions:
  excellentcrates.admin:
    description: Access to all plugin functions.
    default: op
    children:
      excellentcrates.command: true
      excellentcrates.user: true
      excellentcrates.bypass: true

  excellentcrates.user:
    description: Access to basic plugin functions.
    default: true
    children:
      excellentcrates.command.key: true
      excellentcrates.command.key.show: true
      excellentcrates.command.menu: true
      excellentcrates.command.preview: true

  # ------------------ Commands ------------------ #
  excellentcrates.command:
    description: Access to all plugin commands.
    default: op
    children:
      excellentcrates.command.drop: true
      excellentcrates.command.forceopen: true
      excellentcrates.command.give: true
      excellentcrates.command.key: true
      excellentcrates.command.key.give: true
      excellentcrates.command.key.take: true
      excellentcrates.command.key.set: true
      excellentcrates.command.key.show: true
      excellentcrates.command.key.show.others: true
      excellentcrates.command.menu: true
      excellentcrates.command.menu.others: true
      excellentcrates.command.preview: true
      excellentcrates.command.preview.others: true
      excellentcrates.command.resetcooldown: true
      excellentcrates.command.resetlimit: true

  excellentcrates.command.drop:
    description: Access to '/crate drop' subcommand.
    default: op

  excellentcrates.command.forceopen:
    description: Access to '/crate forceopen' subcommand.
    default: op

  excellentcrates.command.give:
    description: Access to '/crate give' subcommand.
    default: op

  excellentcrates.command.key:
    description: Access to '/crate key' subcommand.
    default: op

  excellentcrates.command.key.give:
    description: Access to '/crate key give' subcommand.
    default: op

  excellentcrates.command.key.take:
    description: Access to '/crate key take' subcommand.
    default: op

  excellentcrates.command.key.set:
    description: Access to '/crate key set' subcommand.
    default: op

  excellentcrates.command.key.show:
    description: Access to '/crate key show' subcommand.
    default: true

  excellentcrates.command.key.show.others:
    description: Access to '/crate key show [player]' subcommand.
    default: op

  excellentcrates.command.menu:
    description: Access to '/crate menu' subcommand.
    default: true

  excellentcrates.command.menu.others:
    description: Access to '/crate menu [player]' subcommand.
    default: op

  excellentcrates.command.preview:
    description: Access to '/crate preview' subcommand.
    default: true

  excellentcrates.command.preview.others:
    description: Access to '/crate preview [player]' subcommand.
    default: op

  excellentcrates.command.resetcooldown:
    description: Access to '/crate resetcooldown' subcommand.
    default: op

  excellentcrates.command.resetlimit:
    description: Access to '/crate resetlimit' subcommand.
    default: op
  # ------------------ Commands End ------------------ #



  # ------------------ Bypass ------------------ #
  excellentcrates.bypass:
    description: Bypasses all the plugin restrictions.
    default: op
    children:
      excellentcrates.bypass.crate: true
      excellentcrates.bypass.reward: true


  excellentcrates.bypass.crate:
    description: Bypasses all crate restrictions.
    default: op
    children:
      excellentcrates.bypass.crate.opencost: true
      excellentcrates.bypass.crate.opencooldown: true

  excellentcrates.bypass.crate.opencost:
    description: Bypasses crate open cost.
    default: op
    children:
      excellentcrates.bypass.crate.opencost.money: true
      excellentcrates.bypass.crate.opencost.exp: true

  excellentcrates.bypass.crate.opencost.money:
    description: Bypasses crate money open cost.
    default: op

  excellentcrates.bypass.crate.opencost.exp:
    description: Bypasses crate exp open cost.
    default: op

  excellentcrates.bypass.crate.opencooldown:
    description: Bypasses crate open cooldown.
    default: op


  excellentcrates.bypass.reward:
    description: Bypasses all crate reward restrictions.
    default: op
    children:
      excellentcrates.bypass.reward.limit: true

  excellentcrates.bypass.reward.limit:
    description: Bypasses reward win limits.
    default: op
    children:
      excellentcrates.bypass.reward.limit.amount: true
      excellentcrates.bypass.reward.limit.cooldown: true

  excellentcrates.bypass.reward.limit.amount:
    description: Bypasses reward win limit amount.
    default: op

  excellentcrates.bypass.reward.limit.cooldown:
    description: Bypasses reward win limit cooldown.
    default: op
# ------------------ Bypass End ------------------ #