Secure Trade
随时随地与任何玩家安全地交易物品和经验,无需担心风险。
Secure Trade 为多人世界、合作服务器和整合包提供了一个共享的交易界面。无论是在基地之间、地图两端还是跨越维度:发送请求、放入物品和经验值、双方确认,即可完成交易。再也不用为了交付矿石、工具或经验值而跑回家里了。
为什么你可以信任它
- 即使发生崩溃也不会丢失或重复。 每一笔交易都会被记录在日志中。如果服务器在交易过程中崩溃、被强制关闭或断电,未完成的交易会退回给原主,已确认的交易会在每位玩家登录时完成,即使他们之前处于离线状态。
- 没有最后一刻的篡改。 在确认后更改报价会重置双方的就绪状态。
- 不会导致背包溢出。 如果没有空间接收你要获得的物品,你将无法确认;断线连接会使你的报价返回。
- 服务器制定规则。 距离限制、维度切换、禁止物品、冷却时间和日志记录均可配置。
工作原理
- 运行
/trade <player>;对方在聊天栏点击接受。
- 双方在共享界面上添加物品(每人 27 个格子)和经验值。
- 双方确认;经过短暂倒计时后,交换完成。
功能特性
交易
- 默认支持从任意位置进行交易,包括原版和模组维度之间
- 一次交易同时包含物品和经验值;相互请求可即时打开
- 清晰的确认状态显示、倒计时和自定义音效
- 带有物品提示信息的交易历史
玩家掌控
- 勿扰模式和针对单个玩家的屏蔽设置,跨会话保持有效
- 界面内对禁止物品和已满背包的警告
服务器管理员
- 可选的距离限制、跨维度开关以及维度的允许/禁止列表
- 物品黑名单,还会检查容器内部的内容,并支持
#securetrade:untradeable 标签用于数据包和整合包
- 请求冷却时间、异步交易日志以及自定义(或无)聊天前缀
- 针对极少数无法自动恢复的交易的管理员命令
提供 23 种语言支持。
支持版本
| Minecraft |
加载器 |
| 26.3 |
Fabric, NeoForge |
| 26.2 |
Fabric, NeoForge |
| 26.1.x |
Fabric, NeoForge |
| 1.21.1 |
Fabric, NeoForge |
| 1.20.1 |
Fabric, Forge |
| 1.19.2 |
Fabric, Forge |
| 1.18.2 |
Fabric, Forge |
| 1.16.5 |
Fabric, Forge |
请使用与你 Minecraft 版本和加载器匹配的文件。Fabric 版本需要 Fabric API。
命令
| 命令 |
描述 |
/trade <player> |
发送交易请求。 |
/trade accept / deny |
回复待处理的请求。 |
/trade history |
显示你最近的交易记录。 |
/trade dnd |
开启或关闭传入的请求。 |
/trade block / unblock <player> |
屏蔽或取消屏蔽某玩家。 |
/trade blocked |
显示你的屏蔽列表。 |
拥有权限等级 3 的管理员还可以使用 /trade admin quarantine | info | refund | complete | dismiss。
配置
服务器设置位于 config/securetrade-server.toml 文件中。所有选项和管理员命令的描述请参见 GitHub 上的 README。
支持
发现了 Bug 或兼容性问题?请在 GitHub 上提交 Issue,附上你的 Minecraft 版本、加载器、Secure Trade 版本、复现步骤以及 latest.log 文件。
在 GitHub 上报告问题
Secure Trade
Trade items and XP with any player, from anywhere, without the risk.
Secure Trade adds a shared trade screen for multiplayer worlds, co-op servers and modpacks. Across the base, across the map or across dimensions: send a request, put in items and XP, both confirm, done. No more running home just to hand over ores, tools or XP.
Why You Can Trust It
- Nothing is lost or duplicated, even in a crash. Every trade is journaled. If the server crashes, is killed or loses power mid-trade, an open trade goes back to its owners and a confirmed one completes when each player logs in, even if they were offline.
- No last-second swaps. Changing an offer after confirming resets readiness for both players.
- No overflowing inventories. You cannot confirm without room for what you receive, and a disconnect returns your offer.
- The server sets the rules. Distance, dimensions, blocked items, cooldowns and logging are all configurable.
How It Works
- Run
/trade <player>; they accept with a click in chat.
- Both add items (27 slots each) and XP to the shared screen.
- Both confirm; after a short countdown the exchange completes.
Features
Trading
- Trade from anywhere by default, including across vanilla and modded dimensions
- Items and XP in one trade; mutual requests open instantly
- Clear confirmation states, countdown and custom sounds
- Trade history with item tooltips
Players in control
- Do-not-disturb mode and per-player blocking, kept between sessions
- In-screen warnings for blocked items and a full inventory
For server owners
- Optional distance limit, cross-dimension switch and dimension allow or block lists
- Item blacklist that also checks inside containers, plus the
#securetrade:untradeable tag for datapacks and modpacks
- Request cooldowns, an async trade log and a custom (or no) chat prefix
- Admin commands for the rare trade that cannot be restored automatically
Available in 23 languages.
Supported Versions
| Minecraft |
Loaders |
| 26.3 |
Fabric, NeoForge |
| 26.2 |
Fabric, NeoForge |
| 26.1.x |
Fabric, NeoForge |
| 1.21.1 |
Fabric, NeoForge |
| 1.20.1 |
Fabric, Forge |
| 1.19.2 |
Fabric, Forge |
| 1.18.2 |
Fabric, Forge |
| 1.16.5 |
Fabric, Forge |
Use the file that matches your Minecraft version and loader. Fabric versions need Fabric API.
Commands
| Command |
Description |
/trade <player> |
Sends a trade request. |
/trade accept / deny |
Answers a pending request. |
/trade history |
Shows your recent trades. |
/trade dnd |
Turns incoming requests on or off. |
/trade block / unblock <player> |
Blocks or unblocks a player. |
/trade blocked |
Shows your block list. |
Administrators (permission level 3) also get /trade admin quarantine | info | refund | complete | dismiss.
Configuration
Server settings live in config/securetrade-server.toml. Every option and admin command is described in the README on GitHub.
Support
Found a bug or compatibility issue? Open an issue with your Minecraft version, loader, Secure Trade version, steps to reproduce and latest.log.
Report an issue on GitHub
评论 0
登录后参与评分
还没有评论,来抢沙发吧