DtlTraders: Difference between revisions
Line 106: | Line 106: | ||
! style="width: 100%; background-color:#ADD8E6" colspan="2" | '''DtlTraders''' | ! style="width: 100%; background-color:#ADD8E6" colspan="2" | '''DtlTraders''' | ||
|- | |- | ||
| Usage || | [http://wiki.citizensnpcs.com/DtlTraders/managing Managing] | [http://wiki.citizensnpcs.com/DtlTraders/trading Trading] | [http://wiki.citizensnpcs.com/DtlTraders/banking Banking] | [http://wiki.citizensnpcs.com/DtlTraders/patterns Patterns] | | Usage || | [http://wiki.citizensnpcs.com/DtlTraders/managing Managing] | [http://wiki.citizensnpcs.com/DtlTraders/trading Trading] | <!--[http://wiki.citizensnpcs.com/DtlTraders/banking Banking] -->| [http://wiki.citizensnpcs.com/DtlTraders/patterns Patterns] | ||
|- | |- | ||
| Configuration || | [http://wiki.citizensnpcs.com/DtlTraders/config Configuration] | [http://wiki.citizensnpcs.com/DtlTraders/Commands Commands] | [http://wiki.citizensnpcs.com/DtlTraders/permissions Permissions] | [http://wiki.citizensnpcs.com/DtlTraders/locale Locale] | | Configuration || | [http://wiki.citizensnpcs.com/DtlTraders/config Configuration] | [http://wiki.citizensnpcs.com/DtlTraders/Commands Commands] | [http://wiki.citizensnpcs.com/DtlTraders/permissions Permissions] | [http://wiki.citizensnpcs.com/DtlTraders/locale Locale] |
Revision as of 15:13, 13 September 2012
File:DltTraders.png
DtlTraders
Author | dandielo |
Version | 1.9.4 Beta |
Citizens build | 2.0.1 dev build #324 |
Other dependencies | Citizens 2.0. Vault and an economy plugin |
Download | Link |
Description: Trader trait for Citizens 2.0. Issues page
|
This page will change rapidly during the whole "Beta" phase, keep in mind that the plugin version you are running may quickly become outdated! v1.9.4 (2.0 pre-release) incoming!
Eventually DtlTraders will offer several trader types which allow creation of admin shops, player-owned shops, enchant shops, bankers and similar. The author is also working hard to make an auction house npc a reality.
This plugin was developed to be flexible and easy in use.
Features
At this time four different trader types are available, each has its own specific purpose.
- Server trader - Admin shop, fully customizable to meet your needs.
- Player trader - Allows players to set up and manage their own traders.
- Money banker (beta) - Enables the use of in-game items as a currency (set in the config). You can withdraw your money as an item to store or trade with another player. (Only limited testing was done, feel free to report any problems)
- Player banker (beta) - atm it lacks only permissions setup, but it can be still buggy so be aware
Locale support
Almost any message displayed by this plugin can be very easily modified.
DtlTraders is available in english only at this moment.
If you are willing to help translate this plugin to a different languange please contact the author.
Installation
Updating from 1.9.04 to 1.9.4
When you are moving from version 1.9.04 you need to remove the config.yml, and the locale.yml. It's needed to move to the new config and locale system.
Dependencies
- Citizens 2.0 or 2.0.1
- Vault
- economy plugin (vault compatible)
Installation steps
- Download the latest build at: http://dev.bukkit.org/server-mods/dtltraders/
- Put the dtlTrader.jar file in the plugins directory
The plugin will generate default configuration files when it is run for the first time.
Configuration
All configuration nodes can be found here http://wiki.citizensnpcs.com/DtlTraders/config
How to start
Creating a trader
To create a trader you can add a trait to an existing npc by using the following command:
/trait trader
be sure to respawn the npc for the changes to take effect.
There are two ways you can accomplish the above when creating a completely new character. The first one is to use:
/npc create trader name -- trait trader
The second way is taking advantage of the trader command. It has 3 optional arguments that control the type, wallet (for traders) and entity type. Arguments can be supplied in any order.
/trader create trader name [t:<trader-type>] [w:<wallet-type>] [e:<entity-type>]
if you don't supply any arguments the plugin will default to a server trader type with infinite wallet.
Creating a banker
Bankers can only be created by using the /trader command.
/trader create Name t:money-bank
or
/trader create Name t:player-bank
Commands
A complete list of available commands and their description can be found here.
Permissions
A complete list of permission nodes and their description can be found here.
Types
A list of supported trader types can be found here.
More information
The wiki pages are currently beeing updated, any missing information should show up in the coming days. If you have any questions or ideas to implement you can usually find me on the esper.net IRC channel #dtlTraders. You can also e-mail me at [email protected] .
Version 1.9.4
- Added transactions patterns, now you can make patterns and assign them to traders!
- Added logging system for player trader owners, you can easily call the last transactions made by you'r trader
- Commands are now separated /trader and /banker
- Permissions was been redone, i hope they are now more readable
- Locale file was redone, it has now an easier system to translate (but still it's not the end system)
- Added Simple-clans, Factions, Towny wallets! (if you wish a wallet to add just say it)
- Added more messages, now you know why a transaction failed (still needs some improvements ;P)
- The configuration file has been changed (needed to move many things you of the "trader" section)
DtlTraders | |
---|---|
Usage | Managing | Trading | | Patterns |
Configuration | Configuration | Commands | Permissions | Locale |
Types | Traders | Bankers |