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.
this may make you laugh Arm. To fix my issue for the time being i just did a text replace on the user that left to my name. Bam. I own the shops after a reload. lol.
Just a quick FYI to the users of TC. I tested 1.2.4-R0.1 (Build #02117) last night and all is well. No errors that we could find.
Thanks for the good work Arm :)
Digi
Heads up. Had a player make an infini shop without permissions. I was there with him when he did it but can not re-create it. If I can figure out how I will start a ticket with the details.
Digi
@Digitalink2008
To be honest, the shop plugin Jobsti2 linked to is quite like TradeCraft. It just does some thing differently. I should kinda look into multiple currency-items that are inter-exchangeable, for example.
But I'm not sure what he's seeing in that plugin that he'd want in TC.
Anyway, I'm just continuing this plugin as it was made by others. I'm always open to new ideas. But anyone is welcome to branch off and make their own version.
@Jobsti2
I never understood people wanting TC to use currency. The whole reason i use TC is because i find the "electronic currency" so convoluted and unnecessary. I mean really if you want currency isn't there like tons of shop addons for iconomy? Just seems like a big bother to me.
I think you're spot on with the focus of TC Arm.
Digi
@Jobsti2
What part are you referring to? And if that plugin is doing so good, why not just use that then?
Heyho ArmEagle.
Would be ultra great, if you could implemt somthing like that: http://dev.bukkit.org/server-mods/realstore/ With the currency. Possible in the near future?
@Digitalink2008
I think this is the best first step, obviously with its own permission node. Though the /tcpurge <playername> is probably a lot easier to implement.
Thanks for the suggestions. I'll see when I find time and a good mood to implement this :)
I suppose as an easy option you could always go with a /tcpurge <playername> option. Could be the nuke route lol.
@Digitalink2008
Crap. just realized... that method would need some sort of toggle otherwise admins with that node could no longer buy and sell from any shop.
/tcmanage toggle ?
@ArmEagle
Hmm.. i would engineer it as such.
A perm node that allows management of "others" shops. I would give that to all my admins. They could empty inventory as if they were the owner of the shop. Thus leaving the logic that you must empty the shop intact before destruction. Suppose you could do a bypass node too but it seems dangerous to just let items disappear into the aether.
@Digitalink2008
Good question. Now you mention it, I guess you can't directly then. If you're also a server admin, then you could edit the .data file; remove the line for that shop, reload TradeCraft and then remove it.
Or if you have PlugMan installed, you could temporarily disable TradeCraft, remove the shop (anyone could do so then), restart TradeCraft, build a new shop there yourself and take that one down yourself.
Indeed, quite clumsy all. How would you like to be able to remove such a shop?
Hey ya arm. Quick question. As an OP how do i remove chest that still have inventory. I get the readout they must be emptied first but im not sure how.
Love this plugin keep it up =)
@SeoToX
That's not currently planned no. There are already other shop plugins that use virtual economy plugins as basis.
Can i use money (e.g BOSEconomy) as currency?
@ArmEagle
Man ArmEagle, can't thank you enough for the addition of shop limits :)
Killer job man, killer job.
Someday i could see that limitation being expanded into limits per group so you could deal out more shops to higher ranked players. But I'm happy just to have the limiter :)
@lbb601
Yes, that's a new feature as I mentioned when I released the update: http://dev.bukkit.org/server-mods/tradecraft-ae/?comment=122
You can configure it by adding those two keys to the .properties file; "player-world-shop-limit" and "player-total-shop-limit".
And yes, it's the same for normal players as admins (infinite shops don't count).
Also, unfortunately the language file doesn't update automatically anymore. You can copy it over from the .jar yourself, or just delete the one in the plugin's folder to update.
Cant create new chest shops, getting this error message: key error "TOTAL_SHOP_LIMIT_X" I am an op and have all permissions.
Awesome plugin! I have also updated to 1.2.3 and it is one of the few plugins that still works! :D