Kill Streaks
Table of contents
- How the counter works
- Enabling kill streaks
- Defining rewards
- Available reward types
- Testing
- Config reference
The kill streak system tracks each player’s consecutive PvP kill count and fires a configurable reward when the count hits a defined threshold. Rewards can include items, in-game currency (via Vault), console commands, personal messages, and server broadcasts.
How the counter works
- The counter starts at
0per player. - Every PvP kill adds
1. - When the counter exactly matches a key in
rewards, that reward fires. - If
reset-on-death: true, any death resets the counter back to0. - Skipped thresholds never fire. A player who jumps from 4 to 6 in one kill will not trigger a reward defined at
5.
Enabling kill streaks
In lifesteal-killstreaks.yml:
kill-streaks:
enabled: true
reset-on-death: true
rewards: {}
Defining rewards
Add entries under rewards keyed by streak threshold:
kill-streaks:
enabled: true
reset-on-death: true
rewards:
3:
messages:
- "&6You're on a &e3-kill streak!"
5:
money: 500.0
items:
- material: GOLDEN_APPLE
amount: 2
broadcast-message: "&6%player% &7is on a &e5-kill streak!"
10:
money: 2000.0
commands:
- "broadcast &c%player% hit a &e10&c-kill streak!"
messages:
- "&aStreak bonus: $2,000!"
Available reward types
| Field | Requires | Description |
|---|---|---|
money | Vault + economy plugin | Currency added to the player’s balance. |
items | — | Item stacks given to the player (drop at feet if inventory full). Each entry needs material and optionally amount. |
commands | — | Console commands. Supports %player% and %streak%. |
messages | — | Private chat messages sent to the streaking player. Supports & colour codes. |
broadcast-message | — | Server-wide chat message. Supports & colour codes and %player% / %streak%. |
money is the only field that requires Vault. All other reward types work without an economy plugin.
Testing
Use /lifesteal test kill on a staging server to simulate PvP kills without needing actual combat. Run it repeatedly with reset-on-death: false to walk through your full threshold chain.
Config reference
- Kill Streaks (
lifesteal-killstreaks.yml) — exhaustive key reference with tuning tips