1 320
收录服务器
1 837
注册
43 099
玩家
Trade 交易
简单的贸易系统,处理一切自动为您的玩家。
作 者 Phloxz
发布时间 2019年7月25日
支持核心 Spigot
原生版本
支持版本 1.14,1.15,1.16
点此下载

📦 Trade是一个为Minecraft服务器提供安全交易功能的插件。它允许玩家之间进行物品交换,并提供可配置的选项和权限管理,以增强服务器的交易体验。

📦 Trade 插件

⭐ 功能特性

  • 完全可配置和自定义的消息
  • 完全可配置的权限
  • 自动物品传输
  • 更好的交易安全性
  • 双重交易物品栏
  • 可点击的物品接收器
  • 自动物品栏关闭系统
  • 物品掉落执行
  • 完整的物品栏支持
  • 对玩家友好
  • 兼容 ItemMoney

🔑 权限使用

  • trade.admin:执行管理命令
  • trade.player:执行玩家命令

⚙️ 配置

插件提供了丰富的配置选项,以下是一个示例配置文件:

    
      #-------------------------------------------------------------------------------------------------------
      #       _____                 _           ______                _   _
      #      /  ___|               | |          |  ___|              | | (_)
      #      \ `--.  ___   ___   __| | ___ _ __ | |_ _ __ ___  _   _| |_ _  ___  _ __
      #       `--. \/ _ \ / _ \ / _` |/ _ \ '_ \|  _| '__/ _ \| | | | __| |/ _ \| '_ \
      #      /\__/ / (_) | (_) | (_| |  __/ | | | | | | | (_) | |_| | |_| | (_) | | | |
      #      \____/ \___/ \___/ \__,_|\___|_| |_|_| |_|  \___/ \__,_|\__|_|\___/|_| |_|
      #
      # Plugin by Phlox
      #-------------------------------------------------------------------------------------------------------
      ConfigVersion: 1.0

      Settings:
          ItemReceiver:
              Material: "EMERALD"
              Name: "&a&lClick to receive"
              Lore:
                  - "&7Click this item to get"
                  - "&7your items."
          Command: "trade"
          Distance: 5
          Countdown: 10
          Sounds:
              RequestSound: "ENTITY_EXPERIENCE_ORB_PICKUP"
              ReceiveSound: "ENTITY_EXPERIENCE_ORB_PICKUP"
              AcceptSound: "ENTITY_EXPERIENCE_ORB_PICKUP"
              DenySound: "BLOCK_NOTE_BLOCK_BASS"
              CloseSound: "BLOCK_NOTE_BLOCK_BASS"
              ErrorSound: "ENTITY_VILLAGER_NO"
          Title:
              Enabled: true
              MainTitle: "&aTrade"
              SubTitle: "&7with %player%"
              FadeIn: 5
              Stay: 20
              FadeOut: 5
          TradeSettings:
              AllowTradeIfDifferentWorlds: false
              AllowTradeIfIsVanished: false
          TradeItemDrop:
              Enabled: true
              Percentage: 10
              Worlds:
                  - "world"

      GUI:
          Title: "&aTrading with %player%"
          Background: "GRAY_STAINED_GLASS_PANE"
          NotAvailable: "RED_STAINED_GLASS_PANE"
          ConfirmItem:
              Material: "LIME_STAINED_GLASS_PANE"
              Name: "&aConfirm"
              Lore:
                  - "&7Click to confirm the trade."
          DenyItem:
              Material: "RED_STAINED_GLASS_PANE"
              Name: "&cDeny"
              Lore:
                  - "&7Click to deny the trade."

      Prices:
          Enabled: false
          Material: "EMERALD"
          Price: 100.0
          Worlds:
              - "world"

      #-------------------------------------------------------------------------------------------------------
      # Available Placeholders:
      # %player% - Player name
      # %item% - Item name
      # %amount% - Item amount
      # %price% - Price of the item
      #-------------------------------------------------------------------------------------------------------
      Messages:
          NoPermissions: "&cYou don't have permission to do that."
          PlayerNotFound: "&cPlayer %player% not found."
          PlayerIsOffline: "&cPlayer %player% is offline."
          PlayerIsSelf: "&cYou can't trade with yourself."
          PlayerIsBusy: "&cPlayer %player% is currently trading."
          PlayerIsBlocked: "&cYou can't trade with this player."
          TargetIsBlocked: "&cYou have blocked trades from %player%."
          NoTradesFromThisPlayer: "&cYou have no trade requests from this player."
          TradeIsClose: "&cThe trade is already closed."
          TradeIsToFar: "&cYou are too far away from %player%."
          TradeInDifferentWorld: "&cYou can't trade with %player% because you are in different worlds."
          TradeIsVanished: "&cYou can't trade with vanished players."
          NotEnoughSpace: "&cYou don't have enough space in your inventory."
          NotEnoughMoney: "&cYou don't have enough money."
          ErrorOccurred: "&cAn error occurred. Please try again."
          YouHaveRequested: "&aYou have requested to trade with %player%."
          HasRequestedYou: "&a%player% has requested to trade with you. Type /trade accept %player% or /trade deny %player%."
          YouHaveAccepted: "&aYou have accepted the trade with %player%."
          HasAcceptedYou: "&a%player% has accepted the trade with you."
          YouHaveDenied: "&cYou have denied the trade with %player%."
          HasDeniedYou: "&c%player% has denied the trade with you."
          TradeIsStarting: "&aThe trade is starting in %time% seconds."
          TradeIsCancelled: "&cThe trade has been cancelled."
          TradeIsFinished: "&aThe trade has been finished."
          TradeIsLocked: "&cThe trade is locked. You can't change your items."
          ReceivedItems: "&aYou have received the items from %player%."
          SentItems: "&aYou have sent the items to %player%."
          BlockedPlayer: "&aYou have blocked trades from %player%."
          UnblockedPlayer: "&aYou have unblocked trades from %player%."
          YouAreAlreadyBlocked: "&cYou have already blocked trades from this player."
          YouAreNotBlocked: "&cYou have not blocked trades from this player."
          NowYouCanTrade: "&aNow you can trade again."
          TradeWasCancelledBecauseNoItem: "&cThe trade was cancelled because an item was removed."
          TradePriceMessage: "&aThis trade will cost you &6%price% &a%item%."
          TradePriceMissing: "&cThis trade will cost you &6%price% &c%item% but you don't have enough."
          TradeItemDropMessage: "&cSome items were dropped because the trade was interrupted."