概览
Tycoon Shop 是一款适用于 NeoForge 1.21.1 的服务端经济模组。它添加了货币系统、由管理员管理的商店、玩家间交易市场以及钱包管理工具。
货币
存在五种硬币层级,每一层都按可配置倍数(默认为 100:1)高于下一层:
铜币 → 银币 → 金币 → 钻石币 → 下界合金币
硬币是可以存在于你物品栏中的实体物品。当你将它们存入钱包时,它们会自动向上兑换——100 枚铜币自动变为 1 枚银币,依此类推。消费时,高层级硬币会自动拆分以支付费用。
钱包
每位玩家都在服务端拥有个人钱包。它在死亡和服务器重启后依然保留。
与钱包交互:
左击钱包 HUD 按钮 — 打开提取界面,将硬币取出为物品
Shift + 左击 HUD 按钮 — 将物品栏中的所有硬币物品存入钱包
右键点击硬币物品 — 将该组硬币直接存入钱包
如果安装了 FTB Teams,队友将共享一个钱包。
Tycoon Shop
一个由管理员管理的商店,玩家可以使用硬币购买物品。商店分为类别和条目。
管理员使用 /tshop 打开商店,然后启用编辑模式来:
创建、重命名、排序和删除类别
添加、编辑、排序和删除带有自定义价格和货币的物品条目
将当前商店布局保存为服务器默认设置
更改会实时生效——无需重启。
玩家市场
一个玩家间的交易市场,任何人都可以上架物品出售。
创建上架 — 从你的物品栏中选择物品,设定价格和货币
购买上架 — 硬币从你的钱包中扣除,物品进入你的物品栏
取消上架 — 物品返回至你的收件箱
收件箱 — 如果你的物品售出时你离线,或者你取消了上架,硬币和物品会在收件箱中等待你领取
上架会自动过期,经过设定的时间后失效
税收:每笔销售会从卖家所得中扣除 5% 的税(价格为 2+ 时最低收取 1 枚硬币)。被征税的硬币会被销毁,从而随着时间的推移减少货币供应量。
命令
所有玩家可用
命令 描述
/tshop 打开商店
/tshop pay <player> <currency> <amount> 将硬币从你的钱包转移到另一位玩家
仅操作员可用(权限等级 2)
命令 描述
/tshop editmode 切换调用该命令的管理员的商店编辑模式
/tshop wallet <player> <currency> add <amount> 向玩家的钱包中添加硬币
/tshop wallet <player> <currency> set <amount> 设置玩家的硬币余额
/tshop wallet <player> <currency> get 查询玩家在特定货币下的余额
/tshop savedefault 将当前商店布局保存到 config/tycoonshop/default_shop.json
/tcoins give <player> <currency> <amount> 给予玩家硬币
/tcoins set <player> <currency> <amount> 设置玩家的余额
/tcoins show <player> 显示玩家的完整钱包信息
命令中使用的货币 ID:copper_coin, iron_coin, gold_coin, diamond_coin, netherite_coin
配置
首次启动时会生成两个配置文件:
tshop_coin.toml — 硬币层级之间的兑换率(默认值 100,范围 2–10000)
tshop_name.toml — 商店和市场界面的显示名称
可选集成
FTB Teams — 如果已安装,同一团队的玩家会自动共享一个钱包。无需额外设置。
Overview
Tycoon Shop is a server-side economy mod for NeoForge 1.21.1. It adds a currency system, an admin-managed shop, a player-to-player marketplace, and wallet management tools.
Currency
Five coin tiers exist, each worth a configurable multiple of the one below it (default 100:1):
Copper Coin → Iron Coin → Gold Coin → Diamond Coin → Netherite Coin
Coins are physical items that can exist in your inventory. When you deposit them into your wallet, they auto-convert upward — 100 copper automatically becomes 1 iron, and so on. When spending, higher-tier coins are broken down automatically to cover the cost.
Wallet
Every player has a personal wallet stored on the server. It persists through deaths and restarts.
Interacting with the wallet:
Left-click the wallet HUD button — opens the withdraw screen to take coins out as items
Shift + Left-click the HUD button — deposits all coin items from your inventory into the wallet
Right-clicking a coin item — deposits that stack directly into the wallet
If FTB Teams is installed, teammates share a single wallet.
Tycoon Shop
An admin-managed store where players can buy items for coins. The shop is organized into categories and entries.
Admins open the shop with /tshop, then enable Edit Mode to:
Create, rename, reorder, and delete categories
Add, edit, reorder, and delete item entries with custom prices and currencies
Save the current shop layout as the server default
Changes are applied live — no restart needed.
Player Market
A player-to-player marketplace where anyone can list items for sale.
Create a listing — select an item from your inventory, set a price and currency
Buy a listing — coins are deducted from your wallet, item goes to your inventory
Cancel a listing — the item is returned to your inbox
Inbox — if you're offline when your item sells or you cancel a listing, coins and items wait in your inbox until you claim them
Listings expire automatically after a set period
Tax: every sale deducts a 5% tax from what the seller receives (minimum 1 coin for prices of 2+). Taxed coins are destroyed, reducing the money supply over time.
Commands
Available to all players
Command Description
/tshop Opens the shop
/tshop pay <player> <currency> <amount> Transfers coins from your wallet to another player
Operators only (permission level 2)
Command Description
/tshop editmode Toggles shop edit mode for the calling admin
/tshop wallet <player> <currency> add <amount> Adds coins to a player's wallet
/tshop wallet <player> <currency> set <amount> Sets a player's coin balance
/tshop wallet <player> <currency> get Checks a player's balance for a specific currency
/tshop savedefault Saves the current shop layout to config/tycoonshop/default_shop.json
/tcoins give <player> <currency> <amount> Gives coins to a player
/tcoins set <player> <currency> <amount> Sets a player's balance
/tcoins show <player> Displays a player's full wallet
Currency IDs for commands: copper_coin, iron_coin, gold_coin, diamond_coin, netherite_coin
Configuration
Two config files are generated on first launch:
tshop_coin.toml — exchange rates between coin tiers (default 100, range 2–10000)
tshop_name.toml — display names for the Shop and Market screens
Optional Integration
FTB Teams — if installed, players in the same team share one wallet automatically. No extra setup needed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧