Skip to content

permissions

Config Plugins edited this page Sep 3, 2026 · 4 revisions

πŸ” Permissions Reference

All permissions exactly as declared in src/main/resources/plugin.yml:34-94. default: values per Bukkit: true (everyone), false (nobody), op (operators only), not op.


Permissions table

Permission node Default Inherits from / Parent Description Commands / Features that use it
vault.balance true β€” Allows using /balance and viewing your own wallet balance. /balance, PlaceholderAPI %vault_balance_*%
vault.pay true β€” Allows using /pay (direct payment), the payments menu and the Pay + Charge sub-flows. /pay, ChargeRequestService, PayMenuService
vault.pay.bypass_min op β€” Ignores pay_limits.min (default 1) when sending or collecting payments. /pay in GUI and chat-input flow
vault.pay.bypass_max op β€” Ignores pay_limits.max (default 100000) when sending or collecting payments. /pay in GUI and chat-input flow
vault.eco op parent: groups all vault.eco.* Global permission for the /eco command. Automatically assigned if vault.eco is granted. /eco with any subcommand
vault.eco.give op vault.eco (inherited child) Allows using /eco give <player> <amount> and its alias /eco add. EcoCommand.java give branch
vault.eco.take op vault.eco (inherited child) Allows using /eco take <player> <amount> and its alias /eco remove. EcoCommand.java take branch
vault.eco.set op vault.eco (inherited child) Allows using /eco set <player> <amount>. EcoCommand.java set branch
vault.eco.reset op vault.eco (inherited child) Allows using /eco reset <player> (equivalent to set 0). EcoCommand.java reset branch
vault.eco.top true vault.eco (inherited child) Allows using /eco top [page] and /vault top [page] [currency]. TopCacheService + EcoCommand top
vault.top true β€” Allows using /vaultop [page] β€” the classic /baltop-style ranking. VaultOpCommand
vault.loan true β€” Allows using /vault loan and /loan (loan menu, request, pay, status). LoanMenuService, LoanService
vault.withdraw true β€” Allows the /vault withdraw <amount> command β€” generate a PhysicalNote from your balance. PhysicalNoteService.withdrawNote()
vault.redeem true β€” Allows redeeming a PhysicalNote (right-click with it in hand). If you don't have it, the item won't be consumed. PlayerInteractEvent handler in VaultPlugin
vault.history true β€” Allows /vault history [page] β€” open GUI or chat of your own transaction history. HistoryMenuService, TransactionLogService
vault.offlinepay.view op β€” Allows /vault offlinepay or /vault offlinepay list β€” view the pending offline payments queue. OfflinePayQueueService.listAll()
vault.offlinepay.refund op β€” Allows /vault offlinepay refund <id> β€” return the offline payment money to the sender. OfflinePayQueueService.refund(id)
vault.admin op β€” Master permission for the /vault command (admin menu, config editor GUI, reload, update, resetbalances, offlinepay). Required to open the main Vault menu from in-game. Everything that hangs from /vault in VaultCommand.java

🌳 Inheritance tree (children)

Declared in plugin.yml β€” granting vault.eco automatically grants its 5 children:

vault.eco (default: op)
β”œβ”€β”€ vault.eco.give   (auto-granted)
β”œβ”€β”€ vault.eco.take   (auto-granted)
β”œβ”€β”€ vault.eco.set    (auto-granted)
β”œβ”€β”€ vault.eco.reset  (auto-granted)
└── vault.eco.top    (auto-granted)

🎯 Group presets (LuckPerms / GroupManager)

Typical example for LuckPerms:

# Default group (everyone)
default:
  permissions:
    - vault.balance        # true by default (redundant, but explicit)
    - vault.pay            # true by default
    - vault.eco.top        # true by default β€” can see /eco top and /vault top
    - vault.top            # true by default β€” /vaultop
    - vault.loan           # true by default
    - vault.withdraw
    - vault.redeem
    - vault.history

# VIP group (no payment limits)
vip:
  inherits: [default]
  permissions:
    - vault.pay.bypass_min    # Can pay/collect 0.01
    - vault.pay.bypass_max    # Can pay/collect >100,000

# Admin group
admin:
  inherits: [vip]
  permissions:
    - vault.eco              # + eco.give / .take / .set / .reset / .top
    - vault.offlinepay.view
    - vault.offlinepay.refund
    - vault.admin

# Owner group (includes OP + everything else)
owner:
  inherits: [admin]
  permissions:
    - '*'

⚠️ Implicitly used permissions

Although they don't appear in the table above, the code at VaultCommand.java:56 applies a double check:

if (!p.isOp() && !p.hasPermission("vault.admin")) {
    sender.sendMessage(messages.chat("cmd.vault.no_permission"));
}

That is, both having OP and having vault.admin unlock:

  • /vault (main menu)
  • /vault reload
  • /vault update
  • /vault resetbalances confirm
  • /vault offlinepay list and refund <id>
  • /vault bank balance <otherPlayer>

If you use a permissions plugin, preferably grant vault.admin explicitly instead of giving * or global OP β€” follow the principle of least privilege.

Vault v2.1 Β· Wiki


πŸ†” For Beginners


πŸ’΅ Currency & Format


⌨️ Commands & Permissions


πŸ“¦ Economic Features


❓ FAQ & Troubleshooting


🌐 Multi-world


🀝 Compatibility


🧩 Scripting & Integration


πŸ‘©β€πŸ’» Developers


🧰 Other

Clone this wiki locally