1 047
收录服务器
1359
注册
33 582
玩家
Trading 交易
一种用户友好、有趣、公平和令人难以置信的交易方式。
作 者 david_rosales
发布时间 2014年9月20日
支持核心 Spigot
原生版本
支持版本
点此下载

Trading插件提供了一种用户友好、有趣、公平且令人难以置信的交易方式。它通过一个简单的物品栏GUI帮助玩家可视化他们想要交易的物品,而无需担心被欺骗。玩家可以清楚地看到对方想要交易的物品,并达成同步交易。如果最后一秒改变主意,可以通过“重新考虑”倒计时取消交易。参与交易的双方玩家将同时收到他们的物品。


🚀 插件介绍

Trading插件允许玩家在指定范围内发起交易请求,并在GUI界面中安全地交换物品。该插件旨在提供一个公平、安全和简单的交易体验,特别适合角色扮演Minecraft服务器。

⚙️ 命令

  • /Trade (PlayerName) - 向指定玩家发送交易请求
  • /Trade Accept - 接受当前的交易请求
  • /Trade Decline - 拒绝当前的交易请求
  • /Trade Reload - 重新加载 config.yml 配置文件

🛡️ 权限

所有交易命令只需要以下两个权限:

  • trading.trade
  • trading.admin - 允许使用 /trade reload 命令

📦 安装

要将插件安装到你的服务器上,请按照以下步骤操作:

  1. 停止你的服务器。
  2. 将插件拖放到你的 plugins 文件夹中。
  3. 启动你的服务器。
  4. 开始享受!

📝 配置

以下是 Trading 插件的配置文件示例和说明:


CountdownLength: 5
Distance: 10.0
TradeCurrency: true
TradeCurrencyAmount: 100.0
TradeInCreative: false
ShiftRightClick: true
Messages:
  error-not-involved: '&bTrading> &7You are currently not involved in any trades'
  error-trade-already-accepted: '&bTrading> &7The trade has already been accepted'
  error-accepter-different-trade: '&bTrading> &7The player &b%accepter% &7is currently involved in a different trade'
  error-requester-different-trade: '&bTrading> &7You are currently involved in a different trade'
  error-distance: '&bTrading> &7You must be within 10 blocks of a player to trade'
  error-world: '&bTrading> &7You must be in the same world as a player to trade'
  error-self: '&bTrading> &7You cannot trade with yourself'
  error-not-online: '&bTrading> &7The player &b%accepter% &7is not online'
  error-creative: '&bTrading> &7You cannot trade while in &bCreative &7mode'
  error-incorrect-usage: '&bTrading> &7Incorrect Usage, Correct Usage: &b/Trade (PlayerName)&7, &b/Trade Accept&7, or &b/Trade Decline'
  trade-request-sent: '&bTrading> &7Trade request sent to the player &b%accepter%'
  trade-request-received: '&bTrading> &7The player &b%requester% &7has just requested a trade with you. You have 15 seconds to accept'
  trade-accepted: '&bTrading> &7Trade has been accepted'
  trade-successful: '&bTrading> &7Trade was successful'
  trade-cancelled: '&bTrading> &7Trade has been cancelled'
  trade-cancelled-creative-reason: '&bTrading> &7This was because a player was in creative mode'
  traded-currency: '&bTrading> &7You have traded &b%currencyamount% &7as a result of the trade'
  received-currency: '&bTrading> &7You have received &b%currencyamount% &7as a result of the trade'
  config-reloaded: '&bTrading> &7The &bconfig.yml &7file has been reloaded'
Item-Names:
  inventory: '|You|                   |Other|'
  divider: ' '
  decline-trade: '&cClick to Cancel Trade'
  accept-trade: '&aClick to Ready Trade'
  not-ready: '&7Not Ready'
  ready: '&aReady'
  add-currency: '&aAdd &f%currencyamount%'
  remove-currency: '&cRemove &f%currencyamount%'
  total-currency: '&aCurrent Money-to-be-Traded: &f%currencyamount%'
Item-Lores:
  decline-trade:
  - '&7Click this block at any'
  - '&7time during the trade to cancel'
  accept-trade:
  - '&7Once both traders have clicked'
  - '&7this block, the countdown will'
  - '&7begin'
  add-currency:
  - '&7Adds your money to the trade'
  remove-currency:
  - '&7Removes your money from the trade'

配置项说明:

  • CountdownLength - 交易完成前等待的秒数。
  • Distance - 交易的最大距离(设置为-1表示没有距离限制,但仍然无法跨世界交易)。
  • TradeCurrency - 设置为 truefalse。如果启用(设置为 true),插件将使用 Vault 主动搜索经济插件。如果找到经济插件,且 TradeCurrencyAmount 大于0,则启用插件的所有经济功能。
  • TradeCurrencyAmount - 在交易中增加或减少的货币金额增量。当玩家向交易添加货币时,每次添加的金额为此值。
  • TradeInCreative - 设置为 false 时,禁用在创造模式下的交易。
  • ShiftRightClick - 设置为 true 时,可以通过按住 Shift 并右键单击玩家来发起和接受交易。
  • Messages - 自定义消息文本。
  • Item-Names - 自定义物品名称(inventory 必须少于32个字符)。
  • Item-Lores - 自定义物品描述。添加更多行以向描述添加更多消息。