The Endex | Dynamic Stock Market for Minecraft [1.20.1 - 1.21.8] icon

The Endex | Dynamic Stock Market for Minecraft [1.20.1 - 1.21.8] -----

The Endex is a Minecraft plugin that turns resources into a stock market driven by supply and demand



The Endex | Dynamic Market & Addons [1.20.1 - 1.21.8]

[​IMG]

Bring a living economy to your server. Prices move with player demand and supply, with a slick Market GUI, timed events, optional web dashboard, and an addon framework.

Key Features
Dynamic Pricing
— Prices react to demand/supply with configurable sensitivity, EMA smoothing, and per‑item min/max caps.
Inventory‑Aware Pricing (Optional) — Prices can gently adapt to how many items players are holding (online inventories). Above‑baseline stock nudges price down; scarce items nudge it up. Fully capped and smoothed.
Market GUI — Categories, search, sorting, quick buy/sell amounts, a details panel with a tiny sparkline, plus last‑cycle demand/supply and an estimated impact percentage. GUI auto‑refreshes on price updates.

[​IMG]
[​IMG]
[​IMG]

Investments — Buy positions in items, view holdings, and redeem accrued value with simple in‑game commands.

Events & Shocks — Time‑boxed multipliers (e.g., Ore Rush) with broadcasts; configurable and hot‑reloadable.

[​IMG]

Addon Framework — Lightweight API for addons to plug in new behaviors.
Web Dashboard (Optional) — REST API, live updates (WS/SSE), charts, real item icons from your resource pack with caching, and Combined Holdings that show both Invest (DB) and Inv (live inventory) with badges.

[​IMG]


Commands
Code (Text):

/endex help
/endex version

/market
/market buy <item> <amount>
/market sell <item> <amount>
/market price <item>
/market top

/market invest buy <item> <amount>
/market invest list
/market invest redeem-all

/market event list
/market event <name>
/market event end <name>
/market event clear
 
Permissions
theendex.market — default: true
theendex.buy — default: true
theendex.sell — default: true
theendex.invest — default: true
theendex.admin — default: op
endex.web.trade — allow web trading role
endex.web.admin — allow viewing others’ holdings via /api/holdings/{uuid}

Configuration Highlights
Versioned configuration with automated migration on startup and reload.
Adjustable update interval, price sensitivity, history length, and autosave frequency.
Transaction tax, item blacklist, category settings, and event multiplier caps.
Storage selection (YAML or SQLite) with automatic seeding and CSV price history export.
Optional web server (host/port, WS/SSE, icons, caching, rate limits).
Inventory‑aware pricing:
Code (Text):

price-inventory:
    enabled: true
    sensitivity: 0.02
    per-player-baseline: 64
    max-impact-percent: 10.0
 
Web combined holdings:
Code (Text):

web:
    roles:
        default: TRADER
        trader-permission: endex.web.trade
        admin-view-permission: endex.web.admin
    holdings:
        inventory:
            enabled: true
            include-enderchest: false
            cache-seconds: 15
 
Compatibility
Server: Paper/Spigot 1.20.1 to latest.
Java 17 runtime.
Economy: Vault (soft dependency).

Data & Reliability
YAML storage in the plugin folder by default; optional SQLite database.
Periodic backups and orderly saves; safe reload reschedules tasks cleanly.
Atomic CSV export to plugins/TheEndex/history.
Last‑cycle demand/supply persist (no more 0% on idle cycles).

API & Addons
Public API service for other plugins: org.lokixcz.theendex.api.EndexAPI
Addon loader with command routing and aliasing
Customizable Web UI override (`web.custom.*`) – export default `index.html` and modify; unified market view (legacy Addons tab removed)

Support
Join our Discord

Disclaimer
This plugin was created with the help of AI, but the idea itself is mine. I tested it in real-time while using prompts, so it should work. Still, please expect that it may have some bugs, errors, or security issues.

Changelog

New in 1.2.0:
- Customizable Web UI override (`web.custom.*`) – export default assets then edit `index.html`, CSS, JS; `/endex webui export|reload` admin commands.
- Unified single‑page market view (legacy separate Addons tab removed) with improved filters & layout stability.
- Performance & live update polish (layout reflow reductions, caching tweaks, rate‑limit refinements).
- Minor icon & holdings panel improvements.
Retained from 1.1.x: inventory‑aware pricing, Combined Holdings badges, resource‑pack item icons.
See docs/changelogs.md for full release notes.

[​IMG]
Join our Discord!​
Resource Information
Author:
----------
Total Downloads: 54
First Release: Aug 27, 2025
Last Update: Sep 26, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings