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
I got it working but i have no clue how it did, tried everything but it dident help then now when i restarted and pasted it once again it worked like a charm :O
@cayeen
Any chance you still have the TradeCraft.txt in your plugins/TradeCraft folder (without it being renamed)?
@ArmEagle
Oh wait, let me look into that further.
[b]Edit:[/b] Ah no, that's another config file.
@cayeen
And that is with v1.3.1 of the plugin? I thought I made it so it would never overwrite existing files anymore. *sigh*
Okey theres a problem with my tradecraft. everytime i change the items.yml and reload it just generates all the basics again over it and replaces like half of what i have wrote! :O
@zOxigen00
That probably happened with a recent, but old version of the plugin, where another (protection) plugin blocked the destroying of a sign/chest. I take it the sign still had the player's name on it?
That should be fixed in the latest version.
Edit: And with 'fixed' I meant; it should not happen anymore, but existing infinite shops won't be converted back.
Btw!
Dont know how some of my users made an infinite shop, and they dont have the permission to do that. Was no error on console, just they did it. Any Idea for that?
@zOxigen00
You weren't the only one reporting issues (though the other was in an old ticket, I'll ask for more information in there). I'm glad you have it sorted out though.
Okay sry was my bad, missed a ":" in config file, it works fine :)
@zOxigen00
I don't get it. I have no problem having any of the files be created. Not in 1.1R1 or 1.1R3. Could someone perhaps provide me with all (but perhaps the world files, craftbukkit.jar and server log) files with which they have problems. And provide me with steps to reproduce the issue.
Yeap some problem on R3 with reload, i hope they repair ci fast so u can update :)
@ArmEagle
Ok, I uploaded version 1.3.1 now (officially built for R1 since ci seems to be down right now so I can't get R2/R3). This should never overwrite existing 'configuration' files anymore.
@cayeen An existing language file should not have been overwritten though, strange. I'll try to recreate it when I have time I did change the code there a bit.
@ArmEagle
i actually dont know , but it might have caused because i already had 1 tradecraft.jar in my folder and just replaced it and then restarted the server. then the sv file got wiped out and did not generate.But if it works for you it should have worked for me :)
@genesis_aix
I can understand why you would want to take out the currency. But I think having a currency item adds simplicity to using the plugin. You always know what you can use to pay with at a shop.
Supporting X for Y trades would be so different from what this plugin was made to do, that I'd have to rewrite it all over. And I hardly have time to add small changes as it is.
@cayeen 'ideas'. That's another way to do it yes. But the 3 currencies could technically be any item, so the exchange rate between them doesn't specifically have to be 9:1 either. I'll have to think about all that first, but you provided a different view which is always helpful.
And about working with other plugins; I think I should look into writing my own variant/plugin of one of these generic currency plugins. That way other plugins can use 'mine' as any generic currency.
@cayeen
Hmm, it surely works here without a problem. Though the formatting is different from the file that's included in the .jar (if you'd open that), but that's because of the parsing that happens when it's 'copied'. What about if you specify 'en' as the language (and the file doesn't exist yet) and then start the server?
If that shows the same, what CB version are you using and what Java (Sun/OpenJDK and version) are you using? Are there any errors shown by the plugin?
This plugin is so close to beeing what i crave! What is wrong with all these economy/trade systems, is that they all depend on a static currency.
Why not make it possible for players to trade x[item A] for x[item B]?
I dont want there to be one currency, or three... i want players to use the blocks and items as currency.
Any plugins that takes me close to that? ArmEagle; could it sound interesting to implement in this particular plugin?
Keep up the good work!
TradeCraft Ideas to make it a bigger and better economy system
My idea is why not make GoldNuggets the original currency and then use gold ingots as a better currency and last use Goldblocks as a very big and useful if lets say you are buying land.
This would make it easier to make a proper list of what items should cost since you have a better way of paying for it. for example you could write
As you see here above i wrote BuyValue: "2:L" The L stands for Lowest and meens the lowest currency so if you would change that to 2:M it would cost 2 gold ingots instead of 2 gold nuggets. You could also change it to "2:H" the the 64 stones will cost 2 Goldblocks.
So the Config for this would look like this.
All shops shall recognise all currency blocks so if you put a goldblock in a lets say a stone shop where 1 stone costs 1 goldnugget, then you would have 81 stoneblocks.
instead of haveing to converte the goldblock first to goldingots and then to goldnuggets.
Make it able to use like Bananaregion or worldguard to make land (as admin) and be able to make so the players of the server can buy it with tradecraft.
Both of these things would make tradecraft even stand out more from the other economy systems. it would have the same features as all the others but be item based.
Hope you take a look into this and look if it suits you as much as it does to me.
Best regards Cayeen
@ArmEagle
The tradecraft.sv.lang does generate but its totaly empty for me, please take a look into that :)