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
Check my new project at : http://dev.bukkit.org/bukkit-plugins/ultratrader it replaces this completely
Its this updating?
Currently in the process of re-writting CitiTrader, it can be found at
http://dev.bukkit.org/bukkit-plugins/cititradersre/
I am currently adding more information about links/downloads/status, it is not currenly usable yet, but many features are being added quickly and I expect a new release soon.
So is this a dead project?
I'm not impressed with the DTL trades option
It's been a while coming now, but I'll be continuing support for existing functionality. I'll be releasing updates over at: http:dev.bukkit.org/server-mods/cititraders2/
The version I have works with 1.4.6. But when I updated to 1.4.7 it stopped working.
I use RC-5, not the more recent ones because when i used those in the past they were broken.
same error the others are getting. i tried it with builds of citizens 2 ranging from 562 all the way to 665 no change. I tried the 2.1 and 2.0 betas of cititrader and got two different kind of errors.
The 2.1 gives an internal java error while the 2.0 gives a java lang error and several lines of issues. Interestingly enough the 2.0 allows the existign traders to work 100% except we only get errors when we use /traders. This prevents us from making or modifying current traders.
The 2.1 doesnt work at all traders will buy but not much else.
I checked with the citizens2 team and they said both the 2.0 and 2.1 betas are bad builds based on the error reports I gave. Tried to communicate with tehbeard and tenowg on this. Waiting to see what happens.
@SFXMuffin
I have done exactly the same, about a month ago, with the same result.
I tried to send the dev an email at the address he has on his domain's Whois Page , but it bounced. Anyone else want to try to contact him?
@dretax Thank you for your link. I still find it not working, unfortunately. I have installed the alpha version of Citizens2 as pointed to, but get the following error at server startup:
2013-01-18 05:53:10 [SEVERE] Could not pass event CitizensEnableEvent to CitiTrader vBETA-2.1
And I get internal error trying to type /trader.
Any input on that?
@Goteer10
Installed the link dretax posted, and the Citizens build "2.0.6 (alpha)" from the side menu
"An internal error has occurred while running this command"
17.01 18:06:02 [Server] INFO ... 15 more 17.01 18:06:02 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 17.01 18:06:02 [Server] INFO at me.tehbeard.cititrader.CitiTrader.onCommand(CitiTrader.java:148) 17.01 18:06:02 [Server] INFO The method execute(Command, String[], CommandSender, Object...) in the type CommandManager is not applicable for the arguments (String[], CommandSender, Object[]) 17.01 18:06:02 [Server] INFO The method hasCommand(Command, String) in the type CommandManager is not applicable for the arguments (String, String) 17.01 18:06:02 [Server] INFO Caused by: java.lang.Error: Unresolved compilation problems: 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897) 17.01 18:06:02 [Server] INFO at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979) 17.01 18:06:02 [Server] INFO at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:514) 17.01 18:06:02 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) 17.01 18:06:02 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 17.01 18:06:02 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'trader' in plugin CitiTrader vBETA-2.1 17.01 18:06:02 [Server] SEVERE null
@SFXMuffin
Maybe you didn't install the "CITIZENS 2" ALPHA for 1.4.6, it's not the main download, it's the most recent update, but it's not the main download, go to the small list of versions and download the ALPHA of CITIZENS 2
@SFXMuffin
It is
@Goteer10
How is yours working?
Is there a way to sell enchanted items?, i want to sell special weapons and armor (also, i named the items, does the name affect the trade?) When i click the item on the list, when it goes to the second window (where it's an arrow and the item), there's only an arrow, no sword...
BTW, I'm posting this here because I can't connect to the issues page. (JIRA or something like that, i think?)
EDIT: I tested, and the problem is with the name of the item, ¿Is there a way to sell custom-named items?
EDIT2: Also, you can't sell items with more than two enchantments.
@dretax
Does this work with 1.4.6?
@rvoegeli
https://www.dropbox.com/s/w1o683ft3lgc56e/CitiTrader-BETA-2.1.jar
Make sure to remove version check in config :)
UnOfficial test version.a
Hi,
I'm trying to get my first trader running but encounter an error. I use CitiTrader 2.0 Beta from here, Citizens v2.0.6-SNAPSHOT (build 656) and Bukkit 1.4.6 R0.3.
Anything I can do? (Besided downgrading)
@fisherman77
Why are there 2 different traders for Citizens btw? And what makes this better than DtlTraders (or vice verse).
I'm sure he either has a big workload outside of Bukkit, or is still working hard right now, but if you really do need bugless Trader NPCs for 1.4.6, you might want to either check out DtlTraders or look at some Denizen tutorials about scripting some yourself.
I will tell you that DtlTraders is chalk full of features, but that Denizen scripting will offer you an infinite amount of customizability, and both will serve as good replacements until tenowg has updated CitiTraders.