### Treasury
# Treasury is a modern code library for SpigotMC plugins.
# GitHub Repository: <https://github.com/ArcanePlugins/Treasury/>
#
### About this File
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !!! This is NOT a configuration file for server owners. !!!
# !!!     Server owners are NOT to modify this file.      !!!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# This file is read by your server software to determine
# various information about this plugin, so it can be loaded
# properly, and register its commands and permissions.

# Main plugin information
name: "Treasury"
version: "2.0.0-36460a4-RELEASE"
description: "A modern, multi-platform library facilitating the interaction between 'provider' plugins on your server."
authors: [ "lokka30", "Jikoo" , "MrIvanPlays" ]

# Dependencies
depend: [ ]
softdepend: [ "PlaceholderAPI" ]

# General info for the plugin loader
main: "me.lokka30.treasury.plugin.bukkit.TreasuryBukkit"
api-version: '1.13' # This is Spigot's API version, NOT Treasury's API version.
load: "STARTUP"
loadbefore: [ ]

# Marks whether PaperMC's Folia is supported
folia-supported: true

# All registered base commands are listed here
commands:
  treasury:
    description: "Manage the Treasury plugin."
    usage: "/<command> help"

# All permissions used are listed here
permissions:
  treasury.command.treasury:
    description: "Ability to run `/treasury`."
    default: true

  treasury.command.treasury.help:
    description: "Ability to run `/treasury help`."
    default: true

  treasury.command.treasury.info:
    description: "Ability to run `/treasury info`."
    default: op

  treasury.command.treasury.reload:
    description: "Ability to run `/treasury reload`."
    default: op

  treasury.command.treasury.downloadLatest:
    description: "Ability to run `/treasury downloadLatest`."
    default: op

  treasury.command.treasury.economy:
    description: "Ability to run `/treasury economy`."
    default: true

  treasury.command.treasury.economy.help:
    description: "Ability to run `/treasury economy help`."
    default: true

  treasury.command.treasury.economy.info:
    description: "Ability to run `/treasury economy info`."
    default: op

  treasury.command.treasury.economy.migrate:
    description: "Ability to run `/treasury economy migrate`."
    default: op
