QuickTrade
QuickTrade
Description
QuickTrade is a lightweight alternative to all the inventory-based player trade plugins, a lot of which are inactive at the moment. This plugin uses an inventory to allow players to trade their items or money with others across the map, no matter how far away they are. They are able to swap any items they want, as they see fit, giving your users the element of control over trades and the economy which other shop plugins don't have.
Features
- Inventory-based trade
- Shift-Right-Click trading - no commands required
- Optional Exp Trading - Allow players to trade their Exp Levels!
- Very lightweight
- Very little configuration required
- Customisable and simple trade GUI
- Very customisable features (i.e. trade request timeout, trade distance limit, shift-right-clicking, economy, buttons etc)
- Economy support - allow users to add money to trades!
Commands
In order to put as little stress on the server as possible, there are very few commands, making this plugin both lightweight and easy-to-use for players.
- /trade <player>
Request to trade with <player>
- /trade accept
Accept a trade request
- /trade decline
Refuse a trade request - /trade toggle
Disable the sending of shift-right-click trading requests for you - /trade reload
Reload the plugin configuration
Alises to command: /qt, /qtrade.
Permissions
- quicktrade.trade.command
Allow players to use the /trade command - quicktrade.trade.rightclick
Allow players to request trades by shift-right-clicking - quicktrade.toggle
Allow access to the /trade toggle command - quicktrade.creative.bypass
Allow access to bypass the creative trade block - quicktrade.admin
Allow access to the /trade reload command
Configuration
Please see the configuration file here:
Configuration Page
Video Tutorials
Portuguese
Credits: (AbsintoJ)
English tutorial coming soon
Issues/Bugs
Fortunately no known bugs at the moment.
To-do List
- Language localization system
Multi-world support/restrictionsAdd wool support to change accept/decline/separator itemsConfigurable accept/decline/separator itemsAdd a trade accept check system (make both players accept again if trade is changed)Add economy supportAdd short aliases to the pluginAdd right click tradingAdd permissions support if neededAdd a reload commandAdd an item blacklistAllow more currency buttons*Unfortunately I cannot do this, it would be too resource intensive and inconvenient for the server to handle.*Add an optional trading distance limit
Ahhhh goddamnit... I just realised why items are being 'eaten' by the plugin. I realised I didn't design the plugin to handle multiple trades at the same time very well. This is gonna require a large rewrite - it's gonna take a while. At this point, I can't even guarantee that it will happen. I would suggest trying to find a similar plugin, if you really need one, until I get this one sorted out.
EDIT: Actually, it might be an easier fix than I first thought, but it still might take a while.
I want version 1.5.2 you enough to make it.
@Kamakazi145
I have tons of errors logged, but as far as I could see, it all summed up to the following three:
http://pastebin.com/3d6qq7P0
If you need any further assistance, feel free to ask or PM. :)
@fungreenfox @kikotte @stgram
Please make tickets with all the errors you are experiencing. I am finding it hard to find time to work on the plugin so I'll need to have the errors so I can get straight to fixing them instead of having to test it on my own to look for errors.
i am still at 172, and it spams console with Could not pass event PlayerMoveEvent to QuickTrade v1.1.8
Bug
@stgram
I agree. It is a great plugin it just needs updated. :/
Please, update, RC Bukkit will come out 2 weeks before minecraft 1.8, I can asure you that. Currently your plugin is unusable, it "eats" items and generates exceptions. If you need log I will provide you with the detailed errors.
Please! Update this awesome plugin to 1.7.4! Thanks!
@Kamakazi145
While this is true it would still be nice to at least have a usable plugin on 1.7. Who knows when they are going to declare a full on stable build.
I'd love to use this plugin, I'd like to ask if you plan to maintain this plugin for the long term? Thanks!
@frostlord22
I know that... 1.7 dev builds just came out... Bukkit has recommended that devs do not rely on API of the unstable builds that have been released so I cannot give an ETA on when the plugin will be updated. However, I can assure you that I will release a 1.7 version as soon as possible.
Plugin not working with 1.7.
@Kamakazi145
What i mean is basically that people can request a trade by simply right clicking the person.
To prevent trading request in middle of a fight for example with swords block the right click request on swords/tools/potions/food etc. So that theye dont accidently open/request a trade :P. A very easy solution to that would actually be to allow rightclick request only with an empty hand, that way your always on the safe side.
@Kamakazi145
Please take a look at my idea a few lines bellow too.
And yeah, that feature about the right click request only with no items in hand could be handy, I send random requests way too often.
@minequery
Did you delete the config when updating the plugin? This does not happen when I try and test the bug myself. Also, I cannot update the plugin until a 1.7 dev build is out, which looks like it's going to take a while.
@ravand
I think I get what you mean, I'll try and add the rightclick feature, but a bit more clarification would be nice. However, I cannot make it so both users are the left side right now, as it would require a major re-write of a lot of the code, I may do this in the future though.
@Rotebay
I am unable to reproduce this bug, the items always return for me. What version of Bukkit are you using?
Bug in the plugin:
Both players can do /trade username , then either one accepts the trade and the trade is bugged. Items are lost upon trying putting items in the trade screen as it says it does not allow you to put items in the trade screen.
Add a exception check whether a /trade username request between two users is already made or not and give an error Trade Request Between person x1 and x2 is already active.
As said players are losing items due to bugs and the only one i could find was this one, at normal trading with only one user sending the request i did not have issues on losing items while bugtesting.
Please update this plugin, it is a good plugin if updated.
Can you please make an option to rightclick only for starting a trade? It should only be disabled on items that have an rightclick function for examples for swords so you can still block or for food etc.
I would be very thankful for this feature :) Thanks in advance ravand
EDIT:
Also i noticed that whoever starts the trade has his inventory on the left side and whoever accepts a trade has his section on the right side. I can imagine that this can be very confusing for players. Can you make it on the left side for both players always?
It's broken :( When something is in trade and someones force to close trade mane items are disappearing. Is it possible to fix that?
hey I can translate your plugin to portuguese, both pt-pt and pt-br
Also, I would like you to edit the Gui title to: Player Quicktrade Player
Thanks