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
- 英文和法文注释齐全
自动迁移系统
- 更新时保留您的值
- 自动添加新选项
- 必要时恢复缺失的部分
配置部分
使用 /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
支持的版本
⭐ 支持
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
/tradesql to 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
/trade and 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 :
评论 0
登录后参与评分
还没有评论,来抢沙发吧