Trade System | Custom layouts! 1.2.1

Setup your own trade gui ingame and create your way to trade with other players!

  1. CodingAir
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/CodingAir/TradeSystem
    Contributors:
    https://github.com/CodingAir/TradeSystem/graphs/contributors
    Languages Supported:
    English, Spanish, German, French, Polish, Russian
    azzle (2).png


    [​IMG]

    Just invite a player with "/trade <player>" and he'll get a message, where he can accept the trade request. After accepting the request the gui below (see Trading-GUI) will be opened and the players are able to trade items and money. If both players agree with the trade and have clicked "Done", the objects will be transferred.


    Standard-GUI - You can create your own themes

    screenshot.80.jpg
    Flower: Trade with coins!
    Left side: Your own item slots
    Right side: Items of your trade partner

    Clay blocks: Status (Left: Not ready | Right: Ready)
    Barrier: Cancel

    The plugin supports money trading, but it needs Vault or Essentials. If your server uses other economy plugins and you want to use this trade system, just contact me and I'll add them to this system.


    Tutorial
    When you want to create your own layout, then start the following steps.

    First of all, you have to choose all items you want for your layout. You need following items for your trade gui:


    - Money item, to set a money amount to trade
    - Money item, to show the money, which is set by the other trader

    - Status item, which shows, that you need to add some items or add a money amount (gray)
    - Status item, which shows, that you are able to confirm your trade (not ready yet, mostly red wool)
    - Status item, that shows, you are ready (mostly green wool)

    - Status icon, which shows, that your trade partner is not ready yet (red wool)
    - Status icon, which shows, that your trade partner is ready (green)

    - A cancel item... yeah to cancel the trade :D

    - And some decoration items, just to create a nice look

    So that all items are present, where you can finally click on, you have to add the items you choosed to the base gui. To do so, click on the left icon, which says "Set all trade items".
    Now there comes up a empty gui (if you didn't fill it yet). Place there all your items, but notice that the gui is in the start mode: Nobody selected the tradable items and no money was set. So there should be the status item, which is usually gray. Furthermore there should be the red status item of the trade partner.

    When you're done this, close the gui to go back to the menu. Now click on the nametag to choose a name for your layout.

    After setting the items and choosing a name you can set the functions of the items you placed. To do this, click on the redstone in the menu.
    Now you're at the setup of the functions.
    All functions you see, have to be selected.

    When you selected all functions, go back to the menu and switch to the ambiguous functions on the right side.

    Ambiguous functions are the status items, when the player can accept the trade items he selected, or the money replacement items, which will be shown, if the plugin doesn't recognize any economy plugin.
    Fill the empty item slots and go back to the menu.


    Now you're done with your setup, hit save on the green icon on the top.

    After saving your layout you can activate it with "/ts layout activate <layout>"

    DONE

    English: ServerMiner


    Russian: Sumrak



    Commands
    /tradesystem <layout> » create, edit, delete and activate layouts
    /tradesystem <reload> » reload the plugin

    /trade <Player, Accept, Deny, Toggle>

    other way to accept or deny: Just click on "Accept" or "Deny"

    upload_2020-7-3_16-0-46.png

    Permission
    "TradeSystem.Trade"

    Can accept/deny/toggle trade requests

    "TradeSystem.Trade.Initiate"

    Can invite players for trades


    "TradeSystem.Modify"

    Can create, edit, delete and activate trade layouts



    Metrics collection
    This plugin uses bStats to improve this resource. You can disable it using the global bStats config.


    Supported economy plugins
    » Vault
    » Essentials
    » EssentialsX



    Todo

    » Customize your own layout [DONE » 1.0.1]
    » Configurable cooldown [
    DONE » 1.0.2]
    » Configurable trade distance [
    DONE » 1.0.2]
    » Different actions, to send trade requests [
    DONE » 1.0.2]
    » Disallow different gamemodes [
    DONE » 1.0.2]
    » Fixed a duplication bug [
    DONE » 1.0.3]
    » Fixed a button, which was assigned to a cancel button [
    DONE » 1.0.3]
    » Option to disable money-trading [
    DONE » 1.0.4]
    »
    Option to close the trade when taking damage [DONE » 1.0.4]
    » Close the trade when a participant is about to die [DONE » 1.0.4]
    » Blacklist to block some items [DONE » 1.0.5]
    » Prevent full inventories [
    DONE » 1.0.5]
    » Fixed an unlimited money amount trade
    [DONE » 1.0.5]
    » Blacklist fixed (unknown materials destroyed startup) [DONE » 1.0.6]
    ...
    » Check my GitHub page for new features!

    ...

    Send me your ideas for more features!

Recent Reviews

  1. Lunar_Kitito
    Lunar_Kitito
    5/5,
    Version: 1.2.1
    Easy to install, simple config, real basic to use, I can't complain! When I was having an issue, I opened an issue up on their Github, and within 2 weeks they got on my server and helped me figure out what went wrong. It's a wonderful plugin, and the only trading plugin that I'll ever use.
  2. zlAquiles_
    zlAquiles_
    5/5,
    Version: 1.1.16
    Muy buen plugin me encanta! Lo tengo en mi survival 1.16.X :) y funciona perfecto sin errores :D
  3. Ninjamaster4427
    Ninjamaster4427
    5/5,
    Version: 1.1.16
    First of all, the author is amazing and responsive to the community! Second, this is the best trade plugin I have ever used! You can customize the trade GUI, store several custom GUIs that can be hot-swapped on demand, trade currency with Vault or Essentials, and configure everything in the intuitive config file. Oh, and did I mention all changes to the config can be reloaded into the server without an annoying server reboot disturbing your players? Cause yeah, you can do that! I highly recommend using this plugin if you want a plugin that is actively maintained by the author. Keep up the great work!
  4. Naczosik
    Naczosik
    5/5,
    Version: 1.1.16
    Great plugin. The safest trade plugin i have ever used. Customizable GUI and fast bug fixes are sooooo good.
  5. Leomelonseeds
    Leomelonseeds
    5/5,
    Version: 1.1.15
    Amazing plugin for safe trades within players. I love the features it offers, especially the customizability of the GUI. Plus it's free and open source :D

    The author is very helpful too, fixing an issue I had within a day.
  6. Adrian0w0
    Adrian0w0
    5/5,
    Version: 1.1.13
    best plugin of trade system <3

    Thank you for this, I love everything what the plugin offers
  7. ItsJacob
    ItsJacob
    5/5,
    Version: 1.1.13
    I needed to review 5 stars again after you added PAPI Support, it helped me a lot, now I can make it say who are you trading with and it's super useful.
  8. ASKIT
    ASKIT
    5/5,
    Version: 1.1.13
    Great plugin! I love plug-ins with convenient settings right from the game!------
  9. IAreKyleW00t
    IAreKyleW00t
    5/5,
    Version: 1.1.12
    Awesome customization, and a great way to allow people to "securely" trade with one another.
  10. ItsJacob
    ItsJacob
    5/5,
    Version: 1.1.12
    An excellent plugin, very easily customizable and very useful!

    But I think it would be nice if you would add a setting to enable/disable the option for sending trade requests while crouching and right-clicking another person. Something like Hypixel SkyBlock has. It would be very useful!
    1. CodingAir
      Author's Response
      Hi, sorry for my late response. You can do this already in the main TradeSystem config ;)