EconomicMarket

EconomicMarket: A server-side Fabric mod that adds a browser-based economy. Trade items, bid in auctions, buy stocks, and check leaderboards – all using real emeralds from your inventory. No client mod needed. Works on servers, LAN, and singleplayer.

EconomicMarket is a server-side Fabric mod for Minecraft 1.20.1 that provides a fully browser-operable economy system for your server. Players do not need to install any client mod; simply enter the server address (e.g., http://server-ip:5888/) in a web browser to conduct market trades, participate in auctions, buy and sell stocks, and view leaderboards at any time. All transactions use the real emeralds in players' inventories, with no virtual currency or abstract wallets.

Core Features:

Web Market: A completely client-independent interface. After logging in, players can view items in their own backpack, list them for sale with custom prices, and browse and instantly purchase goods listed by others. All purchases and sales directly deduct or add emeralds from the backpack.

Auction House: Supports timed auctions with customizable starting prices, minimum bid increments, and auction durations. Offers a "Sky Lantern" auto-bidding mode – once activated, the system will automatically place a higher bid each time you are outbid, until you win the auction or run out of emeralds.

Stock Market: Includes 30 fictional stocks with Chinese names (such as NE Traffic, Microsoft Cube, Apple Corp, etc.). Stock prices fluctuate randomly every minute, and players can freely buy or sell shares using emeralds from their inventory.

Leaderboard: Displays the real-time emerald count of online players and ranks them by wealth, fostering friendly competition.

Security Verification: Only players who are currently online in the game can log into the web panel using their username, effectively preventing offline impersonation or unauthorized access.

Multi-Scenario Support: Works on dedicated servers, LAN games, and single-player worlds (when opened to LAN). Only the server (or host client) needs to install the mod; other players can participate using a web browser.

Zero Dependencies, Lightweight: Built entirely on Java's built-in HttpServer, requiring no extra third-party libraries or runtime environments. All transaction data is stored locally in the server's config/economicmarket/ directory for easy management.

Usage:

1. Place the mod jar file into the server's mods folder, ensure Fabric API is installed, and restart the server.
2. Open a web browser and go to http://your-server-ip:5888/.
3. Enter your Minecraft username (you must already be in the server).
4. After logging in, you can use the market, auction, stocks, and leaderboard features. The web interface automatically reads your backpack items, and actions like listing and buying are reflected in-game in real time.

Notes:

- The mod listens on port 5888 by default. Make sure the server firewall allows this port.
- To customize the port, modify MarketMod.java in the source code and recompile.
- All economic data is stored on the server locally; back up important data before upgrading the mod.

EconomicMarket truly detaches Minecraft's economy from the game client, providing an efficient, convenient, and transparent trading platform for server admins and players. It is an ideal choice for building an active community economy experience.

The EconomicMarket Team

profile avatar
Owner
  • 1
    Projects
  • 50
    Downloads