TradeMod
Update: 4/12/2016
Taking a quick break from active development. Currently, plans for next update include: currency/economy support, revised help information, command-less accepting/requesting, across game-mode trading configuration, and toggle for max-distance config. Obviously, this may take me a while to implement properly, so give me some time.
What is TradeMod?
TradeMod is a plugin that allows players to trade with one another in a similar vein to games like RuneScape or services such as Steam.
Features
- Safe trading using an inventory window to represent a trading screen.
- Configuration of values and messages.
How do I use it?
Take a look at the HELP page by clicking here OR:
Server Owners
Server owners, please carefully read the config.yml generated upon running the plugin. It should give you all the information you need to start configuring the plugin.
Permissions
trademod.commands.help: If given permission, allows the player to use the /tm help command. Default: true
trademod.commands.reload: If given permission, allows the player to use the /tm reload command. Default: op
trademod.commands.open: If given permission, allows the player to use the /tm open command. Default: true
trademod.commands.cancel: If given permission, allows the player to use the /tm cancel command. Default: true
trademod.commands.request: If given permission, allows the player to use the /tm request command. Default: true
trademod.commands.accept: If given permission, allows the player to use the /tm accept command. Default: true
trademod.commands.confirm: If given permission, allows the player to use the /tm confirm command. Default: true
Source Code
You can find the source here
Questions? Need Support?
You can click here to enter TradeMod's Discord server.
TODO (in no particular order):
1. Economy support using Vault.
2. Administrative commands and features.
3. Logging of trades.
You should open the ticket section, might make tracking issues easier for you.
I seem to be having an issue where the plugin eats items. I had players complaining about it for awhile, and today I finally was online when it happened. A player named 'Practicalnoob' attempted to trade 'superbrea'. However, when the trade was made, Practialnoon did not get his items.
http:puu.sh/33VUB/72b85fe370.png
For some reason in the log, it shows a trade with SNUBROOM14 instead of with superbrea. I haven't been able to contact either Snub or super, but it appears it traded with the wrong person. Here is the two players starting the trade:
http:puu.sh/33W8J/f779ee479c.png
I'll get more info if I can, but if you have any ideas as to why this may happen, that would be appreciated. Loving the plugin otherwise.
@Apple_columb
1. The text files are there because I, at the time of creating the plugin, didn't exactly know the .yml format. They've stuck because I saw no reason to change them.
2. I will, at some point, work on allowing people to customize the messages (and, potentially, the colors of the messages), as well as the names for the wools/buttons.
3. I have to take into account that server owners may be running another plugin that uses the /trade command, for whatever reason. I suggest, as a server owner, you put up a wall of all of the available commands of the server and explain which each does. Also, there's no longer a need to use the commands anymore, as you can now trade completely command-less.
4. I don't see why I would need to look at someone else's dead plugin. Their code is completely different from mine, and their feature-set is also significantly different as well. If you'd like them to update, I suggest you PM them about it.
Great job. Some suggestions:
Just pushed an update that was long overdue. It adds a plethora of new things, from the ability to request by sneaking and right clicking another player, to a scoreboard that shows you the currency currently being offered in a trade. Any and all feedback is welcome, and if you're experiencing issues with the plugin itself (glitches, crashes, etc.) PLEASE message me about it! I'll be more than glad to help you solve the issue, and it will help benefit TradeMod in the long run.
EDIT: I plan to recreate the old tutorial video, as it's SEVERELY outdated.
Could you add a feature so that you don't have to type out the whole name? Typing out the whole name perfectly is kind of annoying.
Thanks! Great Plugin Btw
Update pls!
@piritacraft
I would be delighted if you'd send me EXACTLY what you did in order to accomplish this, as well as the plugins and Bukkit version your were using. Without this information, there's no way for me to troubleshoot and fix such glitches.
@piritacraft
I tried to find a dupe bug and couldn't. Can you please elaborate?
I tested and this plugin can easy duplicate items.
Can you make it so right clicking the person makes you able to send a trade request? And the other person just has to right click you and it accepts the trade request?
any current dupes so far?
Is there a command to check the current amount of coin? Can you add a wool for that?
@Koangaaa
Shift rclick with permission nodes would give you so much functionality with existing mods. Thinking worldguard trade-permitted areas and the like.
How hard would it be to release a version of this plugin with all the up-to-date features compatible with 1.2.5 for Tekkit? I'd love to use this on my server, but if I go back to a 1.2.5 jar of your plugin, I'd lose a lot of features.
@x_clucky
+1 on this, sounds like a great addition :)
@Koangaaa
The reason I say shift+right click is because if you were using normal right click a player is standing in front of your wooden door, well you would be unable to open the door because every time you right clicked the door, it would attempt to trade with the player. However, with shift + right click, you could still open the door OR trade the player (if you were holding shift). This would also create less issues with other plugins, such as showcasestandalone where, again, if a player was standing on the shop, you would be unable to use it. I have no problem with permission nodes, in fact, I welcome them.
@x_clucky
I don't see the harm in it, though it will be configurable and will have a permission associated with it. I have to make up my mind on whether or not it'll be shift + right click, or just straight right click.
@Koangaaa
Could you PLEASE add shift + right click to request a trade, or at least a configuration for it? :( It is so much easier than telling players to remember a million commands.
@bratpitt
Yes, I have. I intend to increase the window by 1 row to add a "separator" for easy offer window identification. Also, I won't be adding right clicking to start a trade, but I may add right clicking to accept a request.
Thanks for the feedback.
Think its a great plugin.
Right click to start a trade would make it perfect. Layout on trade window could be diffrent, have you seen layout on mod "Trade"?