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.
looking at previous posts here and what i'm getting on my serv, items.yml is getting ignored, items in the yml are not recognized, the item "log" for instance is NOT in my items.yml, but does get recognized, the item stone, which is in the yml, ignored, so it looks to be using only the default ssettings, no items.yml
@IPurpleNinja
Oh, I thought 6 was the thing you put focus on, but it's the item types.
If you're the admin of the server, then look in the items.yml file. If not, ask your admin why the list is limited/whether it could be extended.
Note that by default the items.yml is pretty limited. There are more than those 6 items by default though; Cobblestone, Gravel, Sand and more too.
Read the description text above, specifically the first entry under 'Configuration', which links to a complete list someone made available for others to use (it's also under the files section).
I have made a mall so all these 6 shops/stalls are in the same world but only the items listed on my other comment are the shops I can create.
@IPurpleNinja
There are settings in the properties file for configuring limits to the amount of shops people can place. The following are the settings with their defaults. I can't quickly check whether setting these to 0, or negative, will mean limitless. You can of course just set an arbitrary large number here.
#the maximum amount of player owned shops a player can have in one world
player-world-shop-limit: 5
#the maximum amount of player owned shops a player can have on the whole server
player-total-shop-limit: 10
Edit:
You're saying you can place 6 though. Are these all on the same world? Maybe I have a simple error in the comparison check, allowing for one more than the setting.
I don't know but im using this plugin on my server and I can only set up 6 shops diamond obsidian log coal iron and redstone can someone help me resolve this problem
@m1k3y9292
I just downloaded CB1.3.2 and all seems to be working fine. Is there anything mentioned in the server log? Do you use the right names on the signs? Is the items.yml in plugins/TradeCraft/ perhaps being overwritten?
@ArmEagle
Ok, thank you. I appreciate this. :)
@m1k3y9292
Thank you for reporting this. I should have time to look into this on Thursday.
I have had the plugin working before (1.2.5 update) when I was testing it. But now it doesn't seem to work with 1.3.2. I have coded the items.yml properly and setup the infinite shops correctly, but nothing happens when you right click the sign above the chests.
@SGrayMe
Thank you for that. I put it in the files section, replacing the version of lawliet and linked to it like I did before with that file.
If you're interested in an updated all-the-items version of items.yml, I've cleaned up and brought lawliet's version up to 1.3.1.
http://pastebin.com/raw.php?i=sZhmy5YY or Link Removed: http://www.mediafire.com/?2fuvja6vd7l36mv
@puffpants
You either have to be operator, or have the permission for TradeCraft.canMakeInfShops. Then you simply place a chest and above that a sign with [itemname]. Where itemname is as found in the items.yml (which you can extend/change with all items and trade ratios you like).
plz help how do i make a infinite shops i have my own e=server TRC minecraft plz help
@ArmEagle
Thanks, works.
@lbb601
I don't see this behavior myself with the latest TradeCraft build (1.4) and CraftBukkit 1.3.1 (#2317).
I think I figured out why this is happening. In TradeCraft's plugin.yml file a few permissions are given by default to all players. Those are 'canBuy', 'canSell' and 'canMakePlayerShops'. You have to explicitly deny these permissions if you do not want a group/player to have these permissions.
With PermissionsEx you do this by listing the permission as usual, but add a dash in front: - -TradeCraft.canMakePlayerShops
I guess I wasn't clear enough about that. But I think I never realized this before myself (I assumed those default permissions were only used when there was no plugin handling Permissions). Or maybe something about this changed recently in either Bukkit or PermissionsEx.
Please let me know if this was of any help.
@lbb601
Thank you for reporting this. I see the same thing happening with both the Recommended Build (#2317) and the latest (#2327). I created a ticket and will look into it asap
http://dev.bukkit.org/server-mods/tradecraft-ae/tickets/21-permissions-are-not-working-right-anyone-can-create/
[b]Edit:[/b] Above I'm reporting that I do not see this happening. I had set wrong op/permissions in my initial check. Read above comment for a more accurate description.
@ArmEagle
Yes, everyone has permission to create shops when I didnt give out the perms.
@lbb601
Is it broken then? I should have time to look at it tomorrow myself.
1.3 update?
oh wow it works
dang maybe i still had coal on the sign when i tried the other types
either way it works! sweet :)
this addon is designed exactly how i wanted i checked the rest of the file and all of the IDs are unchanged (the full file the other guy provided has MagebtaWool, i changed it to Magenta)