name: RedisEconomy
version: '4.1.2-SNAPSHOT'
main: dev.unnm3d.rediseconomy.RedisEconomyPlugin
author: Unnm3d
load: STARTUP
depend:
  - Vault
libraries:
  - io.lettuce:lettuce-core:6.2.2.RELEASE
softdepend:
  - PlaceholderAPI
  - Essentials
  - EssentialsX
  - XConomy
  - CMI
  - EconomyPlus
  - BetterEconomy
  - ArcaneEconomy
  - EasyConomy
commands:
  pay:
    description: Pay a player
    usage: /pay <player> <amount>
    permission: rediseconomy.pay
  balance:
    description: Show balances
    usage: /balance <player>
    aliases: [money,bal]
    permission: rediseconomy.balance
  balancetop:
    description: Show top balances
    usage: /balancetop
    aliases: [moneytop,baltop]
    permission: rediseconomy.balancetop
  transaction:
    description: Show transaction info
    usage: /transaction <player> <id> [revert]
    permission: rediseconomy.admin.transaction
  browse-transactions:
    description: Show transactions
    usage: /browse-transactions <player> [timestamp]
    permission: rediseconomy.admin.browse-transactions
  purge-balance:
    description: Purge balances
    usage: /purge-balance <player> [onlyNameUUID]
    permission: rediseconomy.admin.purge-balance
  rediseconomy:
    description: RedisEconomy commands
    usage: /rediseconomy <reload/editmessage/savemessage> [messageField] [token]
    aliases: [rediseco]
    permission: rediseconomy.admin
  switch-currency:
    description: Switch currency with another currency
    usage: /switch-currency <currency> <switch-currency>
    permission: rediseconomy.admin.switch-currency
  backup-economy:
    description: Backups and restores economy data to a file
    aliases: [restore-economy]
    usage: /backup-economy <file>
    permission: rediseconomy.admin.backup-restore
permissions:
    rediseconomy.pay:
        description: Allows to use /pay
        default: true
    rediseconomy.balance:
        description: Allows to use /balance
        default: true
    rediseconomy.balancetop:
        description: Allows to use /balancetop
        default: true
    rediseconomy.admin:
        description: Allows to use admin commands
        default: op
    rediseconomy.pay.*:
      description: Allows to use /pay all currencies
      default: op
    rediseconomy.balance.*:
      description: Allows to use /balance with other currencies
      default: op
    rediseconomy.admin.*:
      description: Allows to use all admin commands
      default: op
      children:
        rediseconomy.admin.transaction: true
        rediseconomy.admin.purge-balance: true
        rediseconomy.admin.switch-currency: true
        rediseconomy.admin.browse-transactions: true
        rediseconomy.admin.editmessage: true
        rediseconomy.admin.backup-restore: true
