Economy / Shop
A full server economy — players earn coins for kills, survival, and daily logins. Spend in your custom shop.
What it does
The Economy module gives your server a persistent in-game currency system. Players earn coins by playing — through kills, staying alive, and logging in daily. They can then spend those coins in your server's custom shop, which you configure entirely through the Vigil dashboard.
The economy persists across server wipes. Player balances are stored in Vigil's database, not on the game server, so they survive restarts and map resets.
How players earn coins
Kill rewards
Every time a player kills another player, they earn a configurable coin reward. Bonuses stack on top:
- Headshot bonus — extra coins for a kill to the head
- Long range bonus — a multiplier applied to the reward when the kill distance exceeds a threshold (default: 300m). A 1.5x multiplier on a 10-coin kill gives 15 coins.
Survival reward
Players earn a small amount of coins per minute they stay alive on the server (default: 1 coin/minute). This rewards players who survive longer and adds a consistent income stream for non-combat players.
Daily login bonus
The first time a player connects each day, they receive a one-time login bonus (default: 25 coins). This resets at midnight and encourages regular play.
Extended play bonus
If a player stays online for a session longer than a configurable threshold (default: 60 minutes), they receive a one-time extended play bonus (default: 50 coins) at the end of that session.
Configuration options
| Setting | Description | Default |
|---|---|---|
| Kill reward | Coins per player kill | 10 |
| Headshot bonus | Extra coins for a headshot kill | 5 |
| Long range distance | Minimum distance for the bonus (metres) | 300 |
| Long range multiplier | Kill reward multiplier for long range kills | 1.0 (no bonus) |
| Survival reward | Coins per minute online | 1 |
| Daily login bonus | Coins on first connection of the day | 25 |
| Extended play bonus | Coins for staying online beyond the threshold | 50 |
| Extended play threshold | Session length required to earn the bonus (minutes) | 60 |
| Currency name | What your coins are called (e.g. "Credits", "Rubles") | Coins |
The Shop
The shop is configured separately in your server dashboard under Shop Config. You can create items with:
- A name and description
- A price in your server currency
- A category
- A Discord message that posts when someone purchases
Players can browse and purchase items through the Vigil player-facing pages linked to your server.
Suggested Discord channel
#economy — for economy-related announcements and transaction alerts.
Set your currency name to something that fits your server theme. A military server might use "Dog Tags", a pirate server might use "Gold", etc.