DtlTraders/Commands: Difference between revisions

From Citizens Wiki
Line 34: Line 34:
</div>
</div>
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<p style="margin:0px;padding:2px 10px"><code style="margin:0px;display:block">no mode required</code></p>
<p style="margin:0px;padding:2px 10px"><code style="margin:0px;display:block;color:green">no mode required</code></p>
</div>
</div>
<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 -->
Line 48: Line 48:
</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 -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">no mode required</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block;color:green">no mode required</code></p>
</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 -->
Line 59: Line 59:
</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">[wallet type/name]</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block">(wallet type/name)</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 -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">manager mode</code></p>
<p style="margin:0px"><code style="padding: 5px 10px;display:block;color:red">manager mode</code></p>
</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 -->
Line 108: Line 108:
|}
|}
-->
-->
br />With no arguments it will show the current pattern || Yes || Yes || Manager || dtl.trader.commands.pattern (no pattern specific settings now) || Sets the pattern the trader will use
|-
| /trader log  || (trader name) - traders name ''(allows whitespace characters)'' || No || Yes || Manager || dtl.trader.commands.log || Shows all transactions the trader has performed. Shows the ''Buyer/Seller'', the ''item'' he has bought/sold and the ''amount'. When no trader is selected it lists all transactions of each trader owned, when supplying a name only this traders log will be showed.
|-
| /trader clearlog  || (trader name) - traders name ''(allows whitespace characters)'' || No || Yes || Manager || dtl.trader.commands.clearlog || Clears the selected traders log. If not traders is selected it clears all traders logs until you specify a name.
|-
| /trader balance  || None || Yes || Yes || Manager || dtl.trader.commands.balance || Shows up the balance of the selected trader.


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

Revision as of 02:12, 24 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's syntax
Args Description - description of the command's arguments
Require Selected - whether the command requires an trader or banker to be selected
Require Ownership - whether the commands requires you to be the owner of the trader
Required Mode - whether the command requires to be in a certain mode
Permission - command's permission node
Description - short description of the command


Trader v2.2.2 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 create

updating...

no mode required

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

/trader wallet

(wallet type/name)

manager mode

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

br />With no arguments it will show the current pattern || Yes || Yes || Manager || dtl.trader.commands.pattern (no pattern specific settings now) || Sets the pattern the trader will use |- | /trader log || (trader name) - traders name (allows whitespace characters) || No || Yes || Manager || dtl.trader.commands.log || Shows all transactions the trader has performed. Shows the Buyer/Seller, the item he has bought/sold and the amount'. When no trader is selected it lists all transactions of each trader owned, when supplying a name only this traders log will be showed. |- | /trader clearlog || (trader name) - traders name (allows whitespace characters) || No || Yes || Manager || dtl.trader.commands.clearlog || Clears the selected traders log. If not traders is selected it clears all traders logs until you specify a name. |- | /trader balance || None || Yes || Yes || Manager || dtl.trader.commands.balance || Shows up the balance of the selected trader.

Banker Commands (planned)

Banker commands are not implemented at this time.

Navigation

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