StockCraft: Trade Real Stocks Inside Your Minecraft Server
Imagine combining the creative freedom of Minecraft with the fast-paced world of stock trading. StockCraft makes that possible by letting you buy and sell real stocks using in-game currency, all while competing with other players for the highest profit. This plugin, originally created by @henning77, has been revived and updated to work with modern server setups, bringing back the thrill of virtual investing with live market data.
Whether you run an economy-focused server or just want a unique activity for your community, StockCraft turns every player into a virtual trader. The plugin pulls delayed stock prices from Yahoo Finance, so you can track real-world companies like BMW, Sony, or even commodities like gold and oil. It is a full-featured economic expansion that adds depth beyond simple shops and currency plugins.
Key Features That Set StockCraft Apart
- Real stock trading – Buy and sell shares of actual companies using their Yahoo Finance symbols, with a 15-minute delay to simulate realistic market conditions.
- Profit comparison – Check the /stock top leaderboard to see which players have earned the most from their investments, fueling friendly rivalry.
- Short selling support – Enable the shorten option in the config to let players profit from falling stock prices, adding a new strategic layer.
- Customizable fees – Set a percentage-based trading fee or a flat minimum fee to balance the economy and prevent spam trading.
- MySQL database integration – All player portfolios and transaction records are stored securely in a database, ensuring data persists across server restarts.
- Flexible stock management – Admins can add individual stocks or load entire lists from a file, making it easy to curate a market that fits your server theme.
How to Install StockCraft on Your Server
Setting up StockCraft requires a few dependencies, but the process is straightforward. First, make sure your server has a MySQL database ready. You will also need an economy plugin like iConomy (or any Vault-compatible economy), a permissions plugin, and Vault itself. Once those are in place, download the StockCraft plugin archive and extract it into your server's plugins folder.
After the initial setup, configure the stockcraft.cfg file to connect to your database. You can adjust the host, port, username, and password there. If you are using a modern launcher like foxygame.net, you can skip some manual steps—this launcher lets you browse and install plugins directly from its menu, making the entire process smoother and less error-prone. Once everything is configured, restart the server and use /addidlist examplelist to load a preset collection of stocks, or start adding your own with the /stock add command.
Essential Commands for Players and Admins
StockCraft introduces a simple command system that both beginners and experienced traders can grasp quickly. Here are the most important ones:
- /stock help – Displays all available commands and their usage.
- /stock ids [page] – Lists the stock IDs available for trading, with optional pagination for large markets.
- /stock course [id] – Shows the current price of a specific stock.
- /stock buy [id] [amount] – Purchase a specified number of shares.
- /stock sell [id] [amount] – Sell shares from your portfolio.
- /stock list – View your owned stocks and their current value.
- /stock top – See the top 10 players ranked by total profit.
- /stock add [id] [symbol] – (Admin) Add a new stock using its Yahoo Finance symbol.
- /stock remove [id] – (Admin) Remove a stock from the list.
Configuring Permissions and Economy Settings
By default, all commands are available to operators, but you can fine-tune access using a permissions plugin. The node stockcraft.addid lets trusted players or moderators add new stocks, while stockcraft.removeid controls removal rights. If you set detailedpermissions = true in the config, you can grant individual command nodes like stockcraft.commands.stockbuy or stockcraft.commands.stocksell separately.
The economy integration is handled through Vault, so any compatible currency plugin will work. You can also set a trading fee—either a percentage of the transaction or a static minimum—to keep the in-game economy balanced. For example, a 2% fee with a minimum of 10 currency units discourages micro-trades while still allowing active trading.
Adding Real-World Stocks to Your Market
To expand your server’s stock exchange, visit Yahoo Finance and find the symbol for the company you want to add. For instance, BMW is BMW.DE, Deutsche Bank is DBK.DE, and Sony is SON1.F. Then use the in-game command /stock add BMW BMW.DE to make it available. You can also prepare a text file with a list of IDs and symbols and load them all at once with /addidlist [filename]. This is especially handy if you want to simulate an entire national stock index or a themed portfolio like tech companies or automotive giants.
Commodities are supported too—add oil with CLK11.NYM, gold with GCJ11.CMX, or natural gas with NGK11.NYM. The delayed price feed ensures that trading remains fair and prevents players from exploiting real-time arbitrage, keeping the experience fun and competitive.
Why StockCraft is a Must-Have for Economy Servers
StockCraft transforms your Minecraft world into a living financial simulation. It encourages long-term player engagement as users track their portfolios, research market trends, and compete on the profit leaderboard. The plugin’s revival means it now works smoothly with modern server software and database setups, so you can confidently add it to your 1.20+ server without compatibility headaches.
The combination of real market data and in-game currency creates endless possibilities for roleplay, education, or just casual fun. Players learn basic investing concepts while enjoying the blocky universe they love. And with easy administration tools, server owners can keep the market fresh by regularly adding or removing stocks to match real-world events.
Final Thoughts
StockCraft brings a genuinely unique mechanic to Minecraft servers, bridging the gap between virtual economies and real-world finance. Its straightforward commands, deep customization, and competitive elements make it a standout choice for any server looking to offer something beyond standard survival or minigames. Whether you are a seasoned server admin or just starting out, adding stock trading can boost player retention and create memorable moments. Set up your database, load your favorite stocks, and watch your community become virtual tycoons—one block at a time.