[INACT[ECON] TradeMod - Trade with other players! - Now with multiple economy plugins support! [714]

Discussion in 'Inactive/Unsupported Plugins' started by Koanga, Mar 20, 2011.

     
  1. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    TradeMod - Trade with other players! - Now with multiple economy plugin support!

    Version: v1.0.5.16.11

    TradeMod is a plugin that was originally for the original Minecraft server, and is
    now available for Bukkit! TradeMod is a simple addition to the game allowing players to trade items
    more securely and easily in, typically, crowded areas without the fear of stolen or lost items.
    Many great updates are to come!


    Recent Patch Notes:
    4/25/11:
    Removed give and pay, give had various errors that I'm going to fix next release, when I recode the plugin itself.

    Recent Update Notes:
    4/25/11:
    Update to 714.

    Commands:
    /trade (? or help) [PAGE NUMBER] is used to pull up the user guide for trading. There are five pages, and it's recommended to start with 1. Now by typing just /trade help you will get the list of pages and page numbers.
    /trade [PLAYER NAME] is used to begin a trade by requesting the other player to trade.
    /trade accept [PLAYER NAME] is used to accept a /trade request from the player specified in the command's parameters.
    /trade decline [PLAYER NAME] is used to decline a /trade request from the player specified in the command's parameters.
    /trade add <ID | NAME>:[QUANTITY] is used to add items to your trade "inventory", so to speak. This allows as many items as you can hold. By typing either the item name (I.E. /trade add redstone:20) you can add an item to your trade, or by using the ID (I.E. /trade add 4:30). This does NOT overwrite items currently, and the amount CANNOT be omitted as of today.
    /trade addc [AMOUNT] is used to add coins to your trade offer, only IF iConomy or BOSEconomy is enabled on your server.
    /trade remove <ID | NAME>:[QUANTITY] is used to remove an item that you added in. It can be used to remove the amount specified, or, by using a quantity higher than what you have, to remove the item from the offer completely. The amount CANNOT be omitted as of today.
    /trade remove "coin"/"coins":[AMOUNT] to remove any amount of coins from your trade offer. This is for both iConomy and BOSEconomy.
    /trade lock is used to lock in your items to trade, can be used immediately after being told to add items in order to trade nothing.
    /trade accept is used to agree to the trade and commence the trade. Both players must use this to trade.
    /trade decline is used to cancel the trade after adding items, if one player uses /cancel, the trade itself is canceled.

    Features:
    • Server handles trade, not players.
    • Trades as many items as you can have in one trade, no need to initiate multiple trades for more than one item!
    • Allows trading of damaged items.
    • Trade request expires after 30 seconds, or if the initial player logs out.
    • iConomy and BOSEconomy support!
    Download TradeMod for Bukkit Version 766

    Changelog:
    Version v0.1.3.19.11
    • Converted from original server to Bukkit.
    Version v0.2.3.20.11

    • Fixed massive errors with my coding.
    • Coded a fix for dropping items during a trade, prohibiting the player from doing so!
    Version v0.3.3.20.11

    • Fixed death during a trade, making it so the trade cancels
    • Fixed damaged item trading! You can now trade damaged items!
    Version v0.4.3.20.11

    • Added 30-second expiration for trade requests! Fixed some slight bugs.
    • Other things I forgot...
    Version v0.5.3.21.11

    • Changed /additem to /addslot and /giveitem to /giveslot to both better reflect their arguments and to remove an incompatibility that may pop-up.
    • Added iConomy compatibility! Trade coins for items, and items for coins! See up top for more information on the latest update!
    Version v0.5.3.22.11

    • Temporarily fixed a duplication glitch I had found. However, this fix has repercussions, refer to the top for the patch notes.
    Version v0.7.3.23.11

    • Completely overhauled the command system, now it uses various arguments to more effectively trade!
    • Added MULTIPLE economy plugin support! That means that you can use either iConomy or BOSEconomy( thanks to Aricus for the suggestion). Not both, however, the reaction TradeMod might have towards both plugins at once might be harmful.
    • Fixed a glitch relating to stack amounts.
    Version v0.8.3.25.11

    • Added properties loading, first property is distance. This allows you to set the distance (in blocks) of where your players are able to trade. Also, if you set it to 0, your players can trade anywhere.
    • Slight argument changes.
    • Fixed block placing.
    Version v0.8.3.26.11

    • Added two new properties, give-distance (controlling /giveslot) and pay-distance (controlling /cpay)
    • Added the /cpay [player] [amount] command, allow players to pay each other currency.
    • Added /trade (? or help) command which pulls up a help document over several (5) pages.
    Version v0.9.3.26.11
    • Fixed up the command syntax making it easier to understand.
    • Added /trade offer for those who would like to see their offer, next version will include /trade offer [PLAYER] to view the other player's offer.
    • Added an index to the pages for the /trade help command.
    • Made the commands add and remove MUCH simpler to use, read up top for more information. (For those confused, you MUST have the : between the item name or id and the amount).
    • Other slight improvements that I can't remember....
    • Built against 602 now, for those of you (Hakaslak ;D) having issues.
    • UPDATE: Fixed issues with Beta 1.4, you should now have full compatibility with iConomy!
    Version v1.0.4.25.11
    • Fixed a MASSIVE bug with the new command syntax, allowing players to actually trade without terrible bugs occurring.
    • Gave /giveslot (now /trade give) the add command syntax
    • Changed /cpay to /trade pay.
    • Compatibility with build 714.
    andy1992 likes this.
  2.  
  3. Offline

    RazorFlint

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmmm Seems promising testing it now....
  4. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is advised to update to the latest version.
    Those who downloaded my first version will find it to have many errors that I corrected in the current version.
  5. Offline

    minecraftworlds

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looks good. I will download and add to my server as soon as I can.
  6. Offline

    topcat5665

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I will try this, it looks good!
  7. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    TradeMod has been updated to v0.5.3.21.11

    iConomy support has been added in this update, opening up many possibilities for the use of coins!
    It's recommended to download the new version even if you don't use iConomy, due to renamed commands and various other small updates that better compatibility and improve the quality of the mod!

    Happy trading!
  8. Offline

    BreezerFly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  9. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, not currently. It's something that I would like to look into, but doing it without relying on a client modification would be difficult as far as I know.
  10. Offline

    Aricus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Love the idea but is there anyway you can make this work with BOSEconomy?
  11. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Added version 0.7.3.23.11 at the top.
    You can read the release notes at the bottom of the post for the full update list, but man, is this one a big one!
    Thanks to Aricus for bringing BOSEconomy to my attention, it's a great economy mod that will make an equally awesome addition to TradeMod.
    I also recommend updating due to a fix with trading certain stack amounts, rather than for the overhauled command structure and multiple economy support.

    Happy trading :)!
  12. Offline

    L5D

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Your plugins is very interesting. But I need to limit the distance between traders.
    Can you put the sources in the next .jar or give a link ?

    I also think /trade -dec should terminate a current transaction before the validation of the basket.

    And my menbers says the coin command doesn't run. We use Iconomy 4.4
  13. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you tell me your server details? I'd like to see this. It may be induced by 4.4, considering this was made with 4.5. I will look into it.

    Also, updated to v0.8.3.25.11
    Added a property (distance) setting how far apart players can be when they start a trade.
    Also slight argument changes.
  14. Offline

    Maulrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I was looking for a plugin that would allow my players to verify that they weren't getting ripped off in a trade without having to use any kind of money plugin, and this is PERFECT for that. Thank you so much!
  15. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Glad to see that you're happy.
    Guys, I accidentally forgot the add the most recent version of v0.8.
    It has been added up there, and it removes the player's ability to place blocks during a trade.

    This is highly recommended to update to, considering many duplications could potentially be done.
  16. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I added a new version of v0.8 (v0.8.6 specifically) adding a help command!
    Also added two new properties (give-distance and pay-distance) as well as a pay command!
  17. Offline

    malagrond

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did you mean to include "lol.txt"? It seems to contain some sensitive information :p
  18. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, aha! Thanks for informing me of that stupid mistake.

    Updated to v0.9.3.29.11 to add a large number of much-needed updates! Read the changelog above to view the various improvements made in this version.
  19. Offline

    malagrond

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    xD Welcome lol.
  20. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fixed the incompatibility issues with the newest version of Minecraft. Sorry about the delay!
  21. Offline

    xClearScreenx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    Getting this error when attempting to accept trade


    [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 0
    00:59:12 [SEVERE] at us.Koanga.TradeMod.TradeMod.onCommand(TradeMod.java:200)
    00:59:12 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    00:59:12 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    00:59:12 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
    00:59:12 [SEVERE] at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
    00:59:12 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
    00:59:12 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    00:59:12 [SEVERE] at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    00:59:12 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    00:59:12 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    00:59:12 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    00:59:12 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    00:59:12 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    00:59:12 [SEVERE]
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
  22. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello everyone, as you may know for the last two weeks TradeMod has seemed to die off.
    However, this is not the case, and once the Minecraft 1.5 release for Bukkit has come, I will proceed to add some much needed updates (A no command form of trading, /giveslot converted to /trade add syntax, bugfixes).
    Strike a conversation with me if you need any help with the current form of the mod.
    Thank you!
  23. Offline

    Koanga

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    After nearly a month of downtime, the newest version of TradeMod (v 1.0) is released!
    Several changes, including one very much needed bug fix, have been included in this release. It is compatible with #714 and the newest version of iConomy (BOSEconomy support is unknown, but likely).

    Go to the original post to get the download.
  24. Offline

    Hakaslak

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    WOO THANKS!
  25. Offline

    Ahfaichucky

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    works on 740?
  26. Offline

    gilgatex

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Any chance you'll add permissions support? I don't want people in my creative world trading with people in my survival world.
  27. Offline

    Joy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Request: Permissions support.
  28. Offline

    FisHeNomNom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome plugin. :3
  29. Offline

    Phaedrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i get massive errors with iconomy5, any chance of an update?
    WindedDragon likes this.
  30. Offline

    RobotGymnast

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you get yourself submitted to CraftBukkitUpToDate?

    Also, could you make damaged items tradeable? Damage values could be displayed alongside the item.
  31. Offline

    Phaedrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

Share This Page