NexusExchange v1.2.0
Leverage, cross-server sync, NPC brokers, a web dashboard & 11 more additions
The biggest content update yet — 15 new features across trading depth, network play, quality-of-life and progression.
New: Margin & Leverage Trading
- Long & short positions: open leveraged positions with /margin, profit in either direction, and manage them in a dedicated GUI.
- Automatic liquidation: positions are checked every tick and liquidated when equity hits the maintenance floor — full or partial, your choice.
- Balance-neutral: payouts are margin ± market move, floored at zero; no money is created out of thin air.
New: Cross-Server Market Sync
- One market, many servers: on a shared MySQL/MariaDB backend, one node computes prices and the rest mirror them, so every server shows the same live market.
- Automatic leadership: a lease-based leader election hands off cleanly; SQLite/H2 servers simply run standalone as before.
New: NPC Brokers
- Right-click to trade: place broker NPCs (via Citizens) that open the exchange GUI on interaction — give your spawn a real trading floor.
- Soft dependency: Citizens is optional; the rest of the plugin runs untouched without it.
New: Read-Only Web Dashboard
- Live in the browser: a built-in page shows the market with mini price charts, plus optional leaderboards and player portfolios.
- Zero dependencies: built on the JDK HTTP server — just flip it on, set a port, and (optionally) protect the JSON endpoints with an API token.
- Privacy-first: per-player portfolios are off by default and, when enabled, only expose what the in-game leaderboard already shows.
New: Achievements & Titles
- Trader milestones: unlock achievements for trade counts, big wins, total profit, portfolio value and diversification.
- Wearable titles: pick a title in the GUI; show it in chat via PlaceholderAPI (%nexus_title%).
- Optional rewards: each achievement can pay a configurable cash reward — set to 0 by default, so it stays balance-neutral until you choose otherwise.
New: Insider Tips
- A market edge: rare redeemable items that hint at an asset's momentum — a nudge, not a guaranteed win.
- Configurable sources: drop from mob kills and mining, or hand out via command/crates — all toggleable.
⚙ Quality of Life
- /market info <asset>: a quick snapshot with an ASCII price sparkline and 24h high/low.
- Trade confirmation: large buys and sell-all now ask for a second click, so no fat-finger trades.
- Portfolio diversification: a 0–100 score on your portfolio and as a placeholder.
- Differentiated sounds: distinct audio cues for buys, sells, order fills, dividends, crashes and hype.
- Anti-spam cooldown: a configurable cooldown on rapid GUI trading.
🛠 Engine & Reliability
- Backup & restore: export and import your full market data as JSON with /exchangebackup, off-thread, with a confirm step on restore.
- Schema migrations: a versioned migration framework for safe, additive database changes going forward.
- Safer background tasks: every loop is now wrapped so a single error logs cleanly instead of silently killing a timer.
- Automated tests: a JUnit suite covers the price model and core math.
New Commands
- /margin — open, list and close leveraged positions.
- /exchangenpc (alias /broker) — place and remove broker NPCs.
- /insider — grant insider-tip items.
- /achievements (aliases /achievement, /titles) — view achievements and set a title.
- /exchangebackup — export, list and restore data backups.
Drop-in update. Existing tables are untouched; new tables are created automatically and the new sections in config.yml / messages.yml carry safe defaults (rewards and the dashboard are off until you enable them).
NexusExchange
v1.1.0 — The Trading Floor Update
Ten brand-new systems turn your market into a living economy: limit orders, dividends, IPOs, Discord alerts and more.
Bukkit • Spigot • Paper • Purpur • Folia • 1.20+
Headline Features
- Limit Orders & Stop-Loss: Players set buy, sell and stop-loss orders that fill automatically the moment a price target is hit — keeping them hooked even while offline.
- Dividend System: Stocks now pay recurring dividends to long-term holders, rewarding patient investors over quick flippers.
- IPO Events: Launch new stocks as timed, fixed-price offerings that sell out and graduate into the live market — a server-wide hype moment every time.
- Discord Webhooks: Crashes, hype runs, big trades, IPO launches and a daily market report stream straight to your Discord. Zero extra dependencies.
What's New In Detail
- Three order types: LIMIT_BUY, LIMIT_SELL and STOP_LOSS, each with its own trigger logic.
- Auto-execution: Every price tick checks pending orders and fills the moment the target is crossed — online or offline.
- Order GUI: A clean menu of your open orders with one-click cancel and cancel-all.
- Full command set: /order buy|sell|stop <asset> <price> <qty>, plus list, cancel and cancelall.
- Spam protection: Configurable per-player order cap and automatic expiry.
- Per-stock payouts: Set amount-per-unit, interval and a minimum holding to qualify.
- Offline-friendly: Holders get paid whether they're online or not — no missed payouts.
- No double-pays: Every payout is logged, so reloads and restarts never pay twice.
- Portfolio insight: /portfolio now shows "Dividends today" so players see their passive income.
- Four-phase lifecycle: ANNOUNCED → OPEN → CLOSED, with automatic FAILED + refund if nobody buys.
- Fixed-price sale: Capped total supply and a per-player limit keep launches fair.
- Seamless handover: When an IPO closes, the stock joins the live market and every buyer's shares move into their portfolio automatically.
- Admin control: /ipo announce|open|close plus a player-facing IPO browser GUI.
- Rich embeds: Color-coded messages for crashes, hype runs, big trades and IPO launches.
- Daily report: Top gainer, top loser and market state posted at a time you choose.
- Privacy first: Optional anonymization hides player names on big-trade alerts.
- Lightweight: Built on the JDK HTTP client — no bloat, no library conflicts.
🛠 Quality-Of-Life Additions
- Watchlist & Price Alarms: Players track favourite assets and get notified when a price breaks their threshold. /watchlist (alias /wl) with a dedicated GUI.
- Transaction Tax: Configurable buy/sell fees with BURN (deflationary) or POOL mode, per-asset overrides, and admin payout/burn controls via /market tax.
- Per-Asset Leaderboards: Rank the best traders by unrealised profit with /market top <asset> and a player-head GUI.
- GUI Sorting: Sort the market by name, price, trend or holdings with a single click.
- PlaceholderAPI Support: Live prices, trends, portfolio value and more for your scoreboards, TAB and chat.
- Shop Integration: ShopGUI+, ChestShop and EconomyShopGUI trades now feed market pressure — closing the loop between your economy and your exchange.
⚙ Under The Hood
- New storage tables: Limit orders, dividend log, IPO purchases and watchlists — all on the existing HikariCP pool (SQLite, H2 or MySQL/MariaDB).
- Folia-safe throughout: Every new system routes through the unified platform scheduler.
- Graceful degradation: Missing optional plugins (PlaceholderAPI, shop plugins) are skipped silently — no crashes, no warnings.
- Live-safe reloads: /market reload rebuilds config-driven state without dropping the database pool or player holdings.
Drop-in update — just replace the jar. New config sections and messages are added automatically on first run; your existing setup stays intact.
minecraft stock market plugin, crypto exchange, limit orders, stop loss, dividends, IPO, discord webhook, placeholderapi, shop integration, paper folia economy plugin, trading leaderboard
