DtlTraders

From Citizens Wiki

Revision as of 01:56, 17 November 2012 by Dandielo (talk | contribs)

File:DltTraders.png

DtlTraders


Author dandielo
Version 2.0RC (v0.72)
Citizens build 2.0.4 dev build #569
Other dependencies Citizens 2.0 Vault and an economy plugin
Download Link
Description: Trader trait for Citizens 2.0. Issues page

A first release version will be available soon! A new RC is available, more info below!

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.

  1. Server trader - Admin shop, fully customizable to meet your needs.
  2. Player trader - Allows players to set up and manage their own traders.
  3. Money banker - 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)
  4. Player banker - 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

  1. Citizens 2.0 or 2.0.1
  2. Vault
  3. economy plugin (vault compatible)


Installation steps

  1. Download the latest build at: http://dev.bukkit.org/server-mods/dtltraders/
  2. 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.

Server Trader Tutorial - by Inexion (THANKS :D)

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 2.0RC 0.72

A lot of updates was added to this version, so be prepared for a refreshing wind ;> You can download this version here

  1. Added a new trader type, it's total base on patterns, you need to set him what he will buy from the user and you need to set the prices for how many he will sell that stuff.
  2. refreshed patterns and added more functions to them, now you can create "tiers" in the "prices" section, allowing you to set prices for different "permission groups"! To allow a player use a "tier" you need to add him a simple perm, like: "dtl.trader.tiers.tier1".
  3. also added "multipliers" for price patterns, base is 1.0, so you can easily change all prices by an "multiplier" ;)
  4. fixed many bugs: crashing without denizen plugin, permission bugs, pattern issues, some messaging issues, and a lot of other smaller things...
  5. added also "Lores" and special Names for "managing items"! Now you won't see "lime wool" but "Buy stock!"
  6. changed the pricing system, from up now prices are calculated for each player separately, so tiering is available!
  7. more changes soon! :D

Navigation

DtlTraders
Usage Managing | Trading | Patterns
Configuration Configuration | Commands | Permissions | Locale
Types Traders | Bankers
Denizen Support Commands | Triggers