跳到正文

Cptlsthjhg’s Markets

一个模组,搞定服务器经济。把农场产出卖到价格会实时波动的市场,为所需物品发布悬赏,拍卖战利品,然后在扑克桌上输个精光。所有界面都采用原版风格。按 K 打开。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Markets

A server economy in one mod. Sell your farm’s output into a market whose prices actually move, post bounties for things you need, auction off your loot, then lose it all at the poker table. Every screen is built to look like vanilla.

Press K to open it.

📈 The market

  • Sell crops, mob drops, ores and wood to the server, and buy them back when you need them.
  • Prices move. Sell a mountain of wheat and the price falls; buy up the diamonds and it climbs. Stock slowly recovers, prices wander a little on their own, and random shortages and surpluses hit whole categories now and then.
  • Each item has a live price chart, buy and sell prices, and stock levels.
  • Built-in support for other mods: Create (andesite alloy, brass, zinc, sheets, mechanisms…) and Cobblemon (berries, apricorns, Poké Balls, medicine, evolution stones). These load only if that mod is installed.
  • Add any item from any mod with a small JSON file. There’s a full guide (for people and AI assistants) in CATALOG.md.

📜 Bounties

  • Player bounties: ask for any item and set a reward. The money is held until someone delivers, and the items arrive in your mailbox.
  • Server bounties: every 30 minutes (with a countdown) the server asks for something odd: lime wool, cracked stone bricks, a cake, a ghast tear. It never asks for anything the market sells, and it pays well.

🔨 Auctions and mailbox

  • List items with a starting bid, an optional buyout price and a duration. Enchanted gear works.
  • Won items, filled bounties and unsold listings all go to your mailbox, even while you’re offline.

🏆 Leaders

  • Top 10 earners over the last 24 hours, 3 days and week, and the 10 richest players.

🎰 The casino

  • Roulette: one big wheel for the whole server. Everyone bets on the same spin.
  • Blackjack: shared tables with five seats. You see everyone’s cards and bets, and all players act at the same time.
  • Texas Hold’em: real no-limit poker between players, with blinds, side pots and a turn timer.
  • Player heads show who’s playing what and how much is on the line.
  • It’s a money sink. The house edge and a 5% poker rake take money out of the economy, so prices stay meaningful.

⚙️ For server owners

  • Settings are per world in serverconfig/markets-server.toml: starting money, currency symbol, how fast prices move, bounty timers, auction limits, casino limits, poker tables and rake, and more.
  • Market items: config/markets/market_items/. Server bounty items: config/markets/server_bounties/. Both take JSON files and apply on /reload.
  • Commands: /markets balance, /markets price <item>, and for ops /markets money set|add, /markets bounty and /markets update.
  • Money lives on the server. Clients only display what the server sends them.

Requirements

  • Minecraft 1.20.1 with NeoForge 47.1 or Forge 47.
  • Install it on both the server and every client.

⚠️ About this mod: mostly written by AI

Most of Markets was written by an AI coding assistant (Claude) working under my direction: the code, the textures and these docs. I designed it, tested it and decided what goes in, but most of the code was written by an AI. Please judge it with that in mind.

Bugs, ideas and fixes

The source is on GitHub: https://github.com/Cptlsthjhg/markets

  • Found a problem? Pull requests are very welcome. That’s the fastest way for anything to get fixed.
  • You can also leave a comment here or open an issue on GitHub.
  • No promises. I may fix it, someday, maybe never. This is a hobby project. If it breaks your world, you get to keep both pieces. Make backups.

常见问题

Cptlsthjhg’s Markets 支持哪些 Minecraft 版本?

Cptlsthjhg’s Markets 支持 Minecraft Java 版 1.20.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Cptlsthjhg’s Markets 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分