DtlTraders/Commands: Difference between revisions
Line 77: | 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">Clears the traders stock (pattern items will persist)</code></p> | <p style="margin:0px"><code style="padding: 5px 10px;display:block">Clears the traders stock (pattern items will persist)</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">(new owner)</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, or changes it when the argument is given</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">(remove) or (set [pattern])</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 pattern, or changes it by the given argument</code></p> | |||
</div> | |||
</div><!-- /trader balance --> | |||
<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 balance</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"></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 traders balance, needs NPC wallet</code></p> | |||
</div> | |||
</div><!-- /trader deposit --> | |||
<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 deposit</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">[amount]</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">Deposit given amount to the trader, needs NPC wallet</code></p> | |||
</div> | |||
</div><!-- /trader withdraw --> | |||
<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 withdraw</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">[amount]</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">Withdraws given amount from the trader, needs NPC wallet</code></p> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 83: | Line 153: | ||
<!-- | <!-- | ||
|- | |- | ||
| /trader list || [stock] - the given stock to display (buy/sell) <br /> (page) - page number || Yes || Yes || Manager || dtl.trader.commands.list<br />dtl.trader.options.<stock> || Lists items the trader is selling ''(formating available in the locale file)'' | | /trader list || [stock] - the given stock to display (buy/sell) <br /> (page) - page number || Yes || Yes || Manager || dtl.trader.commands.list<br />dtl.trader.options.<stock> || Lists items the trader is selling ''(formating available in the locale file)'' | ||
|- | |- | ||
| /trader type || (type) - trader type || Yes || Yes || Manager || dtl.trader.commands.type<br />dtl.trader.types.<type> ''(when changing)'' || Shows up the current trader type (only for player or server traders), or changes the type by the supplied argument | | /trader type || (type) - trader type || Yes || Yes || Manager || dtl.trader.commands.type<br />dtl.trader.types.<type> ''(when changing)'' || Shows up the current trader type (only for player or server traders), or changes the type by the supplied argument | ||
|- | |- | ||
| /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 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 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. | ||
--> | --> | ||
Revision as of 20:15, 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.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
(trader name) (w:wallet) (e:entity)
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
/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
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.
DtlTraders | |
---|---|
Configuration | Commands | Permissions |
Usage | |
Types |