TradeCraft-AE
Inactive
I'm sorry to have to put the state of this plugin to inactive. I simply don't have the time to put into maintaining the plugin.
Some time ago I tried adding a nice feature someone suggested. Only to find out about the item id changes. That's not a big deal for simple items. But the damage bits made defining complex items like potions/enchants/different variants of some items, quite simple. If I had more time I could invest it in this plugin. But unfortunately I don't have that time.
Added to that, I have no use for the plugin myself anymore (I don't play much and it's not used on the server I play on when I do). I mostly picked up support for this plugin because it was not maintained anymore.
If someone has a good alternative I'll be happy to mention it. Also anyone is welcome to clone the project and I'll do the same.
Features
- Make infinite shops - place gold or items in the chest, right click the sign, and watch the magic happen!
- Become entrepreneurs! Have a lot of extra goods? Create a shop to let people easily buy or sell!
- Change the currency if you don't like gold ingots.
- Localization support, you can create language files, take TradeCraft.en.lang as example and configure the language in the properties file.
Continuation/mod of mjmr89 build of TradeCraft.
Credit for the core of this mod goes to the github/forum users mjmr89 and jdiamond (injektilo on the hey0 forums). mjmr89 started this port to Bukkit, but has gone inactive. At first I just maintained a working version of the plugin. But now that plugin has officially gone inactive I decided to start a new entry myself.
Old development/discussion thread
Manual
You can read the Manual here, or the Old technical manual here.
Commands
- /tc[help] Show the TradeCraft commands a player can use.
- /tcgetcurrency Get currency.
- /tcsetcurrency [id[;data]] Set currency. To set a currency, use the id number, optionally add a data value by separating with a semicolon. Limited by permissions.
- /tcshops Displays the personal shops you have and their current inventory/gold
- /tcpshops playername Displays the personal shops of a specific player
- /tcreload Reloads the plugin (and configuration files). Limited by permissions.
- /tcplayerperms playername Debugging info if there are problems with permissions.
Permissions
- TradeCraft.canBuy Permission to buy from any shop (default: true).
- TradeCraft.canSell Permission to sell to any shop (default: true).
- TradeCraft.canMakePlayerShops Permission to make a player shop (default: true).
- TradeCraft.canMakeInfShops Permission to make infinite shops (default: op).
- TradeCraft.canDestroyShops Permission to destroy infinite or other player's shops (default: op).
- TradeCraft.canSetCurrency Permission to set the currency (default: op).
- TradeCraft.canReload Permission to reload the TradeCraft plugin (default: op).
- TradeCraft.canQueryOtherShops Permission to get a list of shops owned by other players (default: op).
- TradeCraft.canQueryPlayers Permission to show the permissions of a given player (default: op).
Note: The first three permissions are given to anyone by default. If you do not want a group or person to have these permissions, you will actively have to deny them (- -TradeCraft.canBuy for PermissionsEx for example).
Configuration
- items.yml Put all the item types and default (infinite shop) trade values you want to be able to trade in here.
- By default this is a small list, but ModernDragoness provided a complete list. You can disable either buy or sell rate by writing a rate of 0:0.
- vagrant326 made this spreadsheet that can calculate balanced values for items. Though it is written for currency-based trade plugins and will not output data compatible with the items.yml file, some admins or players might find it helpful.
- TradeCraft.data Contains all player shop data (amount of items and currency stored).
- TradeCraft.properties Several settings for the plugin, read the comments in the file for more information.
- TradeCraft.[].lang Localization files. By default only English is supported. But you can make your own translation and change "language" in the .properties file to choose to use that instead.
I updated the description with the 'Inactive' section. Because I have to acknowledge that's unfortunately the current situation.
@Galxis
Take a look in the TradeCraft.properties file. There are two settings: currency-id and currency-data. Currently set to a gold bar.
Though I can't remember whether I ever put in code to allow for gold blocks/nuggets. I guess I didn't (yet), because then there would have to be more settings.
Is it possible to use items as currency with a custom name & lore ?
@NotoriousNemo
PayPal is evil. I'll never use their services again. Good thing I'm not doing this for the money :).
This is a great plugin "Big thank you for keeping it updated" I have used it on my server for over a year+. I can confirm that this plugin does work with the latest 1.7.2 craftbukkit.
Add a paypal donate button!!! :)
@Dravokian
Hah, no problem. To be honest it was good for me to actually run a basic test of the plugin myself. I hadn't looked at it for months. So don't feel too bad! I'm glad people are using it (We don't on the server I play on).
OK I'm man enough to admit when I have a truly stupid moment... check this I have been panicking for 2 days with players breathing down my neck about the issue... I was placing trap chests. In my texture pack they look identical... I feel real dumb but yea the plugin is working perfectly now... sorry to waste your time and keep up the great work!!
hmm i double checked to make sure it wasn't just a misspell error on my part but what I'm putting on the signs in the brackets match the items file. Inf shops don't do anything I cant tell for sure if they are working at all but personal shops seem to be activating just not trading. By this I mean when I tested a shop with [dirt] of first line and 1 1 on second line the sign added my name to the bottom but when the sign was clicked nothing happened. Shops placed from 1.4.6 still work but no new ones. If could be a conflict with plugins but I'm using the same ones I was using in 1.4.6 except the updated versions for 1.5.2... If your test worked I'm sure it must be a problem on my end I just wish I could get it figured out. I love this plugin and it is the backbone of my servers economy...
@Dravokian
Hi, I just tested it in 1.6.1 beta and 1.5.2. With both versions I can create a new shop just fine. I simply placed "[dirt]" and "1 1" on the top two lines and I could interact with the shops.
Maybe some other plugin is conflicting since the upgrade? Maybe the items.yml has changed (the item name between the brackets needs to be in that file)? Or maybe you didn't write the right things on the sign after all?
I am running 1.5.2 and had tradecraft installed from a previous version when my server was 1.4.6 I updated to the new version for 1.5.1 and all the shops I had previously work fine but I am unable to add new shops. No msgs or errors of any kind but when I place the sign and put the name of the item (Exactly as it is in the item file) nothing happens... all the shops previously placed work fine but If i remove them I can not replace them or add new shops.
The plugin still works for 1.5.1, I just tested it.
A plugin listing an 'old' version of Bukkit for the last file doesn't mean it doesn't work with the latest version.
I keep asking, and will do so again, please just try the plugin (on a small test server if you don't want to risk anything - that's what a good server admin would do for all plugins) and then, if you really encounter issues, you can mention that here.
Hey ArmEagle, please update the best physical-chest-shop plugin :-)
When will TradeCraft be available for 1.5.1?
@ubunchu
I'm pretty sure that error is caused by another plugin yes. Does that give the same unsupported version error? You could suggest that plugin developer to compile the plugin for JDK 6 or 5 too. Or you can still install the latest version of Java yourself :)
In the past there have been issues with the items.yml being overwritten. I haven't heard about it recently. I'll probably look into it when more people report issues.
@ArmEagle
THANK YOUUUU!! IT WORKED!! All cool! You're the best! (though the error MCPCPlusXNmsBlock_147 still appeared, though it might be another plugin). [though it might have been only me, but my items.yml was overwritten with a default (or maybe i forgot to put my items.yml in there)]
@ubunchu
Oh that yes.. As I said before I hadn't figured out yet how to compile the plugin for a build lower than Java 1.7 yet. But good news, I think now I did! I will upload a new file (named JDK 5) in a minute. Please try that one.
The file will need approval first, so it won't show up on the right side here right away. But you can find it here: http://dev.bukkit.org/server-mods/tradecraft-ae/files/22-trade-craft-ae-v1-4-2-jdk-5/
@ArmEagle
Thank you very much for the update, though we might have a little problem. Tried with version: 2624 and 2629. If I'm not mistaken, same error:
And when right clicking a sign with a chest below it (an old one):
Should I try to delete the config files? Thanks again. Cheers!
@ubunchu
I just ran the latest version of TradeCraft with the 1.4.7 RB (#2624) and it runs just fine.
I also see no notifications in my IDE when setting the Bukkit library to the related version for that project.
I think I ran it just fine with one 1.4.6 build also. But the way is forward anyway :)
If you have actual errors, I'd like to see those of course!
when possible, please update
@ArmEagle
Allrighty, no problem! I'll try to test it on other versions of java and bukkit. Take your time, its holiday anyways :D
You remembered me this: http://goo.gl/WDSQu