DtlTraders/Commands: Difference between revisions

From Citizens Wiki
Line 70: Line 70:
</div>
</div>
<div style="display:table-cell;width:210px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<div style="display:table-cell;width:210px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">(trader name) (w:wallet) (e:entity)</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block">(trader name) (w:wallet) (e:entity) (t:type)</code></p>
</div>
</div>
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->

Revision as of 20:13, 21 January 2013

DtlTraders strives to be as much user friendly as possible so there are only a few important commands to remember. Most tasks can be accomplished without their use.

[] - Mandatory
() - Optional

Command - command name
Args - arguments that must or may be parsed
Mode - whether the command requires to be in a certain mode
Description - short description of the command


Trader v2.2.4 Commands

Command

Args

Mode

Description

/trader

no arguments

no mode required

Shows up the currently selected trader, or the plugin version if nothing selected

/trader reload

no arguments

no mode required

Reloads the config and the locale

/trader manage

[trader name]

no mode required

Toggles manager mode for the specified trader

/trader create

(trader name) (w:wallet) (e:entity) (t:type)

no mode required

Creates a trader with the given flags, at the players position

/trader open

no arguments

manager mode

Opens the stock of the managed trader

/trader wallet

(wallet type/name)

manager mode

Shows up the current wallet, or changes it when the argument is given

/trader clear

no arguments

manager mode

Clears the traders stock (pattern items will persist)

/trader owner

(new owner)

manager mode

Shows up the current owner, or changes it when the argument is given

/trader pattern

(remove) set [pattern] save [pattern_name] (all/prices/items) (reset/clear)

manager mode

Shows up the current pattern, or removes it Changes the pattern by the given argument Saves the pattern under the given name, and allows to reset prices for the trader or to clear his entire stock

/trader balance

no arguments

manager mode

Shows up the traders balance, needs NPC wallet

/trader deposit

[amount]

manager mode

Deposit given amount to the trader, needs NPC wallet

/trader withdraw

[amount]

manager mode

Withdraws given amount from the trader, needs NPC wallet


Banker Commands (planned)

Banker commands are not implemented at this time.

Navigation

DtlTraders
Configuration Commands | Permissions
Usage Patterns
Types