Vault
Table of contents
Vault is an economy, permissions, and chat API for Bukkit plugins. EzLifesteal uses Vault’s economy layer to support real in-game currency for the shop and kill streak money rewards.
What it enables
- Paid shop items — set a
priceon any Shop entry. Without Vault, setting a price has no effect and all items are offered for free. - Money kill streak rewards — award in-game currency through the
moneyfield in a Kill Streak reward entry.
How it works
On server start EzLifesteal queries the Vault service registry for an Economy provider. Any economy plugin that ships a Vault adapter is compatible, including:
- EssentialsX
- CMI
- TheNewEconomy (TNE)
- GoldAndEconomy, and others
EzLifesteal does not depend on a specific economy plugin — only on the Vault API layer.
When absent
| Feature | Fallback behaviour |
|---|---|
Shop item with price set | Item is offered for free |
Kill streak money reward | Reward entry is silently ignored |
No errors are logged. The shop and kill streak features continue to work; only the economy-dependent parts are disabled.
Setup
- Download and install Vault on your server.
- Install a Vault-compatible economy plugin (e.g. EssentialsX).
-
Add a
priceto one or more shop entries inshop.yml:slots: - slot: 11 heart: standard price: 500.0 amount: 1 - Or add a
moneyreward inlifesteal-killstreaks.yml:
streaks:
- threshold: 5
rewards:
- type: money
amount: 250.0
Related pages
- Shop — full shop setup guide
- Kill Streaks — reward type reference
- Shop config (
shop.yml) — exhaustive key reference - Kill Streak config (
lifesteal-killstreaks.yml) — full reward-type list