CitizensDev / Citizens

NPCs for Bukkit
citizensnpcs.co
Other
107 stars 53 forks source link

Trader will not sell for Items #683

Open PiccoTerra opened 12 years ago

PiccoTerra commented 12 years ago

What I did: /npc create XYZ /toggle trader gives it glowstone /trader sell 89:1 2:266

What I suspected: makes an npc makes it a trader gives it glowstone sells one glowstone for two gold

What happend: makes an npc makes it a trader gives it glowstone That is not a valid number. <- red colored

it only works with money(/trader sell 89:1 2) but we did not install iconomy and we do not want it.

thank you for the support.

Snaipe commented 12 years ago

isn't that /trader sell 89:1 266:2, in place of /trader sell 89:1 2:266 ?

PiccoTerra commented 12 years ago

/trader sell 89:1 266:2 -> That is not a valid number. /trader sell 89:1 2:266 -> That is not a valid number.

no difference this far.

kripts commented 12 years ago

As far as I am aware you can only buy/sell items for money not other items

PiccoTerra commented 12 years ago

@kripts http://citizens.wikia.com/wiki/Traders /trader [buy/sell] [item ID(:amount(:data))] [cost(:amount(:data))]
Adds an item to the trader's buying/selling list. The cost argument requires the amount to be defined (without any ':'s, it's an iConomy cost).