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.
@ubunchu
Ok, that's very annoying. Netbeans (my editor) doesn't seem to be doing what I'm telling it to. It should have compiled the plugin with JDK6. But running it myself with it does indeed not work.
I have to leave in a bit. Hopefully I'll find some time on Tuesday or later this week.
Btw. It should all work fine if you use Java 7.
@ArmEagle
Tested it, same error...
@ubunchu
Can you try http://dev.bukkit.org/server-mods/tradecraft-ae/files/21-trade-craft-ae-v1-4-2-jdk-6/ ?
@ubunchu
Ok, Netbeans isn't doing what I'm telling it to. Give me a bit more.
@ArmEagle
java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu110.04.1) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Actually, it should be compiled for Java 1.5 now. What Java version are you using? You should be able to figure that out by running java with "-version" as parameter.
@ubunchu
Oh that!
Strange, I had compiled for Java (1.)5 before, but somehow that setting is lost. I should have a good version up in a bit.
@ArmEagle
Hi, first of all, thank you for putting effort into this cool plugin, though we still have some bugs :D http://pastebin.com/zB8uQhRv
Take your time.
Happy holidays!
Ok, thank you for reporting the issue, ubunchu. I uploaded a new version that fixes a problem when depositing items into the shop from the chest as shop owner.
I did check interaction with an infinite shop but not with a shop owned by another player. Please let me know whether you find any other issues.
@ubunchu
I've tested it on 1.4.5, the last recommended build. Maybe I'll find some time on Tuesday to check it with 1.4.6, but from what I read the latter isn't complete yet.
I have tried the last 2 versions of your plugin with bukkit latest, and with bukkit recommended beta. It does not work....
Could you please update?
Thank you! Cheers!
Yeap i have the full item list, i tried the same way as u write here. Hmm okay i try again hope i just misspelled something. Thanks for help
@zOxigen00
I'm not sure how you're trying to use the plugin. But you should add an entry to items.yml for newer items. I do link to some 'complete' items.yml file in the description of the plugin. But that's from version 1.3 I think. So there are a lot of items that aren't defined yet.
I added the following and that made the shop accept the Wither skull without a problem:
Hello, first happy xmass, and ty for this always updated plugin.
Just a bug i think the Whiter head is is not working in shop 397:1 Head (Wither) I think the plugin dosent know the id. :)
@ArmEagle
Ok, can you try this build: http://dev.bukkit.org/server-mods/tradecraft-ae/files/19-trade-craft-ae-v1-4-1-jdk-5/ ? Let me know if that works.
@MrLongBacon
A quick google for that error seems to tell that I used a newer version of Java to compile the plugin on than you are using to run Bukkit/Minecraft. I guess I recently installed a latest version of Java. I don't have much time now(these days), but hopefully I'll soon find time to look into it.
Hi
Here are the errors displayed on my 1.4.5-R0.2 bukkit server, with no other plugin installed. (he doesn't create a "TradeCraft" folder, even after rebooting)
Hope this help
@Worlord321
I just tested the 1.4 version on CB 1.4.5-R0.2 and it seemed to work just fine for me.
But I found a small issue that is resolved in version 1.4.1: When you were standing too close in front of a sign, holding a solid block, and right-clicked, nothing would happen.
Does this work on 1.4.4? i have tried and it will not install. i am on the latest bukkit, i believe the most recent Dev build of it.
@PintSki
Ok that's strange. Are there any messages in the server log? And what CraftBukkit version is that with?