DtlTraders: Difference between revisions

From Citizens Wiki

(przenioslem navigation na dol - lethe)
m (poprawione formatowanie strony)
Line 16: Line 16:


This plugin was developed to be flexible and easy in use.
This plugin was developed to be flexible and easy in use.
<br />
== Features ==
== Features ==
At this time four different trader types are available, each has its own specific purpose.
At this time four different trader types are available, each has its own specific purpose.
Line 25: Line 23:
# 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)
# 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
# Player banker (beta) - atm it lacks only permissions setup, but it can be still buggy so be aware
 
<br />
=== Locale support ===
=== Locale support ===
Almost any message displayed by this plugin can be very easily modified.  
Almost any message displayed by this plugin can be very easily modified.  
Line 32: Line 30:


If you are willing to help translate this plugin to a different languange please contact the author.
If you are willing to help translate this plugin to a different languange please contact the author.
<br />
<br />
<br />
== Installation ==
== Installation ==
==== Dependencies ====
==== Dependencies ====
#Citizens 2.0
#Citizens 2.0
#Vault
#Vault
#economy plugin (vault compatible)
#economy plugin (vault compatible)
 
<br />
==== Installation steps ====
==== Installation steps ====
# Download the latest build at: http://dev.bukkit.org/server-mods/dtltraders/  
# Download the latest build at: http://dev.bukkit.org/server-mods/dtltraders/  
# Put the '''dtlTrader.jar''' file in the plugins directory
# Put the '''dtlTrader.jar''' file in the plugins directory
 
<br />
The plugin will generate default configuration files when it is run for the first time.
The plugin will generate default configuration files when it is run for the first time.
 
<br />
==== Configuration ====
==== Configuration ====
All configuration nodes can be found here http://wiki.citizensnpcs.com/DtlTraders/config
All configuration nodes can be found here http://wiki.citizensnpcs.com/DtlTraders/config
<br />
<br />
<br />
== How to start ==
== How to start ==
=== Creating a trader ===
=== Creating a trader ===
To create a trader you can add a trait to an existing npc by using the following command:  
To create a trader you can add a trait to an existing npc by using the following command:  
Line 74: Line 63:
<br />
<br />
'''/trader create ''trader name'' [t:<trader-type>] [w:<wallet-type>] [e:<entity-type>]'''
'''/trader create ''trader name'' [t:<trader-type>] [w:<wallet-type>] [e:<entity-type>]'''
<br />
<br />
if you don't supply any arguments the plugin will default to a server trader type with infinite wallet.
if you don't supply any arguments the plugin will default to a server trader type with infinite wallet.
 
<br />
=== Creating a banker ===
=== Creating a banker ===
Bankers can only be created by using the '''/trader''' command.
Bankers can only be created by using the '''/trader''' command.
Line 83: Line 71:
or
or
'''/trader create ''Name'' t:player-bank'''
'''/trader create ''Name'' t:player-bank'''
 
<br />
 
=== Commands ===
=== Commands ===
A complete list of available commands and their description can be found [http://wiki.citizensnpcs.com/DtlTraders/Commands here].
A complete list of available commands and their description can be found [http://wiki.citizensnpcs.com/DtlTraders/Commands here].
 
<br />
=== Permissions ===
=== Permissions ===
A complete list of permission nodes and their description can be found [http://wiki.citizensnpcs.com/DtlTraders/permissions here].
A complete list of permission nodes and their description can be found [http://wiki.citizensnpcs.com/DtlTraders/permissions here].
 
<br />
=== Types ===
=== Types ===
A list of supported trader types can be found [https://github.com/Dandielo/DtlCitizensTrader/wiki/Trader-Types Trader here].
A list of supported trader types can be found [https://github.com/Dandielo/DtlCitizensTrader/wiki/Trader-Types here].
 
<br />
<br />
<br />
== More information ==
== 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 '''[http://esper.net/publicirc.php esper.net IRC]''' channel [irc://[email protected] #dtlTraders]. You can also e-mail me at [email protected] .
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 '''[http://esper.net/publicirc.php esper.net IRC]''' channel [irc://[email protected] #dtlTraders]. You can also e-mail me at [email protected] .
 
<br />
== Navigation ==
== Navigation ==
{| class="wikitable" style="text-align: center; width: 500px"
{| class="wikitable" style="text-align: center; width: 500px"

Revision as of 10:57, 10 September 2012

File:DltTraders.png

DtlTraders


Author dandielo
Version 1.9 Beta
Citizens build 2.0 dev build #294
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!

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 (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)
  4. 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

Dependencies

  1. Citizens 2.0
  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.

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] .

Navigation

DtlTraders
Usage Managing | Trading | Banking
Configuration Configuration | Commands | Permissions | Locale
Types Traders | Bankers