ItemEconomy/src/main/resources/plugin.yml
adrian 717f1b9a1a Bumped version to 1.2.
Added `/balance` and `/pay` commands and a config option to enable them.

Added safeIs method to Config to match values without case sensitivity.

Added getCurrencyText method to Config to generate a formatted string from a currency amount.

Value 'format' from config file now supports amount-name replacement.

Main now stores the instance of VaultLayer for further use.
2026-01-02 20:55:50 -03:00

32 lines
No EOL
857 B
YAML

name: ItemEconomy
main: io.github.adrianvic.itemeconomy.Main
version: 1.2
depend: [Vault]
api-version: '1.21'
commands:
itecoreload:
description: Reloads the config for ItemEconomy
usage: "/itecoreload"
permission: iteco.reload
default: op
balance:
description: Prints your balance
usage: "/balance"
aliases: [bal]
permission: iteco.balance
pay:
description: Transfers money from your balance to other player
usage: "/pay <player> <amount>"
permission: iteco.pay
permissions:
iteco.reload:
description: "Permission to use the command '/itecoreload'."
default: false
iteco.balance:
description: "Permission to use the command '/balance'."
default: true
children:
iteco.balance.others: false
iteco.pay:
description: "Permission to use the command '/pay'."
default: true