Economy Integration
Economy Integration
Section titled “Economy Integration”Reverie integrates with the Impactor Economy API to support entry fees and currency rewards.
Requirements
Section titled “Requirements”To use economy features, you need:
- Impactor mod installed on the server
- An economy provider (any mod that implements Impactor’s Economy API)
Without Impactor, economy features are silently disabled and contests work without fees or currency rewards.
Entry Fees
Section titled “Entry Fees”Contest halls can require an entry fee in the hall config:
rules { entry-fee = 100}When set to a value above 0:
- Players must have sufficient balance to join
- The fee is deducted when they join the contest
- If the contest is cancelled, fees can be refunded (configurable)
Currency Rewards
Section titled “Currency Rewards”Rewards can include currency payouts:
rewards { first = [{ type = "currency", amount = 1000 }] second = [{ type = "currency", amount = 500 }] third = [{ type = "currency", amount = 250 }] participation = [{ type = "currency", amount = 50 }]}Reward Types
Section titled “Reward Types”Reverie supports three reward types that can be mixed:
| Type | Description | Example |
|---|---|---|
ribbon | Award a contest ribbon | { type = "ribbon", tier = "auto" } |
command | Execute a server command | { type = "command", command = "give {player} diamond 5" } |
currency | Impactor economy payout | { type = "currency", amount = 500 } |
Command Rewards
Section titled “Command Rewards”Command rewards support the {player} placeholder which is replaced with the winner’s name:
rewards { first = [ { type = "ribbon", tier = "master" }, { type = "command", command = "give {player} minecraft:netherite_ingot 2" }, { type = "currency", amount = 1000 } ]}Win Streak Bonuses
Section titled “Win Streak Bonuses”Bonus rewards for consecutive wins:
rewards { winStreakBonuses { 3 = ["minecraft:diamond 1"] 5 = ["minecraft:diamond 3"] 10 = ["minecraft:netherite_ingot 1"] }}Next Steps
Section titled “Next Steps”- Hall Configuration — Set entry fees and rewards per-hall
- Tournaments — Tournament reward configuration