Black Friday Bundles up to 67% off Everything else is 30% off. Ends December 3. See the bundles →

Plugins

Browse

Vault

Vault

View as Markdown ·

On this page

circle-info

Every option on this page is in config.yml and Editor > Settings > Economy Hooks. A change made by hand applies with /pcur reload, one made in the editor straight away.

#Vault

With Vault installed, one currency is offered as the server's economy, so shops, jobs and every other plugin that pays through Vault use it. The other currencies are reached through their own commands, placeholders, the API and the multi-currency hooks below.

Vault changes are logged in the transaction log like any other.

Economy plugin API What it gets Needs
Vault The Vault currency and player accounts. No bank support. Vault or VaultUnlocked
VaultUnlocked Every currency and player accounts. Shared accounts are not supported. VaultUnlocked
Treasury Every currency and player accounts. Non-player accounts are not supported. Treasury
ServiceIO The Vault currency, player accounts ServiceIO 2.5 or newer

Each hook registers at the Vault Priority below and only when its plugin is installed.

#Towns and Other Non-Player Accounts

Plugins such as Towny and Lands keep money in accounts that are not players, by a name like town-spawn or a made-up UUID. Such an account is created the first time it is paid into or created through Vault, starts at 0 in every currency and is left out of leaderboards, rewards and /pcur giveall all. Its money still counts in the money supply.

#Vault Economy

Turns the Vault hook on or off. With it off, the VaultUnlocked hook is off too.

Economy Hooks (Vault Economy)

#Vault Currency

The currency other plugins use through Vault and ServiceIO, and the default currency for VaultUnlocked and Treasury. money by default. When no currency has that id, Vault is not hooked and the console says so.

Economy Hooks (Vault Currency)

#Vault Priority

How strongly the plugin claims Vault. It starts at Low, so an economy plugin you already run keeps Vault. Raise it above that plugin's to take over. The console says which economy Vault uses when it is not this one. Treasury gets the nearest of its three priorities.

Economy Hooks (Vault Priority)

#VaultUnlocked

Offers every currency through VaultUnlocked. Its shared accounts are not supported.

Economy Hooks (VaultUnlocked)

#Treasury

Offers every currency through Treasury. Non-player accounts are not supported. Treasury cannot create or delete currencies here, they are made in the editor.

Economy Hooks (Treasury)

#ServiceIO

Offers the Vault currency through ServiceIO as its economy controller.

Economy Hooks (ServiceIO)

My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping