CitiTraders
CitiTraders
Currently working on CitiTraders 2 - Fixing alot of hold over errors and issues.
As I get a chance to update I will do on this page CitiTraders2
Cititraders enables your citizens 2 NPCs to act as traders, buying and selling goods. It works good for admin shops and player shops alike. All traders use the inventory interface for buy/sell and players don't need any commands to interact with Traders.
You can see more details at CitiTraders Wiki
Issues: Issues at JIRA
Recommended Builded: RC-5 Release Candidate
Development Builded: Jenkins lastSuccessful Build
Setting Up A Trader
Interacting
- Right Click the NPC
- Opens the selling window, here the players will select what item they wish to purchase from the NPC
- Right Click the Item
- displays a price of the item
- Left Click the Item
- Opens the final sales window, from here a player can right click again for stack price, or left click to purchase the stack
- Left Click the NPC
- this will open the buy window for NPC, currently players need to just drag and drop items to the inventory and close the window, unpurchased items are dropped if NPC can't purchase these items (soon they will not be able to be dropped into the inventory if NPC can't purchase them)
Adding Stock
- Right Click the NPC with a BOOK in your hand
- This will open an inventory screen where you can place any items you want to sell, if an ADMIN shop these items will not be reduced with sales, but you still need to put 64 (or max stack) of an item to get a full listing of amount in sales window.
- Linked Chests
- If you have linked chests, adding stock is as easy as opening the chest that is linked to the trader, and adding what you want to it.
Commands
Commands Permissions are currently listed here for CitiTraders 2
Permissions
Limits/Profiles
Installation
Just place into the plugins folder and restart the server, make sure you have a working version of Citizens2 and Vault installed first
Requirements
- Citizens 2
- Vault with economy plugin such as BOSEconomy and permissions such as zPermissions.
- (Optional) Towny
TODO
- Add shop managers and assistants
- rewrite selltoplayer to allow for easier buystack and to improve performance
Credits
- tehbeard - Original Author
- tenowg - Current Maintainer
I cannot sell items to my traders. The window does not open
@Freejack01
Ok here are some of the things I have tried, I have tried linking a chest that is too far away, it says that 0.0 was taken and the itemstack is dropped at your feet, I have tried to sell to a trader with full linked chests, and same result, I have unlinked the chest and relinked one that is closer, when I sell to the NPC the item is delivered to the chest as promised, and the money is given to the player... I will need more information...
Give me your plugin list, do /trader version, to make sure you are on a recent version, make sure citizens is fully upgraded, if you still have issue, maybe reload the stockroom (/trait stockroom) this might wipe out your price lists tho. If that doesn't work I can login and see what might me conflicting..
@Bradley7228: I can do that same for you, there has to be a comflict somewhere.. for the life of me I can't find it Bradley... it pains me too - and I did find that output. it was deep down, I must have put it there when I was debuging.
@Freejack01
Actually I was mistaken... You wouldn't by chance have the trader's wallet set to ADMIN would you? because if you do, no items are actually purchased, just taken and money if given.
@Freejack01
Seems you have found a small bug, I will look into right away, sorry about that.
Have a strange issue, setup trader to buy and sell item. Set them up to buy and sell diamonds and when the trader buys the diamonds he pays out the correct amount, but the inventory reflects no diamonds in the linked chests. Tried other items to the same result. Item purchased from user just not in inventory. Now if I stock item in chests the item is there till sold. Any Ideas?
@Bradley7228
can you show me where it says in console about the linked chest?
Because in my currently versions I don't think I have any console output left... do /trader version and tell me what it says again,if you haven't already... Still having immense problems reproducing this.
http://www.youtube.com/watch?v=9YtgDPFNYQM
here's my problem
excuse my language
I will make a demonstration video on my error. Is there any where to post it? Or should I just link you to a YouTube?
@Seanrinox I don't think the citizens /plugin folder is currently used at all. All the plugin just get put in the normal plugin folder.
@wristdirect
Looks like an issue with vault and craftconomy. Can't be sure till I get home. Try using boseconomy and let me know if it still happens
Sorry I'm posting this here. You're tickets link isn't working for me right now :/
So I've had a couple small issues with Citizens/CitiTraders, but I've gotten most of them ironed out. One problem I'm still having: In the buying process (with all permissions, I'm OP), I can get to the point where I need to do the final left click to buy the item (I'm looking at all the stack sizes), when I do this, it quickly replaces the item I click and my console tells me this. I'm using Craftconomy (and I've tried MineConomy as well to be sure, same results), and I'm running everything in 1.3.1 (bukkit and spout and the plugins involved). Any clue on this?
Hello,
I have a problems using the CitiTraders Plugin. Everything worked quite fine, I've set up some Traders but on Serverrestart, everything was reset. Is there a "save traders" command or something? It saves nothing in the profiles as well. I'm using the newest Bukkit Version and the newest Citizen2 version? Did I do something wrong or is this a bug?
Thanks for your help!
EDIT: Ok, I fixed it myself. I've put the CitiTraders into /plugins/citizens/plugins. Somehow, the plugin didn't save at all. Then I've put it into /plugins, and everything worked fine! Same with other Citizens2 Plugins. But I fixed it! :D
hmm might take a look at this if I install citizens2
I have updated the profile section (finally I know) and updated some things in the discription. Small bug fix coming from a change in Citizens2 API
Sorry WingedSpear. JIRA is the easiest for me to use. I check it most often as I have / will have more projects that I maintain and will need a central system. May I ask why you don't like JIRA?
Dont use JIRA as ticket system plz, i will post suggestions here
The only thing missing in this plugin in the language translation
@Bradley7228
Sorry about the long response to this, Bradley, if you are still having this issue, please refer to Setting up a Trader and if STILL you have having issues, please be the first to open an issue on my JIRA site at http://thedemgel.com:7070/browse/CITITRADER
I can make a video as a demonstration of my problem if you want.
Fixed issue with wallet permissions that was found when I was checking on why it says there is an error when you set the trait... ignore this error for now, as the trait should still be set, I will figure this out when I can...
Please use the link to my jenkins to update, waiting on approval of new build from bukkit
For those of you that can't seem to set a sellprice or buyprice,make sure permissions are set corrently for the user.. you do need to have a permission for every command
I am currently releasing RC-5, this will add some features such as:
Todo: