name: EasyPayments
main: ru.easydonate.easypayments.EasyPaymentsPlugin
version: 2.0.8
authors: [SoKnight, DontFollow]
description: The official payment processing implementation as alternative for the RCON protocol
libraries:
- org.postgresql:postgresql:42.3.3
- com.h2database:h2:2.1.210
api-version: 1.13

commands:
  easypayments:
    aliases: [ep]
    description: The main plugin command
    usage: /easypayments help

  shopcart:
    aliases: [cart]
    description: The shop cart management command
    usage: /easypayments help

permissions:
  # +----------------+
  # |    Commands    |
  # +----------------+

  # /easypayments help
  easypayments.command.help:
    description: Gives access to see the commands manual
    default: true

  # /shopcart get
  easypayments.command.cart.get:
    description: Gives access to receive all purchases from the shop cart
    default: true

  # /shopcart browse
  easypayments.command.cart.browse:
    description: Gives access to see browse own shop cart
    default: true

  # /shopcart browse <player>
  easypayments.command.cart.browse.other:
    description: Gives access to see browse other player's shop cart
    default: op

  # /easypayments status
  easypayments.command.status:
    description: Gives access to see the plugin status info
    default: op

  # /easypayments setup
  easypayments.command.setup:
    description: Gives access to configure the plugin
    default: op

  # /easypayments migrate <into>
  easypayments.command.migrate:
    description: Gives access to migrate plugin data from current database to another
    default: op

  # /easypayments reload
  easypayments.command.reload:
    description: Gives access to reload plugin configurations
    default: op

  # +---------------------+
  # |    Miscellaneous    |
  # +---------------------+

  # uncollected cart items notification
  easypayments.notify.cart:
    description: Notifies this player about uncollected cart items
    default: true

  # a new version available notification
  easypayments.notify.update:
    description: Notifies this player about a new version available
    default: op