name: BankPlugin
author: chrisimi
main: com.chrisimi.bankplugin.main.Main
website: https://www.spigotmc.org/resources/bank-plugin.76863/
version: 2.2
api-version: 1.13
softdepend:
  - Multiverse-Core
commands:
  bank:
    description: open info GUI
    usage: /bank

  bank help signs:
    description: open signs help panel
    usage: /bank help signs
    permission: bank.sign.create

  bank virtual:
    description: virtual Bank
    usage: /bank virtual OR /bank v
    permission: bank.virtual

  bank createvillager:
    description: create new villager
    usage: /bank createvillager
    permission: bank.admin

  bank syncvillagers:
    description: synchronise villager
    usage: /bank syncvillager
    permission: bank.admin

  bank deletevillager:
    description: delete a Bank-Villager
    usage: /bank deletevillager
    permission: bank.admin

  bank updateconfig:
    description: updates the config.yml
    usage: /bank updateconfig
    permission: bank.admin

  bank sync:
    description: opens the synchronisation manager
    usage: /bank sync
    permission: bank.admin

  bank sync file:
    description: sync the local file database with the MySQL database
    usage: /bank sync file
    permission: bank.admin

  bank sync mysql:
    description: sync the MySQL database with the local file database
    usage: /bank sync mysql
    permission: bank.admin

  bank connect:
    description: connect to database manually
    usage: /bank connect
    permission: bank.admin

  bank reloadconfig:
    description: reloads the config
    usage: /bank reloadconfig
    permission: bank.admin

  bank reloadmessages:
    description: reloads messages
    usage: /bank reloadmessages
    permission: bank.admin
    
  bank admin:
    description: opens the admin panel
    usage: /bank admin
    permission: bank.admin

permissions:
  bank.*:
    description: User can do anything
    default: op
    children:
      bank.admin: true

  bank.admin:
    description: User can do anything
    default: false
    children:
      casino.create.sign: true
      casino.virtual: true

  casino.create.sign:
    description: User can create bank signs
    default: false

  casino.virtual:
    description: User can open Bank menu without villager.
    default: false