DtlTraders/basics: Difference between revisions

From Citizens Wiki
(Introduction)
Line 3: Line 3:


== Creating a trader ==
== Creating a trader ==
You can create a trader in 2 different ways, first one is using the '''/trader create <name>''' command, or the trait assignment command from citizens '''/trait trader'''.
When you should use these command?
Generally the '''create''' command create a new NPC with the given name, ready to be edited with the next click, whereas the '''trait''' command should be used on existing NPCs, so if you got, lets say, a NPC walking a long path you don't need to set this path from scratch.
Lets create a new trader so we can manage him not being afraid of any mistakes.





Revision as of 08:17, 31 October 2013

This tutorial will show you how to create an Admin shop like trader, how to change his stock and what you should be aware of when managing a trader. I will show you some exceptions and behavior connected with the manager mode and it's sub-modes. I'll also show you how to change the configuration to help you set up prices.

Creating a trader

You can create a trader in 2 different ways, first one is using the /trader create <name> command, or the trait assignment command from citizens /trait trader.

When you should use these command? Generally the create command create a new NPC with the given name, ready to be edited with the next click, whereas the trait command should be used on existing NPCs, so if you got, lets say, a NPC walking a long path you don't need to set this path from scratch.


Lets create a new trader so we can manage him not being afraid of any mistakes.


Add, edit and remove items

Setting prices

Multiple amounts

StackPrice and NoStack flags

Configuration

Trader configuration