EasyTrade v2.2 - 适用于 26.1.2 至 1.8.X
防骗交易、轻量级、快速、可定制
告别高风险交易和笨重的插件。
EasyTrade 提供一套干净、安全且现代的交易系统,具备共享 GUI、倒计时确认、Vault 支持以及可选的 SQL 功能,所有这些都包含在一个轻量级的 jar 包中。
? 为什么选择 EasyTrade?
- ✅ 防骗(双重验证 + 倒计时)
- ? 实时共享 GUI(无不同步,无混乱)
- ⚡ 轻量级(<110KB,无冗余代码)
- ? Vault 货币支持(含税费)
- ?️ 可选 MySQL(非必需)
- ? 完全可定制的 GUI(物品 + 槽位)
- ? 世界限制
- ? 隐私选项(隐藏距离和世界)
- ? 交易历史
- ? 多版本支持(1.8 到最新版本)
✨ 核心功能
- 安全的交易系统:仅在双方玩家确认且倒计时结束后才转移物品
- 共享库存 GUI:双方玩家在同一界面进行实时交互
- 货币交换:集成 Vault 并支持可配置的税收系统
- 交易历史:使用
/tradehistory查看 - DND 模式:使用
/tradetoggle切换 - 冷却系统:防止刷屏
- 每笔交易的物品数量限制
- 可选的距离检查
- 若玩家离开或关闭 GUI,自动取消交易
? v2.2 更新内容
?️ SQL / MySQL 支持(可选)
- 将交易日志存储在数据库中,而非平面文件
- 默认情况下无需 SQL 即可运行
- 在配置文件中启用,重载即可
- 使用
/tradesql检查连接状态 - 如果连接失败,自动回退
? 隐私控制
- 通过
show-distance隐藏玩家距离 - 通过
show-world隐藏玩家所在的世界 - 独立的开关以实现完全控制
- 非常适合 PvP 服务器和注重隐私的服务器
? 世界限制
- 仅允许在选定的世界中交易,使用
enabled-worlds设置 - 空列表表示在所有世界中启用
- 在被限制的世界中禁止使用命令
- GUI 会显示禁用世界中的玩家
- 点击他们时会发送信息消息而非请求
? GUI 自定义
- 自定义材质和槽位位置
- 完全控制 GUI 布局
- 内置启动时检查验证
? 更新检查器
- 在启动时每小时检查一次更新
- 在游戏中通知管理员和控制台
- 直接链接到 Modrinth 页面
- 可在配置中禁用
⚙ 配置
- 单一干净的
config.yml - 英文和法文注释齐全
自动迁移系统
- 更新时保留您的值
- 自动添加新选项
- 必要时恢复缺失的部分
配置部分
- SQL / 数据库
- GUI 自定义
- 世界限制
使用 /tradereload 即时应用更改
? 工作原理
/trade并选择一名玩家- 在 GUI 的你的那一侧添加物品
- 可选地添加金钱(需 Vault)
- 点击绿宝石块以确认
- 双方玩家确认后开始倒计时
- 安全完成交易
⌨ 命令
| 命令 | 描述 | 权限 |
|---|---|---|
/trade |
打开菜单 | — |
/trade <player> |
发送请求 | — |
/accepttrade <player> |
接受 | — |
/declinetrade <player> |
拒绝 | — |
/canceltrade |
取消请求 | — |
/tradeinfo |
请求信息 | — |
/tradetoggle |
切换 DND | — |
/tradehistory [n] |
历史记录 | — |
/tradehelp |
帮助 | — |
/tradereload |
重载配置 | tradeplugin.reload |
/tradesql |
检查 SQL 状态 | — |
? 注意事项
SQL 要求
为了保持插件轻量级,MySQL 驱动程序 未 包含在插件中。
您必须在此处下载 mysql-connector-java-8.0.28.jar:
并将其放置在:
plugins/EasyTrade/libs/mysql-connector-java-5.1.49.jar
支持的版本
- 1.8.x
- 1.9 至 1.12.x
- 1.13+
⭐ 支持
Discord:
网页联系 :
EasyTrade v2.2 - Available from 26.1.2 to 1.8.X
Scam-proof trading, lightweight, fast, customizable
Stop risky trades and clunky plugins.
EasyTrade delivers a clean, secure and modern trading system with shared GUI, countdown confirmation, Vault support and optional SQL, all in a lightweight jar.
? Why EasyTrade?
- ✅ Scam-proof (double validation + countdown)
- ? Real-time shared GUI (no desync, no confusion)
- ⚡ Lightweight (<110KB, no bloat)
- ? Vault money support (with tax)
- ?️ Optional MySQL (not required)
- ? Fully customizable GUI (items + slots)
- ? World restrictions
- ? Privacy options (hide distance and world)
- ? Trade history
- ? Multi-version support (1.8 to latest)
✨ Core Features
- Secure trading system where items only transfer after both players confirm and countdown ends
- Shared inventory GUI where both players interact with the same interface in real-time
- Money exchange with Vault integration and configurable tax system
- Trade history with
/tradehistory - DND mode with
/tradetoggle - Cooldown system to prevent spam
- Item limit per trade
- Optional proximity check
- Auto-cancel if a player leaves or closes GUI
? What's new in v2.2
?️ SQL / MySQL support (optional)
- Store trade logs in a database instead of flat files
- Works without SQL by default
- Enable in config, reload, done
/tradesqlto check connection status- Automatic fallback if connection fails
? Privacy controls
- Hide player distance with
show-distance - Hide player world with
show-world - Independent toggles for full control
- Perfect for PvP and privacy-focused servers
? World restrictions
- Enable trading only in selected worlds with
enabled-worlds - Empty list means enabled everywhere
- Commands blocked in restricted worlds
- GUI shows players in disabled worlds
- Clicking them sends an info message instead of a request
? GUI customization
- Customize materials and slot positions
- Full control over GUI layout
- Built-in validation with startup checks
? Update checker
- Checks for updates on startup and every hour
- Notifies admins in-game and console
- Direct link to Modrinth page
- Can be disabled in config
⚙ Configuration
- Single clean
config.yml - Fully commented in English and French
Auto-migration system
- Keeps your values when updating
- Adds new options automatically
- Restores missing sections if needed
Config sections
- SQL / Database
- GUI customization
- World restrictions
Apply changes instantly with /tradereload
? How it works
/tradeand select a player- Add items in your side of the GUI
- Optional money with Vault
- Click the emerald block to confirm
- Both players confirm and countdown starts
- Trade completes safely
⌨ Commands
| Command | Description | Permission |
|---|---|---|
/trade |
Open menu | — |
/trade <player> |
Send request | — |
/accepttrade <player> |
Accept | — |
/declinetrade <player> |
Decline | — |
/canceltrade |
Cancel request | — |
/tradeinfo |
Request info | — |
/tradetoggle |
Toggle DND | — |
/tradehistory [n] |
History | — |
/tradehelp |
Help | — |
/tradereload |
Reload config | tradeplugin.reload |
/tradesql |
Check SQL status | — |
? Notes
SQL requirement
The MySQL driver is NOT included in the plugin to keep it lightweight.
You must download mysql-connector-java-8.0.28.jar HERE :
And place it in :
plugins/EasyTrade/libs/mysql-connector-java-5.1.49.jar
Supported versions
- 1.8.x
- 1.9 to 1.12.x
- 1.13+
⭐ Support
Discord:
Web contact :
下载 EasyTrade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EasyTrade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EasyTrade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EasyTrade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EasyTrade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EasyTrade
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EasyTrade
⚡EasyTrade v2.2
更多控制。更强大。依然轻量。
? 功能特性
?️ 可选的 SQL / MySQL 支持
- 将交易日志和历史记录存储在 MySQL 数据库中,而非平面文件
- 默认禁用,无需任何数据库即可开箱即用
- 在配置中启用,填写凭据并重新加载 -> 完成
- 新增命令
/tradesql,可随时检查连接状态 - 若连接失败,优雅地回退到文件日志记录
? 隐藏距离 (show-distance)
- 切换以在交易选择 GUI 中隐藏玩家距离
- 适用于 PvP 服务器,避免暴露坐标作为隐私隐患
? 隐藏世界 (show-world)
- 新增切换项,可在交易选择 GUI 中隐藏玩家当前所在的世界
- 独立于
show-distance,完全控制可见信息的范围 - 适用于不希望向其他玩家透露世界位置的服务器
? 世界限制 (enabled-worlds)
- 白名单指定 EasyTrade 生效的具体世界
- 留空列表则允许在所有世界中交易(默认)
- 在未列入白名单的世界中,所有命令均被阻止,包括管理员
- 仅
/tradereload在受限世界中对管理员可用 - 玩家选择 GUI 会在禁用的世界中的玩家头像上显示清晰标识
- 点击禁用世界中的玩家不会发送请求,而是显示一条提示信息
? GUI 自定义
- 从配置文件中自定义每个 GUI 物品的材质和槽位位置
- 内置验证功能,启动时捕获并报告无效的材质或冲突的槽位
- 新增包含完整双语文档的配置部分
? 更新检测器
- 在启动时及后台每小时检查新版本
- 当有可用更新时,在游戏中通知操作员和管理员,并在控制台输出通知
- 包含指向 Modrinth 页面的直接链接
- 可在配置中使用
check-updates: false禁用此功能
⚙️ 配置
- 完整的配置文件自动迁移。更新 JAR 文件会保留现有值,同时干净地注入所有新参数和章节
- 删除的章节将在下次服务器启动时自动恢复
- 新增章节:
GUI customization、World restrictions、SQL / Database
? 注意事项
- 对现有设置无破坏性更改
- SQL 支持需要在
plugins/EasyTrade/libs/中放入mysql-connector-java-5.1.49.jar(详见配置中的下载链接) - 支持全部 3 个版本:1.8.x · 1.9–1.12.x · 1.13+
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧