Fabric Trade
一个轻量级的服务端模组,允许玩家在任何地方安全地与其他玩家进行物品交易。
此模组仅应安装于服务器端。
玩家指令
/trade打开图形界面以选择要交易的玩家/trade <player>向指定玩家发起交易请求/tradeaccept [player]接受来自指定玩家的 incoming 交易请求/tradedeny [player]拒绝来自指定玩家的 incoming 交易请求/tradecancel [player]取消向指定玩家发出的 outgoing 交易请求
管理员指令与配置
可以通过加载到服务器时生成的属性文件(properties file)或通过指令来进行配置。
/tradeconfig cooldown <0+>设置玩家在再次与其他玩家交易前必须等待的秒数/tradeconfig timeout <0+>设置交易请求过期的秒数/tradeconfig cooldown-mode <WHO_INITIATED/BOTH_USERS>设置是只有交易发起者需要等待冷却时间,还是双方参与者都需要等待/tradeconfig logCommandUsage <true/false>设置是否将成功的指令执行记录到服务器控制台
权限节点
Trade 使用 Fabric Permissions API(通过 BorisLib 捆绑提供)来处理指令权限。每个权限节点都对应一个默认的原版权限等级,以便在没有权限模组的服务器上运行。
玩家指令
| 节点 | 默认值 | 描述 |
|---|---|---|
trade.trade.gui |
ALL |
打开交易 GUI(无参数的 /trade) |
trade.trade.others |
ALL |
向其他玩家发起交易请求(/trade <player>) |
trade.tradeaccept |
ALL |
接受 incoming 交易请求 |
trade.tradedeny |
ALL |
拒绝 incoming 交易请求 |
trade.tradecancel |
ALL |
取消 outgoing 交易请求 |
配置
配置指令由 BorisLib 根据每个配置值动态生成。
| 节点 | 默认值 | 描述 |
|---|---|---|
trade.config |
GAMEMASTERS |
列出所有配置值 |
trade.config.<name>.get |
GAMEMASTERS |
读取特定配置值 |
trade.config.<name>.set |
GAMEMASTERS |
更改特定配置值 |
试试我的其他模组!
所有服务端 Fabric 模组 —— 无需客户端安装。
| 模组 | 描述 | 链接 | |
|---|---|---|---|
![]() |
Arcana Novum | Minecraft 最大的仅限服务器的全功能魔法模组!添加强力物品、多块结构和首领! | |
![]() |
Ancestral Archetypes | 一款高度可配置的 Origins 风格模组,允许玩家选择一种生物以获得独特能力! | |
![]() |
Ender Nexus | 将高度可配置的 /home、/spawn、/warp、/tpa 和 /rtp 命令合而为一,并可单独禁用。 | |
![]() |
Fabric Mail | 用于在线和离线玩家之间发送包裹和消息的游戏内虚拟邮箱系统。 | |
![]() |
Fabric Trade | 添加 /trade 命令,提供安全的玩家间交易界面。 | |
![]() |
Limited AFK | 适用于服务器的 AFK(挂机)检测与管理,支持配置踢出阈值。 |
|
| 聊天中的链接 | 使聊天中发布的 URL 可点击。 | |
翻译贡献者:
- 俄语 - Reset1712
许可证通知
以任何形式使用本项目,即表示您对此项目许可证条款给予“明确同意”,并确认我(BorisShoes)已履行了许可证下的义务:“在现有情况下尽合理努力以获得接收者对本许可证条款的明确同意”。
Fabric Trade
A simple server-sided mod to give players the ability to trade items safely with other players anywhere else on the server.
This mod should only be installed on a server.
Player Commands
/tradeOpens a GUI to select a player to trade/trade <player>Requests to trade with the specified player/tradeaccept [player]Accepts an incoming trade request from the specified player/tradedeny [player]Denies an incoming trade request from the specified player/tradecancel [player]Cancels an outgoing trade request to the specified player
Admin Commands & Configuration
Configuration can be done through the properties file generated when loaded on a server or through commands.
/tradeconfig cooldown <0+>Sets the number of seconds before a player can trade with another player again/tradeconfig timeout <0+>Sets the number of seconds before a trade request expires/tradeconfig cooldown-mode <WHO_INITIATED/BOTH_USERS>Sets whether only the trade initiator must wait the cooldown, or both participants/tradeconfig logCommandUsage <true/false>Sets whether successful command executions are logged to the server console
Permission Nodes
Trade uses the Fabric Permissions API (bundled via BorisLib) for command permissions. Each node has a fallback vanilla permission level for servers without a permissions mod.
Player Commands
| Node | Default | Description |
|---|---|---|
trade.trade.gui |
ALL |
Open the trade GUI (/trade with no argument) |
trade.trade.others |
ALL |
Initiate a trade request with another player (/trade <player>) |
trade.tradeaccept |
ALL |
Accept an incoming trade request |
trade.tradedeny |
ALL |
Deny an incoming trade request |
trade.tradecancel |
ALL |
Cancel an outgoing trade request |
Config
Config commands are generated dynamically by BorisLib per config value.
| Node | Default | Description |
|---|---|---|
trade.config |
GAMEMASTERS |
List all config values |
trade.config.<name>.get |
GAMEMASTERS |
Read a specific config value |
trade.config.<name>.set |
GAMEMASTERS |
Change a specific config value |
Try My Other Mods!
All server-side Fabric mods — no client installation required.
| Mod | Description | Links | |
|---|---|---|---|
![]() |
Arcana Novum | Minecraft's biggest server-only full-feature Magic Mod! Adds powerful items, multiblocks and bosses! | |
![]() |
Ancestral Archetypes | A highly configurable, Origins-style mod that lets players pick a mob to gain unique abilities! | |
![]() |
Ender Nexus | Highly configurable /home, /spawn, /warp, /tpa and /rtp commands all in one, and individually disablable. | |
![]() |
Fabric Mail | An in-game virtual mailbox system for sending packages and messages between online and offline players. | |
![]() |
Fabric Trade | Adds /trade, a secure player-to-player trading interface. | |
![]() |
Limited AFK | AFK detection and management with configurable kick thresholds for servers. | |
![]() |
Links in Chat | Makes URLs posted in chat clickable. |
Translation Credits:
- Russian - Reset1712
LICENSE NOTICE
By using this project in any form, you hereby give your "express assent" for the terms of the license of this project, and acknowledge that I, BorisShoes, have fulfilled my obligation under the license to "make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License.
下载 Fabric Trade
下载 Fabric Trade
下载 Fabric Trade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fabric Trade
下载 Fabric Trade
下载 Fabric Trade
下载 Fabric Trade
下载 Fabric Trade
下载 Fabric Trade
下载 Fabric Trade
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。





评论 0
登录后参与评分
还没有评论,来抢沙发吧