DtlTraders/Commands: Difference between revisions

From Citizens Wiki
Line 140: Line 140:
</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">(remove) or (set [pattern])</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block">(remove)</code>
                      <code style="padding: 5px 10px;display:block">set [pattern]</code>
                      <code style="padding: 5px 10px;display:block">save [pattern_name] (all/prices/items) (reset/clear)</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 -->
Line 146: Line 148:
</div>
</div>
<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">Shows up the current pattern, or changes it by the given argument</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block">Shows up the current pattern, or removes it</code>
                      <code style="padding: 5px 10px;display:block">Changes the pattern by the given argument</code>
                      <code style="padding: 5px 10px;display:block">Saves the pattern under the given name, and allows to reset prices for the trader or to clear his entire stock</code></p>
</div>
</div>
</div><!-- /trader balance -->
</div><!-- /trader balance -->
Line 205: Line 209:


-->
-->
!-- Cell -->
/p>


== Banker Commands (planned) ==
== Banker Commands (planned) ==

Revision as of 10:06, 9 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)

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

!-- Cell --> /p>

Banker Commands (planned)

Banker commands are not implemented at this time.

Navigation

DtlTraders
Configuration Commands | Permissions
Usage Patterns
Types