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
@SwiftSwamp
I did not say I will fix it. There is nothing I can do without a proper cause for the bug :/
I'm not sure if you fixed it but when you said it'll be fixed in the next version , I didn't see anything about it. People still some times lose their items in a trade randomly.
@geekyservers
Thank you for downloading!
@IndigoParadox
I'll try and fix the rails and the wool. For some reason Bukkit seems to return a weird number when I try and get the ID from the config. Also, the items falling out of the trade bug only occurs if you're holding the item when you hit the decline/accept button. I will attempt to implement some sort of system to put the item back into the players inventory.
Finally! A trade plugin actually worth using. I will be adding this, thank you so much!
Holy shit this plugin is awesome. I've yet to find bugs that harm the economy which is good. ID for red wool seems to make the wool in the trade GUI yellow, though. And if I try to use rails as separator I get an exception and the GUI doesn't come up. Only other thing is; when declining a shift-rightclick trade, your items fly out of the trade GUI and on the ground. This is good news for scammers, bad news for honest players. Great plugin and I hope to see updates. Good work.
@sakura_blades
Hi, the chat bug will be fixed in the next version, I know exactly why it is happening. As for the economy thing, it is probably because the user sent multiple requests before trading you and then both players accepted. This will be fixed in the next version. In normal trading it should work fine though.
Sad to say we're now suffereing the chat bug... XD
Not only that, but it appears the money buttons, can be taken from the trade window. I rushed to a player to try the eco thing out and when using the trade, the other player was able to take the Eco button (diamond) right from the trade window. I have it in my hand now ingame...
The second time we tried to use the Eco trades, the buttons worked on click to add econ to it. Clicking the money buttons didn't cause us to move them into a trade section but came up in chat that money was indeed added.
I did get some error log on one of the tests too... http://pastebin.com/RXqmT1p5
@sakura_blades
Hmm, I have no idea why this could be happening. Do you mind private messaging me the IP of your server so I can test it for myself with you, if possible? I would like to do some debug to find exactly where the problem lies.
@rakyysekCZ
I have found why this problem is happening. It will be fixed in the next version.
@Kamakazi145
No... I did not have the plugin before... I have never, not once, used this plugin before... This was a fresh, first time ever, unedited config, attempt at using this plugin..
@rakyysekCZ
You have to restart the server for economy to work after enabling it. Also, the no-chat bug will be fixed in the next version.
EDIT: I don't see where the bug for no-chat is... I am unable to reproduce it with the latest version.
@sakura_blades
I don't see why that is happening. I cannot re-produce the bug at all. Did you have the plugin before v1.1.3 came out? If so, did you make sure to delete the old config?
Hi, I set true for eco but i cant add money. How add money?
http://pastebin.com/XMeyj0xd
last version was 3 place coal,gold,dia now nothing
edit: Bug If i use trade (after trade) cant write on normal chat only cmd work edit2: set NoChat: false work normal
@Kamakazi145
Shift clicking will only put it into the side with the decline button on it. And I've tried every single slot to place it manually and get that "cannot place here" message in chat.
@Guizmozz
I really like your idea :) Hover over that gold nuget with a mouse cursor and there will be written money in trade... great :) +1
@sakura_blades
For one of the players in the trade, shift-clicking bugs out sometimes and returns the item to the inventory. Are you trying to place the item into the side of the inventory with the decline button in it? As this is the other player's side to put things in. Aside from that, there are no other reasons why it shouldn't work, it works fine for me in testing.
Ah I see, it won't work with just a reload, as the plugin needs to hook into Vault. This will require a restart. At some point I will try and hook it into Vault on a config reload.
@Kamakazi145
The shift clicking is working... It's the only way I get anything into the trade... the placing items tells me I can't do that... I'm not sure what this bug with the shift click is you're talking about, unless it's the "put into my own side of the trade" bug... Cause it worked fine for me...
I would think i was using an eco system that worked with Vault if Chest shop is working fine. XD If the change i made to the config for the economy will not register the eco on a reload of this plugin's config that might've been it... But without the actual item trade working I didn't see a reason to restart the whole server just to see if that was functioning properly after.
@sakura_blades
Hmm, I'm not sure what would be causing the economy part to not work. Have you got a working economy plugin which is compatible with Vault? There's really no other reason I can think of as to why it wouldn't work.
Regarding the problem with shift-clicking in trades. I am aware of this bug, and it will be fixed in the next version, but putting items into chests normally should be working fine.
@Kamakazi145
Not sure of the build # for CB but it's 1.6.2... Plugin version: 1.1.3
Not sure what plugins would conflict with this. only plugins I use that interact with eco and items is Chest Shop. And only 1 other plugin that uses any kind of chest like interface: MyPet
The server has been running and functional for about 3 months now with minor hiccups as i've added things. Up until this plugin everything has been smoothed out with no errors (anymore) and I'd love to get this working too. :3 Too many times do I see players struggling to make trades with items and money, unsure of what they're getting. So when i saw this and the eco addition I was thrilled!
@sakura_blades
Hi, what versions of Craftbukkit and the plugin are you using as I have tested these bugs and I am unable to reproduce them. I always receive items and the economy options are clearly visible if you followed the instructions and installed Vault (coal, iron and diamond). Also, do you have any other plugins which could be conflicting with it?
This is completely unusable on my server. A few players get report when trying to accept a trade request that they never received one. Trying to actually trade, I am unable to place items into the inventory screen without Shift Clicking them, which in case apparently just adds it to my own side of receiving items? Because the other player doesn't get them and it winds up back in my inventory.
I've enabled the economy feature as well, and cannot find where the economy options are on the trade window either...
EDIT: I'd like to add that I saw no errors in console at all for any this...
@aburt
Thank you for the report. Unfortunately there is nothing I can do about that without specific errors or specific steps which re-produce the problem. Also, I will attempt to re-produce the bug about not being able to talk, if I am able to reproduce it, it will be fixed in the next version.
@Guizmozz
Thank you for the report. I am not sure why green wool does not work, I will attempt to fix it for the next update. Also, about the gold nugget, I may be able to do that, but it will have to be for future updates, I do not have enough time this week to do it for the next version.