main: 'at.joestr.postbox.PostBoxPlugin'
name: 'PostBox'
version: '1.2.4'
api-version: '1.19'
description: 'Sending items to other players.'
author: 'joestr'
website: 'https://projects.joestr.at/postbox/'
database: true
softdepend: [LuckPerms]
commands:
  postbox:
    description: Shows the help for the PostBox plugin.
    permission: postbox.commands.postbox
    permission-message: '§cYou are lacking permission §fpostbox.commands.postbox§c!'
    usage: '§cSyntax error! Use: §f/<command>'
  postbox-send:
    description: Send items to other players.
    permission: postbox.commands.postbox-send
    permission-message: '§cYou are lacking permission §fpostbox.commands.postbox-send§c!'
    usage: '§cSyntax error! Use: §f/<command>'
  postbox-open:
    description: Opens your PostBox.
    permission: postbox.commands.postbox-open
    permission-message: '§cYou are lacking permission §fpostbox.commands.postbox-open§c!'
    usage: '§cSyntax error! Use: §f/<command>'
  postbox-openother:
    description: Opens another player's PostBox.
    permission: postbox.commands.postbox-openother
    permission-message: '§cYou are lacking permission §fpostbox.commands.postbox-openother§c!'
    usage: '§cSyntax error! Use: §f/<command>'
  postbox-update:
    description: Updates the plugin.
    permission: postbox.commands.postbox-update
    permission-message: '§cYou are lacking permission §fpostbox.commands.postbox-update§c!'
    usage: '§cSyntax error! Use: §f/<command>'
permissions:
  postbox.commands.*:
    description: Allows the usage all commands provided by the PostBox plugin.
    children:
      postbox.commands.postbox: true
      postbox.commands.postbox-send: true
      postbox.commands.postbox-open: true
      postbox.commands.postbox-openother: true
      postbox.commands.postbox-update: true
  postbox.presets.basic:
    description: Allows the basic usage for the PostBox plugin.
    default: true
    children:
      postbox.commands.postbox: true
      postbox.commands.postbox-send: true
      postbox.commands.postbox-open: true
  postbox.presets.admin:
    description: Allows admin usage for the PostBox plugin.
    default: op
    children:
      postbox.commands.postbox: true
      postbox.commands.postbox-send: true
      postbox.commands.postbox-open: true
      postbox.commands.postbox-openother: true
      postbox.commands.postbox-update: true