Sueta

VD Market | The Diamond Burn Exchange

1.1.0

Real-time supply-based trading with permanent deflationary mechanics.

·Plugin

VD Market
The High-Frequency Deflationary Exchange Add-on

DEPENDENCIES
VDiamond (Vault) | Diamond Economy (Core)

VD Market is a technical expansion for the VDiamond ecosystem. It bridges the gap between server supply and player wealth by creating a live, tradable Index.

When the server supply changes, the Index moves. When players trade and pay fees, those diamonds are permanently burned from the economy, creating a realistic, deflationary market cycle that benefits the entire server's value.

⚙️ CORE MECHANICS
[] Integer Rigidity: No decimals. No rounding errors. Every Profit/Loss, Margin, and Entry Price is handled as a strict Integer.
[] The Diamond Index: Calculated in real-time as: Index = (int) (multiplier * 1000).
[] The Mandatory Burn: A configurable fee (e.g., 2%) is applied to every closed trade. These diamonds are deleted from the netSupply forever.
[] Weighted Averaging: Adding margin (Double Down) recalculates your entry point fairly:

NewEntry = ((OldEntry * OldMargin) + (CurrentIndex * AddedMargin)) / TotalMargin

️ PROFESSIONAL GUI LAYOUT
The 54-slot interface is designed for speed and clarity. The Ticker (Slot 22) and Stats (Slot 40) refresh every 10 ticks for zero-lag monitoring.

SlotItemFunction
10 TotemAdd Margin (Reduce Liquidation Risk)
16 BookWallet Balance (VDiamond Vault)
22 DiamondLive Index Ticker
37 Red GlassOpen SHORT (Profit on Price Drop)
40 PaperPosition Stats (Entry, Margin, P/L)
43 Green GlassOpen LONG (Profit on Price Rise)
49 BarrierClose Position (Anti-Arbitrage logic)

Empty slots are filled with Light Gray Stained Glass Panes for a clean look.

️ DEFENSIVE & TECHNICAL FEATURES


  • [] Anti-Arbitrage: When you click to close, the plugin pulls a fresh multiplier from the Core at that exact millisecond. No lag-sniping allowed.
    [] Unified Input Mode: GUI closes and takes input via chat for 100% precision when entering diamond amounts.
    [] Offline Market: Trades remain LIVE. If the market moves against you while you're offline, you can be liquidated and your margin burned.
    [] Persistence: Fully SQL-backed. Trades survive restarts and crashes.

BROADCASTS & ALERTS
[] Market Burn Summary: Periodic broadcast of total diamonds destroyed by fees.
[] Liquidation Alert: Real-time broadcast of who went bust and how many diamonds were burned.

© 2026 VD Market | Engineered for Economic Stability

Similar projects

Plugin →