Video
Readme

Trade

Trade allows players to trade items with each other using commands.

Commands

  • /trade send <player> - Sends a trade request to the specified player.
  • /trade inspect <tradeId> - Inspects the trade offer with the specified ID.
  • /trade accept <tradeId> - Accepts the trade offer with the specified ID.
  • /trade confirm <tradeId> - Confirms the trade offer with the specified ID.
  • /trade cancel <tradeId> - Cancels the trade offer with the specified ID.
  • /trade list - Lists all active trade offers.

Configuration

<?xml version="1.0" encoding="utf-8"?>
<TradeConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MessageColor>yellow</MessageColor>
  <MessageIconUrl>https://i.imgur.com/MJHF1iX.png</MessageIconUrl>
  <StorageWidth>8</StorageWidth>
  <StorageHeight>8</StorageHeight>
  <TradeExpiryTime>300</TradeExpiryTime>
  <MaxDistance>-1</MaxDistance>
  <OnlyInSafezone>false</OnlyInSafezone>
</TradeConfiguration>

Translations

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="TradeCommandInvalidUsage" Value="Invalid usage: /trade &lt;send/inspect/accept/confirm/cancel/list&gt;" />
  <Translation Id="TradeCommandPlayerNotSpecified" Value="You must enter player name." />
  <Translation Id="TradeCommandPlayerNotFound" Value="Player {0} not found." />
  <Translation Id="TradeCommandTradeNotSpecified" Value="You must enter trade ID." />
  <Translation Id="TradeCommandTradeNotFound" Value="Trade with ID {0} could not found." />
  <Translation Id="TradeCommandCanceled" Value="You canceled {0} trade." />
  <Translation Id="TradeCommandConfirmOnlySender" Value="Only {0} can confirm this trade." />
  <Translation Id="TradeCommandConfirmNotYet" Value="{0} must first send their offer before you can confirm the trade." />
  <Translation Id="TradeCommandInspectNoOffer" Value="{0} didn't send their offer yet." />
  <Translation Id="TradeCommandListEmpty" Value="You don't have any active trade offers." />
  <Translation Id="TradeCommandListHeader" Value="You have x{0} actove trade offers:" />
  <Translation Id="TradeCommandListItem" Value="{0} - {1} (expires in {2}s)" />
  <Translation Id="TradeCommandAcceptOnlyReceiver" Value="Only {0} can accept this trade." />
  <Translation Id="TradeCommandAcceptAlready" Value="You already submitted your offer for this trade." />
  <Translation Id="TradeCommandConfirmTooFar" Value="{0} is too far to finalize the trade. Max distance is {1}m." />
  <Translation Id="TradeCommandNotInSafezoneYou" Value="You must be in safezone to finalize the trade." />
  <Translation Id="TradeCommandNotInSafezoneOther" Value="{0} must be in safezone to finalize the trade." />
  <Translation Id="TradeBoxEmpty" Value="You must put at least 1 item in the trade box." />
  <Translation Id="TradeInvalid" Value="Trade {0} to {1} is no longer valid." />
  <Translation Id="TradeCanceled" Value="[{0}] Trade was canceled by {1}." />
  <Translation Id="TradeItemNotFoundYou" Value="[{0}] Trade was canceled because you no longer have {1} you offered in your inventory." />
  <Translation Id="TradeItemNotFoundOther" Value="[{0}] Trade was canceled because {1} no longer has {2} they offered in their inventory." />
  <Translation Id="TradeCompleted" Value="[{0}] Trade completed. You received x{1} items from {2}." />
  <Translation Id="TradeSent" Value="[{0}] Your trade offer with x{1} items was sent to {2}." />
  <Translation Id="TradeReceived" Value="[{0}] You received trade offer with x{1} items from {2}. Respond with: /trade &lt;inspect/accept/cancel&gt; {0}" />
  <Translation Id="TradeAcceptedYou" Value="[{0}] Your trade offer with x{1} was sent to {2}." />
  <Translation Id="TradeAcceptedOther" Value="[{0}] {1} submitted their trade offer with x{2} items. Respond with /trade &lt;inspect/confirm/cancel&gt; {0}" />
  <Translation Id="TradeCanceledDisconnect" Value="[{0}] Trade was canceled, because {1} disconnected from the server." />
  <Translation Id="TradeExpired" Value="[{0}] Trade with {1} expired." />
</Translations>