Trade
Trade
Trade with other players!
How to install/use Trade:
Thanks to Skaranova for making this video!
Features:
- Command less trading using right click to request players
- No Spout required
- Very easy to use trading screen
- Customizable messages
- Economy support Since version 0.3
Translations:
You can find translations on this page!
Commands:
Okay, there are a few commands. But they are completely optional.
- /trade <playername> - Requests the named player.
- /trade accept <playername> - Accepts request of named player.
- /trade refuse <playername> - Refuses request of named player.
- /trade ignore - Ignores all incoming requests.
- /trade reload - Reloads the yamls.
Permissions:
See this page!
Configuration:
See this page!
Dependencies:
- Optional:
- Vault if you want to use the economy trading screen
To do list:
- Permission based layout system
- Log/Rollback system
Reporting bugs:
If you found a bug in the plugin please be so kind to file a ticket here. It only takes little time to file one while helping me to keep things organised and fix these bugs quicker.
Known Issues:
Trade was rewritten after version 1.0. Version 1.0 is currently in BETA. It is not completely safe to say the BETA version does not contain any glitches at all but it is safer than any of the previous versions. If you want to use Trade use at least the BETA version"
Development builds:
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
https:josvthfoss.ci.cloudbees.com/job/Trade/
Source available on Github
If you like what I'm doing. Consider donating :) Please use the donate button in the top right.
I tried using color codes, but its not working.
In the language file, some of the messages have an apostrophe around them and some do not. 'Like this'.
What is the meathod used to determine if the messages should have an apostrophe or not? When I added an apostrophe to them all, it ignored the language file and used the default. When I didnt change any of the apostrophes, the messages messed up the color codes.
What should I do?
@josvth
ouch, missed the language file. It seams like the plugin should be a little more.. configured properly? Sorry to hurt your feelings.
Thanks for the help.
@PuremineServer
Have you even looked at all the configuration files? Because there is one called language.yml which contains all the messages of the plugin for you to alter. And guess what? You can even add colours to the messages. Whoah. Amazing isn't it?
So you can actually fix point 1 and 2 of your 'I need this so much, developer make it now' list yourself! Not everything is delivered on a silver platter for your server.
Then about the /trade accept command, point 3 on your list. I initially made the commands in such way that you had to type the name of the so you would be sure with who you are going to trade. I can see why /trade accept would be easier to use but changing this just for your server could cause confusion on servers that have used the /trade accept <playername> since the beginning of the plugin.
Two things that need to happen for this plugin to be successful, 1. Let us customize the messages sent to a user when they get a trade request, send one, etc. 2. Users cant accept a trade if they have one pending. If thats the case, why even have them type /trade accept (name) instead of just /trade accept
Otherwise this is an amazing plugin, thanks.
@LordKainzo
And you need to learn how to ask things nicer.
Citizens NPC check is already in the plugin. Check the config.yml and set the extensions->citizens->enable to true.
@mariusz785
Please explain what you mean with 'trade money'.
you can add trade money here ?
Needs to have a check if the Entity is a NPC (Citizens)
Need to check if the HERO is in combat and cancel any trade requests.
@josvth
Ok it work with 1.4.6 :C
How is the change of method for trading (/trade [playername] instead of /trade accept [playername] coming along? I noticed it wasn't in the most recent build. :(
@zempire2010mjk
There will be a (video) tutorial of the layouts.yml soon. If you get errors please file a ticket with the error message. Thank you!
@Geoneo97
Make sure to reload the plugin after you changed your language.yml. You could use the /trade reload command to reload Trade or the /reload command to reload the whole server.
@Sonorpearl
I'm sorry? What do you mean?
@DiggerMark
ShowCaseStandalone has caused some problems before. However I find it strange that you get the error you showed me in the link since that is an error which can only appear if you use the economy mode of the plug-in and specificity if my plugin can't find Vault. If you mean by 'out of the box' placing the jar and running the plugin than you should not be able to get this error at all.
If you are using the economy mode. Could you please tell me which economy plugin you are using?
The permissions issue was indeed a bug and it is fixed.
Soo whats about the gui?
A great idea. Too bad after installing 0.5.5 out of the box I got exceptions like this: http://pastebin.com/ddETXyW7
My other plugins with shift-click actions include mcMMO, NoCheatPlus, ShowCaseStandalone and WorldEdit.
Also the default permissions do not seem to be working. Even with OP I got to add trade.* to my role be able to use the plugin.
Hey i have a Problem the language.yml doesent work i have copy the german translation and paste it in the language.yml but it doesent work it is english why?
@josvth
Can you make a build for 1.4.6 ? ;>
the help for setting up custom layouts is not very helpful. i figured out how to change the gold currency items to feathers (as this is what my server uses for its economy), and how to make it show the 10 and 50 like the default gold items by modifing the item numbers in the template-currency which already exists inside the layouts.yml, and after beating my head on the wall for a very long time on and off trying to figure out how to make it load the changes (it is not clear that you have to put 'template-currency' inside the ' ' next to custom-layouts (and if that is wrong it is the only way i could figure out how to load it up. so shut down restart the server and finally get the feathers showin for the custom layout all the right way to find out that once you cancel the trade and try to do a new one it spams the server with a bunch of java errors about the layout, and economy something. so it seems that for me anyway it is only allowing one trade per server restart. am i doing something wrong with trying to set up the layouts? if so it would be very helpful to have a better detailed help section about them
Trade version 0.5.5 is waiting for approval.
It has compatibility with Bukkit 1.4.7 and fixes a lot of things with layouts. Be sure to remove your old layouts.yml if you want to use custom layouts!