-
Notifications
You must be signed in to change notification settings - Fork 0
Commands and Permissions
This page covers the commands and permission nodes for both the modern Coffers line and the Coffers Legacy line.
Coffers provides:
- a modern command root:
/coffers - a legacy command root:
/cofferslegacy
Both lines support the same major command actions:
balancepaysethistorycurrenciesmigratevault
The modern line uses:
/coffers
Shows a balance.
Usage examples:
/coffers balance/coffers balance gems/coffers balance Kai/coffers balance Kai coins
Notes:
- players can check their own balance
- checking another player's balance requires the
coffers.command.balance.otherspermission
Transfers funds from the sender to another player.
Usage examples:
/coffers pay Kai 50/coffers pay Kai 25 gems
Notes:
- this command is for players only
- players cannot pay themselves
- negative amounts are rejected
Sets a player's balance directly.
Usage examples:
/coffers set Kai 100/coffers set Kai 500 coins
Notes:
- intended for administration and management use
- requires the
coffers.command.setpermission
Shows recent transaction history for an account.
Usage examples:
/coffers history/coffers history Kai/coffers history Kai 10
Notes:
- when used without a player argument, players can view their own recent history
- console must specify a player
Shows the currently available currencies.
Usage example:
/coffers currencies
Migrates balances from another Vault-backed economy provider already available on the server.
Usage examples:
/coffers migratevault/coffers migratevault Essentials
Notes:
- requires the
coffers.command.migratevaultpermission - intended for migration and setup workflows
The legacy line uses:
/cofferslegacy
Shows a balance on the legacy line.
Usage examples:
/cofferslegacy balance/cofferslegacy balance gems/cofferslegacy balance Kai/cofferslegacy balance Kai coins
Transfers funds on the legacy line.
Usage examples:
/cofferslegacy pay Kai 50/cofferslegacy pay Kai 25 gems
Sets a player's balance on the legacy line.
Usage examples:
/cofferslegacy set Kai 100/cofferslegacy set Kai 500 coins
Shows recent transaction history on the legacy line.
Usage examples:
/cofferslegacy history/cofferslegacy history Kai/cofferslegacy history Kai 10
Shows the currently available currencies on the legacy line.
Usage example:
/cofferslegacy currencies
Migrates balances from another Vault-backed economy provider into the legacy Coffers line.
Usage examples:
/cofferslegacy migratevault/cofferslegacy migratevault Essentials
The modern and legacy lines use separate permission namespaces.
Modern permissions:
coffers.command.usecoffers.command.balance.otherscoffers.command.setcoffers.command.migratevault
Legacy permissions:
cofferslegacy.command.usecofferslegacy.command.balance.otherscofferslegacy.command.setcofferslegacy.command.migratevault
Default: true
Allows use of the main /coffers command root.
Default: op
Allows a user to check another player's balance.
Default: op
Allows direct balance setting through /coffers set.
Default: op
Allows Vault migration commands through /coffers migratevault.
Default: true
Allows use of the main /cofferslegacy command root.
Default: op
Allows a user to check another player's balance on the legacy line.
Default: op
Allows direct balance setting through /cofferslegacy set.
Default: op
Allows Vault migration commands through /cofferslegacy migratevault.
For most servers:
- leave
coffers.command.useenabled for normal players - leave
cofferslegacy.command.useenabled for normal players if you are running the legacy line - reserve
balance.others,set, andmigratevaultfor staff or administrators
Typical admin-level nodes:
coffers.command.balance.otherscoffers.command.setcoffers.command.migratevault
Typical legacy admin-level nodes:
cofferslegacy.command.balance.otherscofferslegacy.command.setcofferslegacy.command.migratevault
Keep in mind:
- the modern line and legacy line use different command roots
- the modern line and legacy line use different permission node prefixes
- migration commands are powerful and should generally be restricted to administrators
- balance-setting permissions should not be granted to normal players