DtlTraders/config: Difference between revisions

From Citizens Wiki
(WIP - lethe)
(dodane opisy do wszystkiego - lethe)
Line 72: Line 72:
<span style="white-space: pre;color:darkgreen;">
<span style="white-space: pre;color:darkgreen;">
locale:  
locale:  
<span>  file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">english.loc</tt><font color=black> - name of the language file.</font></span>
<span>  file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">english.loc</tt><font color=black> - Name of the language file.</font></span>
<span>  basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - path to the language file.</font></span>
<span>  basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - Path to the language file.</font></span>
</span><br />
</span><br />
'''Note:''' Bankers and traders use the same locale settings.
'''Note:''' Bankers and traders use the same locale settings.
<div style="width:100%;border-top: solid 1px silver"></div>
=== Wand ===
=== Wand ===
<span style="white-space: pre;color:darkgreen;">
<span style="white-space: pre;color:darkgreen;">
Line 82: Line 83:
<span>  settings: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">386</tt><font color=black> - ID of the item used to toggle the display mode of the bank-type traders. <b>Default:</b> Book and Quill.</font></span>
<span>  settings: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">386</tt><font color=black> - ID of the item used to toggle the display mode of the bank-type traders. <b>Default:</b> Book and Quill.</font></span>
</span>
</span>
<div style="width:100%;border-top: solid 1px silver"></div>
=== Trader ===
=== Trader ===
<span style="white-space: pre;color:darkgreen;">
<span style="white-space: pre;color:darkgreen;">
Line 95: Line 97:
<span>    amounts-return: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:14'</tt><font color=black> - ID of the item used to return to the trader's main window from the amount selection menu. <b>Default:</b> Red Wool.</font></span>
<span>    amounts-return: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:14'</tt><font color=black> - ID of the item used to return to the trader's main window from the amount selection menu. <b>Default:</b> Red Wool.</font></span>
</span>
</span>
<div style="width:100%;border-top: solid 1px silver"></div>
=== Banker ===
=== Banker ===
<span style="white-space: pre;color:darkgreen;">
<span style="white-space: pre;color:darkgreen;">
bank:  
bank:  
<span>  max-tabs: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">9</tt><font color=black> - maximum number of tabs the user will be able to use. <b>Default:</b> 9.</font></span>
<span>  max-tabs: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">9</tt><font color=black> - Maximum number of tabs the user will be able to use. <b>Default:</b> 9.</font></span>
<span>  tab-size: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">3</tt><font color=black> - maximum number of rows in each tab. <b>Default:</b> 3. <b>Note:</b> As each row contains 9 cells, the final storage space will contain (tab-size)*9 items. Maximum of 5 rows can be used.</font></span>
<span>  tab-size: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">3</tt><font color=black> - Maximum number of rows in each tab. <b>Default:</b> 3. <b>Note:</b> As each row contains 9 cells, the final storage space will contain (tab-size)*9 items. Maximum of 5 rows can be used.</font></span>
<span>  withdraw-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt><font color=black> - the cost of taking items out of the bank. <b>Default:</b> 0.</font></span>
<span>  withdraw-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt><font color=black> - The cost of taking items out of the bank. <b>Default:</b> 0.</font></span>
<span>  deposit-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt><font color=black> - the cost of putting items into the bank. <b>Default:</b> 0.</font></span>
<span>  deposit-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt><font color=black> - The cost of putting items into the bank. <b>Default:</b> 0.</font></span>
<span>  tab-prices: </span><font color=black> - This section allows you to set the cost of unlocking each tab</font>
<span>  tab-prices: </span><font color=black> - This section allows you to set the cost of unlocking each tab.</font>
<span>    tab1: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt><font color=black> <b>Note:</b> Setting this value higher than 0 will force the player to have at least this much money before beeing able to use the banker.</font></span>
<span>    tab1: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt><font color=black> <b>Note:</b> Setting this value higher than 0 will force the player to have at least this much money before beeing able to use the banker.</font></span>
<span>    tab2: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">100.0</tt></span>
<span>    tab2: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">100.0</tt></span>
Line 113: Line 116:
<span>    tab9: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">50000.0</tt></span>
<span>    tab9: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">50000.0</tt></span>
</span>
</span>
<div style="width:100%;border-top: solid 1px silver"></div>
=== Backend ===
=== Backend ===
<span style="white-space: pre;color:darkgreen;">
<span style="white-space: pre;color:darkgreen;">
<span>  player-accounts:</span>
<span>  player-accounts:</span>
<span>    file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">player_accounts.yml</tt><font color=black> - name of the file containing player account information.</font></span>
<span>    file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">player_accounts.yml</tt><font color=black> - Name of the file containing player account information.</font></span>
<span>    basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - location of the file containing player account information.</font></span>
<span>    basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - Path the file containing player account information.</font></span>
<span>  guild-accounts:</span>
<span>  guild-accounts:</span>
<span>    file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">guild_accounts.yml</tt><font color=black> - name of the file containing guild account information.</font></span>
<span>    file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">guild_accounts.yml</tt><font color=black> - Name of the file containing guild account information.</font></span>
<span>    basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - location of the file containing guild account information.</font></span>
<span>    basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - Path to the file containing guild account information.</font></span>
</span>
<div style="width:100%;border-top: solid 1px silver"></div>
=== Money Bank ===
<span style="white-space: pre;color:darkgreen;">
money-bank:
<span>  exchange-item: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">388</tt><font color=black> - ID of the item used as a currency. <b>Default:</b> Emerald.</font></span>
<span>  item-value: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">10.0</tt><font color=black> - The currency's value. <b>Default:</b> 10.</font></span>
</span>
<div style="width:100%;border-top: solid 1px silver"></div>
=== Logging ===
<span style="white-space: pre;color:darkgreen;">
logging:
<span>  basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">&nbsp;</tt><font color=black> - Path to the log file.</font></span>
</span>
</span>
== Navigation ==
== Navigation ==

Revision as of 13:03, 11 September 2012

This page contains the default configuration file and a brief description of available options.

Note: Any other config nodes appearing in the config are at this moment not used.

Default config (v2.0)

#locale settings locale: file: english.loc basedir:

#wand settings wands: manage: 280 settings: 386

#trader settings trader:

#inventory "navigation" inventory-navigation: sell-tab: '35:5' buy-tab: '35:3' manage-price: '35:15' manage-buy-limit: '35:12' manage-global-limit: '35:11' manage-player-limit: '35:12' return: 35 amounts-return: '35:14'

#banker settings bank:

#account defaults max-tabs: 9 tab-size: 3

#economy defaults withdraw-fee: 0.0 deposit-fee: 0.0

#tab prices tab-prices: tab2: 100.0 tab3: 200.0 tab4: 500.0 tab5: 1000.0 tab6: 2000.0 tab7: 5000.0 tab8: 10000.0 tab9: 50000.0

#backend settings player-accounts: file: player_accounts.yml basedir: guild-accounts: file: guild_accounts.yml basedir:

#default money banker settigns money-bank: exchange-item: 388 item-value: 10.0

#logger settings logging: basedir:

This section is going to be changed for the v2.0 release

Locale

locale: file: english.loc - Name of the language file. basedir:   - Path to the language file.
Note: Bankers and traders use the same locale settings.

Wand

wands: manage: 280 - ID of the item used to toggle the manager-mode. Default: Stick. settings: 386 - ID of the item used to toggle the display mode of the bank-type traders. Default: Book and Quill.

Trader

trader: inventory-navigation: sell-tab: '35:5' - ID of the item used to switch to the sell tab. Default: Lime Wool. buy-tab: '35:3' - ID of the item used to switch to the buy tab. Default: Light Blue Wool. manage-price: '35:15' - ID of the item used to enter the price edit mode. Default: Black Wool. manage-buy-limit: '35:12' - ID of the item used to enter the limit edit mode. Default: Brown Wool. manage-global-limit: '35:11' - ID of the item used to enter the global limit edit mode. Default: Blue Wool. manage-player-limit: '35:12' - ID of the item used to enter the player limit edit mode. Default: Brown Wool. return: 35 - ID of the item used to return to the trader's main window. Default: White Wool. amounts-return: '35:14' - ID of the item used to return to the trader's main window from the amount selection menu. Default: Red Wool.

Banker

bank: max-tabs: 9 - Maximum number of tabs the user will be able to use. Default: 9. tab-size: 3 - Maximum number of rows in each tab. Default: 3. Note: As each row contains 9 cells, the final storage space will contain (tab-size)*9 items. Maximum of 5 rows can be used. withdraw-fee: 0.0 - The cost of taking items out of the bank. Default: 0. deposit-fee: 0.0 - The cost of putting items into the bank. Default: 0. tab-prices: - This section allows you to set the cost of unlocking each tab. tab1: 0.0 Note: Setting this value higher than 0 will force the player to have at least this much money before beeing able to use the banker. tab2: 100.0 tab3: 200.0 tab4: 500.0 tab5: 1000.0 tab6: 2000.0 tab7: 5000.0 tab8: 10000.0 tab9: 50000.0

Backend

player-accounts: file: player_accounts.yml - Name of the file containing player account information. basedir:   - Path the file containing player account information. guild-accounts: file: guild_accounts.yml - Name of the file containing guild account information. basedir:   - Path to the file containing guild account information.

Money Bank

money-bank: exchange-item: 388 - ID of the item used as a currency. Default: Emerald. item-value: 10.0 - The currency's value. Default: 10.

Logging

logging: basedir:   - Path to the log file.

Navigation

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