Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

EconomyNpc types

Dandielo edited this page Sep 8, 2012 · 2 revisions

DtlTraders uses three kind of types:

  1. Traders
  2. Bankers
  3. Auction house (later in future)

Traders

So far there are two trader types available. Both got the same transaction mode but little different manager-modes. Server traders are a kind of a Admin shop, so they are obvious. Player traders are designed for players, so they can sell their items for their prices and amounts.

Each trader has also got an additional wallet setting, allowing a player to set where the money should be deposited to and withdrawn from. More about wallets here

Manager-mode

The manager-mode is the core interface to add/remove/edit items in the traders inventory. (In future I will try to add item and price patterns).

Within this mode you can set an items slot, price, limit and multiple amounts. You can also change using this mode the trader type, used wallet and owner (don't set it for a regular player). This mode is required to manage the npc-wallet, allowing to deposit/withdrawn money.

Server trader

A server trader has got a big variety of features allowing to customize the transaction with a player.

A ST is created by default by the /trader create command, so you just need to put the name. It will also use the Infinite wallet.

ST may also use all four wallets.

Full description and usage

Player trader

A player trader is very similar to his more powerful brother. He mainly didn't got the ability to set limits, and has a different manager-mode setup. Also he can't use the infinite-wallet.

A PT can be created by the /trader create command with a t:player argument. It will use then the npc-wallet as default. You can also supply the o:player_name argument, to set the traders owner. (inc. in version 1.9.1)

Full description and usage

Bankers (In construction)