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
Major Dupe: http://www.youtube.com/watch?v=MFguQvpkM-w Report: ^For the video. I know what you have to do to prevent this bug from happening. When you made the trade plugin, you originally had one diamond, one iron and one coal piece at the "Chest" So, you allowed these three objects to be in the chest, and being allowed to be pressed. When you fixed the glitch, you did not remove that coal iron diamond could be inside the chest and in ur inventory properly, and as you saw in the youtubevideo the glitch is really simple. ANYONE COULD HAVE DONE IT! + We should get credit for not telling the glitch to other people, I made a row with the duped item's which I am now going to erase.
@Bodyash
I'd rather not use other plugins' code. Currently I don't think there is any other way to check if the inventory is the trade inventory other than checking the title.
]http://cs319431.vk.me/v319431094/4771/BPjzq8Y_JfE.jpg
Trade plugin do it (http://dev.bukkit.org/bukkit-plugins/trade/)
But this plugin outdated and have some bugs. But u can use source (https://github.com/Josvth/Trade)
Oh.. Sorry, Developer started rewriting plugin :c
@kemmeo
Thank you for the suggestion. Would a blacklist of items you can't shift-right-click trade with suit? As many users do not have conflicting plugins so they would have to type out all the item ids in the game.
Hey, the plugin works great, I use it on my server but I'd love an option for what items you can shift-rightclick with to activate a trade, since I use more plugins that use shift-rightclick.
@fungreenfox
It is only enabled at restart because it needs to hook into Vault. Thank you for the report about Esc, this will be fixed in the next version.
when reloading plugin after enabling economy, it doesnt enable. i beleive its enabled only at restart.
if i hit ESC in a trade, that person will be busy for a long time, not able to trade.
@Bodyash
It depends on the other player's name. Also, having a static name allows me to differentiate between the trade inventory and other inventories. So I will not be able to do this until I find another way. Thank you.
Change it to
5xspace You 30xspace %playername%
And we see: You - under your part of trade window, and %playername% under another part of window
@BoomShnizel
Thank you for the report. Please delete both your messages.yml file and config.yml as I changed both of them and they require resetting until I add a config auto-updater in the future.
@Kamakazi145
Eventhough in 1.0.9 you cancled the need to /trade accept [player name], It still writes to write it and when I type just /trade accept I get an internal error and the trade's menu opens up empty. And then when exiting the fake trade and trying to trade again, it says the player is already in a trade.
@TheMisterB
Thank you for the report. This will be fixed for the next version.
Awesome plugin, one issue. I requested to trade, and Bob (the other player) accepted. We put items in, and Bob hit accept, which notified me that "Bob has accepted the trade!" I then pressed decline, but the message that came up was "Bob declined the trade" even though I was the one who declined.
Hello, I am from The Netherlands and I see that you have no Dutch translation, if you need me just pm me okay?
Or at least ensure that when exchange with someone that gives: exchange with <player>!
@NikoKun
Yeah it's pretty hard to get the spaces and names in exactly the right places, only because names can vary so much.
I don't think it's possible to make it so it has a diffrent name on each side (Bukkit chest name is used there, and it auto adjast to the left corner) If he would put two names with alot of spaces then the names will never be in the right place because of the length of the names and the amount of spaces
@NikoKun
It's very good idea ! as in them MMORPG
I wonder if you could put each user's name above their half of the trade window?
I dono what the limit is on that type of text, but if it was long, it should be possible. You could just separate them with spaces or something. heh
A lot of my players get confused about which side they should use, and if there was some sorta name label or marker, it'd help them a lot.
@Guizmozz
I'll look to add that in the future. Thank you for the suggestion.