CitiTraders: Difference between revisions
From Citizens Wiki
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
| DESCRIPTION = Cititraders are NPCs that support interface-based trading. [https://github.com/tehbeard/CitiTraders/issues Issues page] | | DESCRIPTION = Cititraders are NPCs that support interface-based trading. [https://github.com/tehbeard/CitiTraders/issues Issues page] | ||
}} | }} | ||
CitiTraders is a set of Citizens 2.0 traits that gives NPCs the ability to: | |||
* Buy and sell items for pre-set prices. | |||
* Maintain an inventory. | |||
* Work with Economy plugins to use bank accounts, owner accounts, or a per-npc account. | |||
= WARNING = | = WARNING = | ||
CitiTraders is still very much a beta character, as such, it is recommended only for evaluation purposes at this time unless you accept the fact that something will probably be broken/cheatable with. | CitiTraders is still very much a beta character, as such, it is recommended only for evaluation purposes at this time unless you accept the fact that something will probably be broken/cheatable with. |
Revision as of 23:20, 10 August 2012
File:CitiTraders.png
CitiTraders
Author | tehbeard |
Version | 0.1 Beta |
Citizens build | 2.0 dev build #264 |
Other dependencies | Citizens 2, Vault, a permissions system and an economy system. |
Download | Link |
Description: Cititraders are NPCs that support interface-based trading. Issues page
|
CitiTraders is a set of Citizens 2.0 traits that gives NPCs the ability to:
- Buy and sell items for pre-set prices.
- Maintain an inventory.
- Work with Economy plugins to use bank accounts, owner accounts, or a per-npc account.
WARNING
CitiTraders is still very much a beta character, as such, it is recommended only for evaluation purposes at this time unless you accept the fact that something will probably be broken/cheatable with.
Installation
CitiTraders requires no configuration by itself. However it requires that you have Vault, an economy plugin that can be accessed via Vault and
Creating a new npc as a trader
/trader create [NAME] -type [TYPE]
[NAME] - Name of the NPC to create
[TYPE] - type of NPC to create, (defaults to PLAYER if omitted)
Adding trader to an existing NPC
To add trader functionality to existing NPCs use:
/trait wallet
and
/trait stockroom
Accessing the storeroom of a trader
- Get a book
- Hold the book
- Right click your trader while holding the book