DtlTraders: Difference between revisions

From Citizens Wiki

No edit summary
No edit summary
Line 33: Line 33:


== Installation ==
== 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 ====
==== Dependencies ====
Line 96: Line 92:
<br />
<br />


== Version 2.0RC 0.76 (fixed some bugs from 0.74) ==
== Version 2.0RC 0.77 (fixed some bugs from 0.74 and 0.76) ==
A lot of updates was added to this version, so be prepared for a refreshing wind ;> You can download this version [https://github.com/downloads/Dandielo/DtlCitizensTrader/dtlTrader.jar here]
A lot of updates was added to this version, so be prepared for a refreshing wind ;> You can download this version [https://github.com/downloads/Dandielo/DtlCitizensTrader/dtlTrader.jar here]
# 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.  
# 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.  
Line 105: Line 101:
# Displayign prices in the items description!  
# Displayign prices in the items description!  
# changed the pricing system, from up now prices are calculated for each player separately, so tiering is available!
# changed the pricing system, from up now prices are calculated for each player separately, so tiering is available!
# removed spawning of ender pearls when moving xd
# more changes soon! :D
# more changes soon! :D



Revision as of 16:27, 22 November 2012

File:DltTraders.png

DtlTraders


Author dandielo
Version 2.0RC (v0.76)
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

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.77 (fixed some bugs from 0.74 and 0.76)

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. Displayign prices in the items description!
  7. changed the pricing system, from up now prices are calculated for each player separately, so tiering is available!
  8. removed spawning of ender pearls when moving xd
  9. more changes soon! :D

Navigation

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