DtlTraders/Commands: Difference between revisions

From Citizens Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:




== Trader v2.5.0 - General commands ==  
== Commands ==  


<div style="width:100%;vertical-align:top">
<div style="width:100%;vertical-align:top">
Line 40: Line 40:
</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 help -->
<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 help</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">basic help command, displays all available commands</code></p>
</div>
</div>
<!-- /trader help --all (page) -->
<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 help --all</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">(page)</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">advanced help command, displays all available commands and additional information about them</code></p>
</div>
</div>
<!-- /banker -->
<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;padding:2px 10px"><code style="margin:0px;display:block">/banker </code></p>
</div>
<div style="display:table-cell;width:210px;background-color: #F9F9F9;border-top:dashed 1px red"><!-- Cell -->
<p style="margin:0px;padding:2px 10px"><code style="margin:0px;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;padding:2px 10px"><code style="margin:0px;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;padding:2px 10px"><code style="margin:0px;display:block">shows info about the current selected banker or just the plugin version</code></p>
</div>
</div>
<!-- /banker 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">/banker 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>
<!-- /banker help -->
<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">/banker help</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">basic help command, displays all available commands</code></p>
</div>
</div>
</div>
== Trader v2.5.0 - Trader Commands <span style="color:red">Under construction!</span> ==
<div style="width:100%;vertical-align:top">
<div style="display:table;width:100%">
<div style="display:table-cell;width:160px;border-right:solid 1px black"><p style="margin:0px;padding:2px 10px;"><b>Command</b></p>
</div>
<div style="display:table-cell;width:210px;border-right:solid 1px"><p style="margin:0px;padding:2px 10px;"><b>Args</b></p>
</div>
<div style="display:table-cell;width:160px;border-right:solid 1px black"><p style="margin:0px;padding:2px 10px;"><b>Mode</b></p>
</div>
<div style="display:table-cell;width:380px;"><p style="margin:0px;padding:2px 10px;"><b>Description</b></p>
</div>
</div>


<!-- /trader create -->
<div style="display:table;width:100%">
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">/trader create</code></p>
</div>
<div style="display:table-cell;width:210px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<p style="margin:0px"><code style="padding: 5px 10px;display:block">(trader name) (w:wallet) (e:entity) (t:type)</code></p>
</div>
<div style="display:table-cell;width:160px;background-color: #F9F9F9;border-top:solid 1px"><!-- Cell -->
<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:solid 1px"><!-- 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>
</div>
</div>
<!-- /trader hire-->
<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 hire</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) (w:wallet)</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">creates a trader with the given name, at the players position. This commands checks "Trader limits", so how many traders a player can have</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, or if no name was supplied disables the current management mode</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>
<!-- /trader owner -->
<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 owner</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>
                      <code style="padding: 5px 10px;display:block">set [player]</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">shows up the current owner</code>
                      <code style="padding: 5px 10px;display:block">sets the new traders owner (not NPC owner!)</code></p>
</div>
</div>
<!-- /trader pattern -->
<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 pattern</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>
                      <code style="padding: 5px 10px;display:block">add [pattern] (priority)</code>
                      <code style="padding: 5px 10px;display:block">remove [pattern]</code>
                      <code style="padding: 5px 10px;display:block">save [pattern] (all/prices/items) (reset/clear)</code>
                      <code style="padding: 5px 10px;display:block">reload</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>
                      <code style="padding: 5px 10px;height:19px;display:block;color:red"> </code>
                      <code style="padding: 5px 10px;height:19px;display:block;color:red"> </code>
                      <code style="padding: 5px 10px;height:38px;display:block;color:red"> </code>
                      <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">shows up the all assigned patterns</code>
                      <code style="padding: 5px 10px;display:block">adds a new pattern with the given priority</code>
                      <code style="padding: 5px 10px;display:block">removes the given pattern from the trader</code>
                      <code style="padding: 5px 10px;display:block">saves the traders stock the given name as a pattern, and allows to reset prices for the trader or to clear his entire stock</code>
                      <code style="padding: 5px 10px;display:block">reloads all patterns</code></p>
</div>
</div>
<!-- /trader wallet -->
<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 wallet</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>
                      <code style="padding: 5px 10px;display:block">set [wallet]</code>
                      <code style="padding: 5px 10px;display:block">withdraw [amount]</code>
                      <code style="padding: 5px 10px;display:block">deposit [amount]</code>
                      <code style="padding: 5px 10px;display:block">balance</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">shows the current wallet type</code>
                      <code style="padding: 5px 10px;display:block">changes the wallet type</code>
                      <code style="padding: 5px 10px;display:block">withdraws money from a traders wallet (NPC wallet only)</code>
                      <code style="padding: 5px 10px;display:block">deposits money to a traders wallet (NPC wallet only)</code>
                      <code style="padding: 5px 10px;display:block">shows the current balance (NPC wallet only)</code></p>
</div>
</div>
</div>
== Banker Commands (planned) ==
Banker commands are not implemented at this time.
== Navigation ==
{| class="wikitable" style="text-align: center; width: 500px"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="2" | '''DtlTraders'''
|-
| Configuration || | <!--[http://wiki.citizensnpcs.com/DtlTraders/config Configuration] |--> [http://wiki.citizensnpcs.com/DtlTraders/Commands Commands] | [http://wiki.citizensnpcs.com/DtlTraders/permissions Permissions] | [http://wiki.citizensnpcs.com/DtlTraders/locale Locale]
|-
| Usage || |<!-- [http://wiki.citizensnpcs.com/DtlTraders/managing Managing] | [http://wiki.citizensnpcs.com/DtlTraders/trading Trading] | [http://wiki.citizensnpcs.com/DtlTraders/banking Banking] | --> [http://wiki.citizensnpcs.com/DtlTraders/patterns Patterns]
|-
| Types || | <!-- [http://wiki.citizensnpcs.com/DtlTraders/traders Traders] | [http://wiki.citizensnpcs.com/DtlTraders/bankers Bankers] | [http://wiki.citizensnpcs.com/DtlTraders/auctionhouse Auction House] | [http://wiki.citizensnpcs.com/DtlTraders/wallets Wallets]-->
|}

Latest revision as of 01:41, 31 October 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


Commands

Command

Args

Mode

Description

/trader

no arguments

no mode required

shows info about the current selected trader or just the plugin version