DtlTraders/Commands: Difference between revisions

From Citizens Wiki
Line 35: Line 35:
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<p style="margin:0px;padding:2px 10px"><code style="margin:0px;display:block">Shows up the currently selected trader, or the plugin version if nothing selected</code></p>
<p style="margin:0px;padding:2px 10px"><code style="margin:0px;display:block">Shows up the currently selected trader, or the plugin version if nothing selected</code></p>
</div>
</div><!-- /trader reload -->
<div style="display:table;width:100%">
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">/trader reload</code></p>
</div>
<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">no arguments</code></p>
</div>
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block;color:green">no mode required</code></p>
</div>
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">Reloads the config and the locale</code></p>
</div>
</div><!-- /trader manage -->
<div style="display:table;width:100%">
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">/trader manage</code></p>
</div>
<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]</code></p>
</div>
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block;color:green">no mode required</code></p>
</div>
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">Toggles manager mode for the specified trader</code></p>
</div>
</div>
</div><!-- /trader create -->
</div><!-- /trader create -->
Line 49: Line 77:
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">Creates a trader with the given flags, at the players position</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block">Creates a trader with the given flags, at the players position</code></p>
</div>
</div><!-- /trader open -->
<div style="display:table;width:100%">
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">/trader open</code></p>
</div>
<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">no arguments</code></p>
</div>
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block;color:red">manager mode</code></p>
</div>
<div style="display:table-cell;width:380px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">Opens the stock of the managed trader</code></p>
</div>
</div>
</div><!-- /trader wallet -->
</div><!-- /trader wallet -->
Line 112: Line 154:
</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"></code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block">no arguments</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:29, 26 December 2012

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)

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) or (set [pattern])

manager mode

Shows up the current pattern, or changes it by the given argument

/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
Types