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.
@Intangir
Yes, the last four lines with zero values are for infinite shops.
I must have made a mistake in the default file. If I look at http://www.minecraftwiki.net/wiki/Data_values , then the ID for coal is 263, not 262. Or maybe the IDs changed in some update. 262 are apparently arrows. So try replacing 262 with 263 and try again.
I'll have time to look at the plugin soon again. I'll update the default small item list then too. Thanks for the report!
im not having any luck getting it to work with player shops, it says you can't sell, you can't deposit that here on the item i want to sell
it accepts my gold nugget currency and pulls it into the sign, but wont take in the actual items
i am using your defaults that includes Coal, Log, Sand but none of them work
my sign says:
but it doesnt accept my coal
the entry in the yml file says:
if i understand correctly those zero values are for infinite shops, not player shops
Awesome Mod, really like TradeCraft and using on my server, just what was needed, and can change the currency to Gems when minecraft 1.3 is released, thanks
@nejcneo
the problem with the "all items" solution is you are totaly relying on the item codes at that point because there is no "name linking" build into bukkit.
By the way Arm, you ever gonna implement a better system of removing users? ;P
@nejcneo
There exists a more complete list. Though that's several months old by itself, so several new items aren't in it yet.
The file is linked from the description of the plugin. But here it's for your convenience: http://dev.bukkit.org/server-mods/tradecraft-ae/files/11-complete-items-yml/
Only problem is that you should put items into "items.yml" Is possible to enable all items or just put items.yml with build in all items. Because I don't have time to edit this file for all items
@tinyapples
If you installed it because it came with the other Essentials plugins, and thus don't really use it, then you could remove the EssentialsProtect plugin. Else I'd look into the configuration of the plugin, or ask the developers of that plugin.
Um, I get "[EssentialsProtect] Protection owner: tinyapples BTW tinyapples is my IGN How can I fix this problem, if anyone could help me, I would be very grateful. :D
Feature request: Player gets notified if their playershop that sells [item] has had business right away if they are online, and as soon as they next log in if they are not online.
@alexcam98
This isn't a feature yet. But it has been suggested before and I hope to find some time to implement this at some point.
Sorry, I haven't used this plugin too much yet, but I was wondering, is there a way to have gold ingots and gold nuggets as currency? I haven't looked in depth at the plugin to see if you can, and I was just wondering if there was a way.
IMa get this! Good WORK!
@ArmEagle
Well, actually, that goes for any of the languages included in the .jar. Only when you have a custom translation you'd want to look into the English one that is in the .jar to see what keys you're missing and translate them for yourself.
Of course you're then welcome to share your language file here.
@QBcrusher
If you're using just plain English, then just throw away the TradeCraft.en.lang file and do /tcreload, or /reload, or restart the server (from less to higher impact on your fun) and the language file should update automatically.
my players are getting key error WORLD_TRADE_LIMIT_X
when they try to make new shops. can i fix this?
@MineCrafter371
As you can see on the right, in the 'recent files' list, the last version still works for 1.2.5. At least as far as I tested it, it still works just fine.
When will you be updating it for 1.2.5 or whatever comes next? I really like the plugin and it is a vital part of my server...
When i first read extrea's comment my first thought was a separate plugin along the lines of iconomy that implements items as its currency. Then asking the Vault guys to support it. It seemed natural that all the functionality needed to manage a currency ( item based or otherwise ) would be rolled up into its own plugin.
@extrea
I should probably turn it the other way around and provide for an API that allows people to pay with items as currency / support one of those generic currency API with that as basis.
I wanted to get an electronic currency plugin to have more features, like paying for usage of different commands etc.. This may be a suggestion lol
Thanks for the plugin I have used it for around a year now :D