Vault
Obfeco provides built-in support for Vault, a common API used by many Minecraft economy plugins.
How it works
When Vault is enabled, Obfeco will register itself as the economy provider for your server. This allows any other plugin that supports Vault (such as ChestShop, EssentialsX, GUI plugins, etc.) to interact with Obfeco's primary currency.
Configuration
In config.yml, you can enable/disable Vault support and choose which currency will be the "primary" one used by Vault.
vault:
enabled: true
primary-currency: dollars # Currency ID that Vault will use
Multi-Currency with Vault
Since Vault only supports one currency per server, you must choose one currency from Obfeco to be the primary. All other currencies will only be accessible through Obfeco's own commands or PlaceholderAPI.
Troubleshooting Vault
- If Vault doesn't recognize Obfeco, make sure Vault is installed and that Obfeco is loading after it.
- Check the console for any errors like:
[Obfeco] Failed to hook into Vault!. - Verify the
primary-currencyID inconfig.ymlexists in Obfeco.