Skip to main content

Economy Configuration

Complete reference for economy settings.

Configuration Locationโ€‹

economy:
# Settings here

Settings Referenceโ€‹

Enable Economyโ€‹

Path: economy.enabled
Type: boolean
Default: false
Description: Enable/disable economy integration

economy:
enabled: true

Currency Selectionโ€‹

Path: economy.currency
Type: string
Default: "vault"
Description: Economy currency to use

Values:

  • "vault" - Use Vault economy
  • "coins" - Use CoinsEngine
economy:
currency: "vault" # or "coins"

Tool Costsโ€‹

Path: economy.costs
Type: map<string, double>
Default: 0.0 for all tools
Description: Cost per tool use

economy:
costs:
pickaxe: 10.0
axe: 5.0
bucket: 1.0
hoe: 2.0

Tool Rewardsโ€‹

Path: economy.rewards
Type: map<string, double>
Default: 0.0 for all tools
Description: Reward per operation

economy:
rewards:
pickaxe: 1.0 # Per block
axe: 0.5 # Per log
bucket: 0.1 # Per operation
hoe: 0.3 # Per crop

Economy Messagesโ€‹

Path: economy.messages
Type: map<string, string>
Description: Custom economy messages

economy:
messages:
insufficient-funds: "&c๐Ÿ’ฐ You need %amount% %currency% to use this tool!"
cost-deducted: "&e๐Ÿ’ฐ Cost: %amount% %currency%"
reward-earned: "&a๐Ÿ’ฐ Reward: %amount% %currency%"

Complete Exampleโ€‹

economy:
enabled: true
currency: "vault"
costs:
pickaxe: 10.0
axe: 5.0
bucket: 1.0
hoe: 2.0
rewards:
pickaxe: 1.0
axe: 0.5
bucket: 0.1
hoe: 0.3
messages:
insufficient-funds: "&c๐Ÿ’ฐ You need %amount% %currency% to use this tool!"
cost-deducted: "&e๐Ÿ’ฐ Cost: %amount% %currency%"
reward-earned: "&a๐Ÿ’ฐ Reward: %amount% %currency%"

Next Stepsโ€‹