CitiTraders2
CitiTraders
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
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 new text to localization file.
- Verify Towny support
Credits
- tehbeard - Original Author
- tenowg - Past Maintainer
- twillen - Current Maintainer
Can I use this with cb1.7.2-r0.3?
You should just continue this project becauss teniwg abandoned his plugin...
is there a way to make traders buy player heads? it will not work for me :/
Hey, Twillen Will I be able to CitiTraders2 translated into Traditional Chinese this plugin do?
Check out
http://dev.bukkit.org/bukkit-plugins/cititradersRE/
I am making progress on the re-write and just want to give everyone a place to watch for updates as they come along... it is currently not completely usable nor is it documented at all yet.
Please add optional NBT support for 'back button' - arrow, and of course allow to set custom name and lore (text below name of item) - I think, it will help new players on our servers, which seen this plugin for first time. And add titles of NPC GUI's (which opens, when we click by right/left mouse button on NPC) to locale file - I'd like to translate it to my language. And last, what I'd like to see in this plugin - allow to set NPC SELL/BUY only mode, so when player click on NPC by left mouse button, and NPC mode is SELL TO PLAYERS ONLY, nothing will be opened (or player see message in chat, that this NPC don't buy items from players)
P.S. Sorry for my bad English.
I have been gone for a very long time... unfortunatly, but I would like to take a chance to a full re-write of this plugin, I have to take a look at what is currently available, and what is happening atm, as alot has changed, but I wouldn't mind inviting others to join in to assist (@twillen)
I can see that the plugin is still in use, and I will see what I can do.
There is alot in the original code that was only "maintained" so it got very confusing as to what was happening and why some threads were created, etc... so please try to not blame twillen for some of the issues originally created.
Would it be possible to make items for free? When you set the sellprice for $0 or $0.00 it doesn't show up. It needs to be at least $0.01.
@reneg1990
Yes it is. It is supposed to work as long as the main Citizens plugin is up to date.
Can you add Factions support? I don't want one faction's Merchants to sell to an enemy faction, and I want Bankers to only work for their own Faction members.
And do you plan on a 1.6.x update?
Is this working decently for 1.6?
@Vodafonept
Yeah, you need to set their wallet type to admin.
/trader setwallet admin
Then just right click them.
is it possible to create a trader with an unlimited stock??
I love the idea behind this and when I first tried it I loved it even more. But all the bugs make it unusable. It's sad but I have to go for something more stable.
@MCCharlieCraft
Amen. This plugin has caused me more grief than any other on my server. My players constantly complain about missing items or glitched out enchanments. The traders are constantly being deleted for what seems like no reason at all. As much as I love the ease of this plugin, its just far too buggy to have on a large public server like mine.
I'll make it short:
It's not working. Here is the error code:
(My IGN is d3min3r)
I have tried making this plugin work for my sever because I prefer it to the other one that is available. However, this plugin only works on a very small scale, and has many issues when trying to do anything other than server shops. The second you start allowing players to use this plugin is when the problems start. NPC traits not working properly, Citi trader preventing the /citizens save command from working properly, loss of data due to broken saving, etc, etc.
I do not recommend this plugin to anyone that wants functional traders for the masses. In its current state it is basically broken.
@Ordush
You have to create the trader with the /trader create command. It does not work adding the storage, and wallet traits to an existing NPC.
For some reason, i can not left click any of my traders, to open up the "buy Window" anyone knows what causes this?
I can not turn an existing NPC into a trader. I have to use the /trader create command. This is an issue with automated scripts that sell traders to players.
The main reason its an issue is because when using the /trader create command it does not automatically select the NPC that was just created. This makes it hard to automate things because I can not use a denizen script to find out an npc's id number to then select the npc with a command.
So then I try to just create the npc with the citizens command. /npc create. But when I do this adding the traits, /trait stockroom, and /trait wallet DOES NOT turn the npc into a trader.