Skip to main content

VaultAPI

Overview​

The VaultAPI plugin allows FireBox the ability to create physical coins, in order to create items which can be converted back.

Currency​

A currency is a physical item which can be converted back to a value.

You can configure the currency item (the amount setting is not needed), the value and the identifier.

There is also a legacy option which makes currencies available to be claimed, but not to be given by /withdraw.

Config example​

economy.yml
enabled: true
currencies:
- identifier: small-coin
legacy: false
value: 1.0
item:
material: COAL
amount: 1
damage: 0
custom-model-data: -1
unbreakable: false
title: '&7Small Coin'
enchantments: []
flags: []
- identifier: medium-coin
legacy: false
value: 10.0
item:
material: IRON_INGOT
amount: 1
damage: 0
custom-model-data: -1
unbreakable: false
title: '&7Medium Coin'
enchantments: []
flags: []