Docs
Dynamic market
Block prices move with the supply of the whole server. Selling a lot of one block lowers its price, and the price recovers toward its base value when demand rests.
| Configuration | market.yml (base prices in prices.yml) |
| Data | data/market.yml |
| Module | market |
Commands
| Command | Aliases | Permission | Description |
|---|---|---|---|
/market | /mercado, /prices | pulseprison.market (everyone) | Price board with trends and mini charts |
/market price <block> | pulseprison.market | Current price, base price and trend of a block |
Default configuration
yaml
enabled: true
update-interval-seconds: 300 # how often prices are recalculated
expected-volume-per-window: 20000 # "normal" sales per block in one window
elasticity: 0.18 # how far oversupply lowers the price
recovery: 0.08 # how far it returns toward the base price per window
bounds:
minimum: 0.35 # never below 35% of the base price
maximum: 2.5 # never above 250%
announce-swings: true
announce-threshold-percent: 25.0 # announce moves of 25% or moreEvery sale (hand mining, auto-sell, /sellall, backpack and robots) feeds the market.
Placeholders
| Placeholder | Returns |
|---|---|
%pulseprison_market_price_<block>% | Current price |
%pulseprison_market_trend_<block>% | Trend (rising, falling, stable) |
Event for addons: MarketPriceChangeEvent.