TradeX - Safe Trading icon

TradeX - Safe Trading -----

Easy and simple trade plugin.



[​IMG]
[​IMG]
[​IMG]
Read Me!
This plugin requires TabuuCore. TabuuCore can be downloaded via SpigotMC or GitHub.

Code (Text):
name: TradeX
version: 0.1.2
main: nl.tabuu.tradex.TradeX
description: Easy and simple trade plugin.
author: Tabuu
authors: [Tabuu]
website: https://www.tabuu.nl
depend: [TabuuCore]
softdepend: [TempStorageZ]
api-version: 1.13

commands:

  trade:
    usage: /trade <player>
    description: Send a trade request to the player.
    permission: tradex.trade.start

  trade accept:
    usage: /trade accept [player]
    description: Accepts a player's request to trade.
    permission: tradex.trade.accept

  trade deny:
    usage: /trade deny [player]
    description: Denies a player's request to trade.
    permission: tradex.trade.deny

  trade cancel:
    usage: /trade cancel
    description: Cancels your outgoing trade request.
    permission: tradex.trade.cancel


permissions:

  tradex.trade.start:
    description: Allows users to start a trade with another player.
    default: true

  tradex.trade.accept:
    description: Allows users to accept a trade with another player.
    default: true

  tradex.trade.deny:
    description: Allows users to deny a trade with another player.
    default: true

  tradex.trade.cancel:
    description: Allows users to cancel a trade request they send.
    default: true

Code (Text):

# DESCRIPTION:  The amount of time before a trade request times out.
# FORMAT:       TabuuCore time format.
# NOTE:         Enter a value of 0 (e.g. '0s', '0m', '0h', etc) for no time-out.
RequestTimeOut: "1m 30s"

# DESCRIPTION:  The radius two players have to be in to trade with one another.
# FORMAT:       Double.
# NOTE:         Enter a negative value for no radius (e.g. -1).
#               Enabling this feature will disable cross world/server trading.
MaximumTradeDistance: 5.3

# DESCRIPTION:  When set to false a player cannot accept a trade that would not fit in their inventory.
# FORMAT:       Boolean.
# NOTE:         When set to true the non fitting items will be dropped at the players location or stored in the TempStorage of the player.
CanAcceptOverloadTrade: true

# DESCRIPTION:  When set to true and CanAcceptOverloadTrade is set to true; items will be stored in the player's TempStorage.
# FORMAT:       Boolean.
UseTempStorageZ: true

# DESCRIPTION:  Duration before an item expires in the TempStorage.
# FORMAT:       TabuuCore time format.
# NOTE:         Enter a value of 0 (e.g. '0s', '0m', '0h', etc) for the default TempStorageZ value.
TempStorageZTime: "1h 15s"

Code (Text):

REQUEST_SEND: "&e&l[&5&lTradeX&e&l] &aYou've send a trade request to {PLAYER}."
REQUEST_SEND_ERROR: "&e&l[&5&lTradeX&e&l] &cSomething went wrong while sending the request. ({ERROR}&c)"

REQUEST_RECEIVED: "&e&l[&5&lTradeX&e&l] &aYou've received a trade request from {PLAYER}&a. [&2&l✔](&2Click to accept)(run_command,/trade accept {PLAYER_NAME}) [&c&l✘](&cClick to deny)(run_command,/trade deny {PLAYER_NAME})"

REQUEST_ACCEPT: "&e&l[&5&lTradeX&e&l] &aYou've accepted a trade request from {PLAYER}&a."
REQUEST_ACCEPTED: "&e&l[&5&lTradeX&e&l] &a{PLAYER}&a has accepted your request."
REQUEST_ACCEPT_ERROR: "&e&l[&5&lTradeX&e&l] &cSomething went wrong while accepting the request. ({ERROR}&c)"

REQUEST_DENY: "&e&l[&5&lTradeX&e&l] &aTrade request of player {PLAYER}&a denied."
REQUEST_DENIED: "&e&l[&5&lTradeX&e&l] &c{PLAYER}&c denied your trade request."
REQUEST_DENY_ERROR: "&e&l[&5&lTradeX&e&l] &cSomething went wrong while denying the request. ({ERROR}&c)"

REQUEST_CANCELED: "&e&l[&5&lTradeX&e&l] &aTrade request canceled."

REQUEST_TIMED_OUT: "&e&l[&5&lTradeX&e&l] &cTrade request timed-out."


TRADE_CANCELED: "&e&l[&5&lTradeX&e&l] &cTrade canceled."
TRADE_COMPLETED: "&e&l[&5&lTradeX&e&l] &aTrade completed."


UI_TITLE: "&6&lTrade with {PLAYER}"
UI_ACCEPT: "&3&lClick here to accept the trade."
UI_ACCEPT_ERROR: "&c&lCannot accept ({ERROR}&c)"
UI_WAITING: "&2&lTrade accepted. Waiting for the other player..."

UI_SHULKER_TITLE: "Shulker Box"
UI_SHULKER_EXIT: "&c&lBack to trade"

UI_ACCEPTED: "&2&lThe other player has accepted the trade."
UI_OTHER_WAITING: "&3&lWaiting for other the player..."

ERROR_MESSAGE: "&e&l[&5&lTradeX&e&l] &cWoops, something has gone wrong. ({ERROR}&c)"
ERROR_NO_REQUEST_FOUND: "&7No request found"
ERROR_PLAYER_OUT_OF_RANGE: "&7Player exceeds maximum range of {RANGE_INT} blocks."
ERROR_INVENTORY_OVERLOAD: "&7Items can not fit in inventory"

TEMPSTORAGEZ_DESCRIPTION: "Item from trade with {PLAYER}"
[​IMG] [​IMG] [​IMG] [​IMG]
Resource Information
Author:
----------
Total Downloads: 28
First Release: Jan 5, 2019
Last Update: Jan 6, 2024
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings