跳到正文

Market Blocks

作者:MaximsPVP

A dead-simple server market: two blocks, sane configs, and a working economy in five minutes.

收藏

截图

介绍

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

Market Blocks banner

Market Blocks

A dead-simple server market: two blocks, sane configs, and a working economy in five minutes.

The two blocks

Market Stall — every player gets their own shop

  • Craft it, place it, stock the top rows, click a slot to set its price.
  • Other players browse and buy straight from the block. No commands to learn.
  • Earnings pile up in the stall; the owner withdraws them anytime.
  • Only you (or an operator) can break your stall, and your stock and earnings are safe even if it does break.
  • Configurable cap on stalls per player (default 5). Crafting recipe: red wool for the awning, planks, and a chest.

Admin Market — the server’s own infinite shop

  • Operators place it in Creative mode and set fixed buy/sell prices.
  • Players buy and sell at those prices forever. Stock never runs out.
  • Prices live in a simple config file: exact item IDs or whole tags (like #minecraft:wool), with an automatic sell-price ratio.
  • Edit the prices and run /market reload — changes apply instantly, no restart needed.

The economy

  • Virtual currency. No physical coins to juggle — balances are stored per player.
  • /balance — check your credits.
  • /pay <player> <amount> — send credits to another player.
  • Configurable starting balance (default 100 credits), stall tax (default 0%), and sell ratio (default 60%).
  • Every transaction is server-side and atomic. No dupes, no race conditions.

Survival-friendly by design

Placing, breaking, and configuring the Admin Market requires Creative mode — a survival-mode operator can’t accidentally (or deliberately) mess with the server shop. Regular players always get the buy/sell interface.

Requirements

  • Minecraft 26.3
  • Fabric: Fabric Loader 0.19.5+ and Fabric API
  • NeoForge: 26.3.0.3-beta+
  • Java 25

License

MIT — do whatever you want with it.

常见问题

Market Blocks 支持哪些 Minecraft 版本?

Market Blocks 支持 Minecraft Java 版 1.12.2–26.3,共 4 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Market Blocks 怎么安装?

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

评论

登录后评论和评分

MaximsPVP 的其他作品

查看全部 →