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.
@ArmEagle
thats right! i must have missed to upload that version of the translation i dont belive its needed in our server so i just put =============== to show that theres nothing more to show from that shop
I just uploaded version 1.3:
@cayeen
Thanks cayeen. I added the file to the .jar now. You didn't translate the inifinite shop line though, so I used Google translate for that:
Feel free to correct me :)
@shouldbeperfect
The permissions for this plugin are listed above. It depends on what permissions plugin you are using how you need to use these nodes.
hello what are permissions and what i need to do with can anyone help me?
I just saw that the swedish translation was wrong in some places and did not work properly, so remade it.
in our server you use goldnugget as coins, but it would be good if you could use like ingots for higher buys, and also a good and cool thing would be if you could buy land with this plugin. like buy a region in worldguard :)
@cayeen
Thanks, I'll look in adding that to the .jar. At least will add it to the files section. And I'm glad it's not the plugin after all. It doesn't happen that often anymore that Bukkit updates break plugins, luckily.
Sry that i did post here, but the 1.1 actually works. i just made got the items.yml wrong Just made a swedish translation so you have it here :)
@cayeen
Tomorrow evening I should have time to try the plugin on a 1.1 dev build.
Could you please continue working on this :) our server is totaly needing it! :D The best economy on minecraft! this should not stop and die. we need tradecraft now more than ever!
@Mercury92
How would it matter how the data is stored? SQL is stored in a file also. It's also much more complex. If the plugin wiped the .data file - somehow - then it would have wiped the database just the same.
So, what happened. What other plugins are you using and what CraftBukkit version?
@ArmEagle
How come TradeCraft.data has been wiped out? All shops are gone!
Why this plugin is not using MySQL or SQL to be sure data won't be wiped out because of a bug.
With adition of golden nuggets this plugin becme much more needed. Too bad it is not getting upgrades.
Ah thats cool, thanks for being straight forward. Is gold2economy the only plugin that does gold to icon money exchanges. I'm sure i will figure out a way to use the nuggets into the game. Thanks for replying :) Keep up the good work.
@Mr_Mellow
I understand the reasoning behind that. But then again you could just use one other shop plugin to convert gold to virtual currency. I should kinda turn it around and make an API that would make it possible for other plugins to use the currency used in this plugin though.
People have asked for split currencies before. But I guess I just don't see it being that much necessary. Instead of setting a ratio of X for 1.3 currency, you could just set it up as 3*X for 4 currency. Also, though logical for the game, the conversion of 1:9 for bar to nugget (/block to bar) isn't the friendliest. But I guess (not knowing where you personally are from) Americans are used to crazy ratios :)
So, the ideas aren't that weird. But I don't see me implementing them anytime soon since I'm putting my priorities elsewhere right now.
No no no, i love using gold as the currency, i love how this plugin uses that. But i would like the ability to make a shop for people to do a sort of conversion, seeing as towny doesnt let you use gold as an economy system, i just thought that it would be handy if this plugin had the ability to let people convert their gold into virtual money to use on plugins that require virtual money. And also, is there a way i can make it that gold nuggets can be used as well as gold bars? so i could sell something for say, 1 gold bar and 3 nuggets? I just see it would be like the bars are your big numbers like dollars, then your nuggets are your cents and stuff. So you wouldnt have to sell things just by 1, 2, 3 ect, it could be 1.3, 4.6. If you get me. Just throwing ideas out there :)
@Mr_Mellow
I could do that yes. But there are plenty other shop plugins out there with support for virtual currencies. Not actually having 'coins' would also causes a change in how you interact with a shop. There are other features I'd rather spend my time on, if I had any.
Is there a way you can make it you can sell gold for iconomy money? Would work well with plugins that require iconomy money like towny.
@ArmEagle
Thank you!
I have edited file and added up to 1.1 items/blocks except Discs, Potions and (Mob)Eggs. Also removed items which can't be obtained legally (e.g lava, water, portal etc ... except Mycelium, Grass and Fire.). Edited few names (RSRepeater -> Repeater, GoldApple -> GolenApple etc ...)
All Credit goes to lawliet555.
http://bit.ly/yMaqdC
i didn't edit trade values for new items