Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
【This module was generated by AI(该模组由AI生成)】 Here’s a concise English introduction to the Server Shop mod, covering all key features and commands for players and admins.
Server Shop Mod – Player Guide (Overview)
Server Shop adds a lightweight virtual economy to your Minecraft server. It uses only commands and GUIs – no new blocks or items. Players can buy/sell items, post buy orders, and admins can set up official shops and taxes.
Core Features
Feature Description Virtual currency Each player has an independent balance (in “yuan”), saved in the server world folder. Player shop Browse all items listed by other players; click to buy. List items Hold an item and run a command to put it up for sale. My listings View, modify price/quantity, or remove your own listings. Buy orders Post a request to buy a specific item, prepaying the total cost; others can sell to you. My buy orders Cancel your active buy orders (remaining funds returned). Admin shop Official fixed-price items with infinite stock (set by admins). Admin buy orders Official buy orders where players can sell items to the system.
Player Commands
Command Purpose /shop Open the player shop GUI. /shop sell <price> List the item you’re holding for sale. /shop buy <price> Create a buy order for the held item (total prepaid = price × stack size). /balance Check your balance.
Admin Commands (OP required)
Command Purpose Permission level /adminshop or /adminshop open Open the admin shop GUI. 0 /adminshop add <price> Add held item to official shop (infinite stock). 2 /adminshop buy <price> Add held item as an official buy order. 2 /adminshop setfee <amount> Set listing fee (0 = free). 2 /adminshop settax <percentage> Set transaction tax (0–100). 2 /adminshop balance <player> Check a player’s balance. 2 /adminshop addeconomy <amount> Add balance to yourself. 3
Gameplay Basics
· Getting money – Admins give starting funds via /adminshop addeconomy, or players earn by selling to official buy orders. · Listing items – Hold the item, type /shop sell <price>. A listing fee (if set) is deducted instantly. Each player can have up to 50 active listings. · Buying – Open /shop, browse the “Shop” tab, hover for details, click to buy. The buyer’s balance is debited; the seller receives the price minus tax. · Posting a buy order – Hold the item, type /shop buy <price>. The total (price × stack size) is taken from your balance immediately. Other players can fulfill your order via the “Buy Orders” tab. · Fulfilling a buy order – Click on an order in the GUI; the system takes matching items from your inventory and pays you directly.
GUI Overview
Opening /shop shows six buttons:
· Shop – All player listings. · Official – Admin shop items (infinite stock). · Buy Orders – All player‑created buy orders. · Official Buy – Admin buy orders (unlimited quantity). · My Listings – Manage your own listed items. · My Buy Orders – Manage your own buy orders.
Each page displays up to 45 items, with navigation buttons (< >).
Tax & Fees
· Tax – Admins set a tax percentage via /adminshop settax. When a player buys from another, the seller receives price × (1 - tax%). The tax is removed from circulation (no refund). · Listing fee – If set, it is deducted when you list an item. If listing fails (e.g., you’re not holding anything), the fee is refunded. · Buy order prepayment – Full amount is deducted upfront. If you cancel, the unused balance is returned. · Limits – Max 50 listings and 50 buy orders per player. · Item matching – Orders match exact item type and NBT (enchantments, name, etc.). · Persistence – All data (balances, listings, orders) is saved in the server folder – survives restarts. · Offline trading – Transactions work even if the other player is offline; they receive a notification when they log in.
This mod is perfect for adding a simple, command‑driven economy to your server without any client-side mods. Have fun trading! 🛒
服务器商店 Mod 玩家指南 Mod 简介 服务器商店(Server Shop)是一个为 Minecraft 服务器添加虚拟经济系统的 Mod。玩家可以通过指令和图形界面进行物品买卖、发布收购订单,管理员可以设置官方商店和税率。不添加任何新方块或物品,仅扩展交互方式。
功能列表 功能 说明 虚拟货币 每位玩家拥有独立余额(单位:元),数据保存在服务器存档中 玩家商店 浏览所有玩家上架的商品,点击购买 上架物品 手持物品输入指令即可将手中物品上架出售 我的上架 查看自己上架的商品,可下架或修改价格/数量 收购订单 发布收购需求,预付货款,其他玩家可来出售对应物品 我的收购 管理自己发布的收购订单,可取消(剩余货款退回) 管理员商店 管理员创建的官方固定价商品,无限库存 官方收购 管理员创建的官方收购订单,玩家可出售物品给系统 指令用法 玩家指令 指令 用途 /shop 打开玩家商店 GUI /shop sell <价格> 将手持物品上架出售(价格单位:元) /shop buy <价格> 将手持物品创建为收购订单(预付总额 = 价格 × 手持数量) /balance 查看自己的余额 管理员指令(需要 OP 权限) 指令 用途 权限等级 /adminshop 打开管理员商店 GUI 0 /adminshop open 打开管理员商店 GUI 0 /adminshop add <价格> 将手持物品加入官方商店(无限库存) 2 /adminshop buy <价格> 将手持物品设为官方收购 2 /adminshop setfee <金额> 设置上架手续费(0=免费) 2 /adminshop settax <百分比> 设置交易税率(0-100) 2 /adminshop balance <玩家> 查看指定玩家余额 2 /adminshop addeconomy <金额> 给自己添加余额 3 玩法说明 基本流程 获取货币:管理员通过 /adminshop addeconomy 为玩家添加初始资金,或玩家通过出售物品给官方收购获取收入。 上架物品:手持要卖的物品,输入 /shop sell <价格>,系统会扣除手续费(如已设置)并上架该物品。每个玩家最多同时上架 50 个商品。 购买物品:输入 /shop 打开 GUI,点击"商店"标签浏览所有玩家上架,鼠标悬停可查看详情,点击即可购买。系统会自动从你的余额扣款,卖家收到扣除税款后的金额。 发布收购:手持想要收购的物品类型,输入 /shop buy <单价>,系统会立即从余额中扣除总预付金额(单价 × 手持数量)。其他玩家可在"收购"标签中找到你的订单并出售物品给你。 完成收购:在"收购"标签中点击某个收购订单,系统会从你的背包中取出匹配的物品,货款直接打入你的余额。 GUI 界面说明 打开 /shop 后看到六个功能按钮:
商店 — 浏览所有玩家上架的商品 官方 — 浏览管理员设置的官方商品(无限库存) 收购 — 浏览所有玩家发布的收购订单 官收 — 浏览官方收购(无限收购) 我的 — 查看/管理自己的上架商品 我收 — 查看/管理自己的收购订单 每个页面最多显示 45 个商品,底部有翻页按钮(< >)。
交易扣税 管理员可以通过 /adminshop settax <百分比> 设置交易税率。当玩家从其他玩家处购买物品时,卖家实际收到的金额 = 售价 × (1 - 税率)。税款不会返还给任何人(系统回收)。
注意事项 上架手续费:管理员可设置非零手续费,上架时直接从余额扣除。如果上架失败(如手持为空),手续费会退还。 收购预付:发布收购订单时全款预付,取消订单时剩余货款全额退回。 最大限制:每位玩家最多 50 个上架商品 + 50 个收购订单。 物品匹配:出售物品给收购订单时,系统会严格匹配物品类型和 NBT(附魔、命名等必须完全一致)。 数据持久化:所有余额、商品、订单数据保存在服务器存档中,重启服务器不会丢失。 离线交易:即使卖家/收购方不在线,交易仍然正常进行(系统记账),对方上线后会收到通知。


