Cloud Trade
Cloud Trade
Cloud Trade is a plugin that allows players to securely trade items.
Works with Bukkit 1.7.2 through 1.7.9
Features
- 3 ways to initiate a trade!
- Sprint + Right Click
- Sneak + Right Click
- /trade <name>
- GUI interface opens and separates 2 sides of a Trade.
- No Scamming
- No Dupping
- Logs trades (optional)
- configurable distances
- Supports Multiple Languages
- great sound effects
Instructions
Start Trade
- Shift+Right Click or /trade <playername> to start trade.
- Shift+Right Click or /trade accept or /trade deny if someone wants to trade with you.
Trade Icons
the BLUE glass panes are the ACCEPT buttons
the RED glass pane is the STATUS
the GREY glass panes are the DIVIDERS.
Finish Trade
- Items may only be placed on your side of the display. When you are ready, press the BLUE accept button
- When you are ready, the STATUS changes from RED to GREEN.
- If you or your partner make any changes to the trade, the STATUS returns to RED.
One both parties have accepted, the trade is complete!
permissions
- cloudtrade.cantrade:
- description: If a player does not have this permission, they cannot trade nor use any commands.
- default: false
- cloudtrade.rightclickrequest:
- description: If a player does not have this permission, they cannot right click, while sneaking, to request a player to trade.
- default: true
- cloudtrade.reload:
- description: The ability to reload the config
- default: false
Commands
/trade <playername>
If other plugins also use this command, configure the commands.yml in your server folder.
/tradereload
This reloads the config.yml and lang.yml files so you don't have to restart the server for changes.
aliases: icanhasbukkit: - version $1- trade: - CloudTrade: trade $1-
Language File
The lang.yml file holds the strings for all text used in this plugin.
Variables
- % - this represents a variable in the language file. Use the SAME variable for every language. Example: %player, %target
Formatting codes
- & - this followed by a number/letter is for chat colors. Learn more about it here.
Want to share your language file?
- translate YOUR language and send it to me. I'll upload it for others to download!
Demo
If you want to see a live demo of this plugin, connect to where we play: mc.united-craft.net or go to united-craft.net where we use Cloud Trade!
Future updates
- Adding economy for vault
- Ask me and I'll add it!
Video Tutorials
SoulAbility and Roh_LeKiwi made this tutorial - English
LegendSmile made this tutorial: - German
Miodo made this tutorial - French
AbsintoJ made this tutorial - Portuguese
Donation
If you enjoy this plugin I accept donationsto buy coffee for future projects. Beer also accepted.
@ElSarraHD
I will my friend. I'll update it for 1.7.5 just for you. Once i get some time tonight or tomorrow.
@solarcloud7
my sv use 1.7.5 CB please update for 1.7.5 :'( this plugin is awesome
@ElSarraHD
Thank you for your message. Please feel free to post a ticket and we'll research if we can reproduce it on version 1.7.5. However I can confirm Cloud Trade works on Bukkit 1.7.2 and 1.7.9 build number #3095
Cloud Trade 1.2 should work if anyone is getting the same error. It appears to be caused by the glow that was added in CloudTrade 1.4 because I used NMS for craftbukkit 1.7.2.
@Mucligucli
Most people running a server separate groups of players with different permissions. For example, VIP player can use /trade but others can not.
I use: PermissionsEx to handle my permissions.
In your permissions file, you need to add these permission nodes to your default group:
- cloudtrade.cantrade
- cloudtrade.rightclickrequest
If you need any more help feel free to send me a private message.
why do i have the command: "you lack the permission to use this command"
i am new to plugins can anyone help me?
please fix y use 1.7.5 CB
Would be awesome if you could add support for currency such as essentials eco.
Great idea, long overdue for Minecraft.
@solarcloud7
Is not permited link for files here... create a jenkins ^^
I know ho to get around the confusion of players, partially. Just reverse the sides of the inventory for the second player, so everyone puts the items to the left side. Then no one will be confused with their items disappearing, because they will get used to putting their items to the left. I don't mind the glass staying in my hand.
[comment voluntarily removed]
cant link my files until the are approved...
@FabioZumbi12
Shift + Click is coded to detect "sneak". It appears impossible for bukkit to distinguish from left or right shift. However I have a workaround.
Next patch I'll configure it so that Control + Click works. (this will detect sprinting I hope) I'll run some tests and we will see if it works!
@solarcloud7
Wow man! You are so fast!! haha I have translated using a class editor(for private), but i need this update and i dont want to translate all again, is only because this ^^
Abusing you! xP Can you add an option to use left or right shift click? I use Marry plugin and is conflicting when we kiss. Thank You!
@FabioZumbi12
Yes sir, I'll do that for you right now. I hope for an update tonight!
Can You add string.yml to i can translate to my language? Pleease!
Release version 1.3
- cloudtrade.cantrade
- cloudtrade.rightclickrequest
- Added itemglow to help identify who accepted.
@Tonysp
Thanks for your reply. This is a very common issue with plugins that use inventories.
With the bukkit api, we can only cancel the mouse event server-side.
For example: When you try to drop an item on the wrong side of the inventory. The inventoryClickEvent is canceled on the server, but the client still thinks that you did drop the item. (the item in reality is still attached to your mouse) To fix this, click on a valid open inventory spot and the item will be placed.
This is only a graphical problem. That is also why when you click "accept", the glass piece is also picked up in your mouse. However this is ONLY GRAPHICAL. My only solution is to try to try to click an open inventory slot to bring the client and server back into sync. My deepest apologies for not being able to offer a more solid solution. If any developers know how others have gotten around this, please let me know!
Hi, could you make it so you put the items you want to trade always to the left side of the inventory and the opposite player would see it reversed, so he would also put the items on the left side. If I put the item to the wrong side, it dissappears and then falls to the ground. That is pretty bad. Otherwise, this seems like the only functional trading plugin :)
@solarcloud7
Great thinking!
@TheOnlyRealTGS
Yeah I know! I also tried the other trade plugins. I was pretty sad that the other trade plugins were abandoned or unfinished. I didn't want to reinvent the wheel but our server needed a trade plugin pretty bad. That's what motivated me to make this plugin. I also thought I would share it with this amazing minecraft community!