DtlTraders/config: Difference between revisions
(dodane opisy do wszystkiego - lethe) |
|||
Line 16: | Line 16: | ||
<span style="color:red">#trader settings</span> | <span style="color:red">#trader settings</span> | ||
trader: | trader: | ||
<span style="color:red">#trader patterns settings</span> | |||
<span> patterns:</span> | |||
<span> file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'patterns.yml'</tt></span> | |||
<span> default: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px"></tt></span> | |||
<span style="color:red">#inventory "navigation"</span> | <span style="color:red">#inventory "navigation"</span> | ||
Line 87: | Line 92: | ||
<span style="white-space: pre;color:darkgreen;"> | <span style="white-space: pre;color:darkgreen;"> | ||
trader: | trader: | ||
<span> patterns:</span> | |||
<span> file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'patterns.yml'</tt><font color=black> - the file name used to store patterns</font></span> | |||
<span> default: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px"></tt><font color=black>default pattern applied to each <b>server trader</b> automatically</font></span> | |||
<span> inventory-navigation: </span> | <span> inventory-navigation: </span> | ||
<span> sell-tab: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:5'</tt><font color=black> - ID of the item used to switch to the sell tab. <b>Default:</b> Lime Wool.</font></span> | <span> sell-tab: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:5'</tt><font color=black> - ID of the item used to switch to the sell tab. <b>Default:</b> Lime Wool.</font></span> | ||
Line 139: | Line 147: | ||
<span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px"> </tt><font color=black> - Path to the log file.</font></span> | <span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px"> </tt><font color=black> - Path to the log file.</font></span> | ||
</span> | </span> | ||
/span> | |||
== Navigation == | == Navigation == | ||
{| class="wikitable" style="text-align: center; width: 500px" | {| class="wikitable" style="text-align: center; width: 500px" |
Revision as of 16:59, 12 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:
#trader patterns settings patterns: file: 'patterns.yml' default:
#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: patterns: file: 'patterns.yml' - the file name used to store patterns default: default pattern applied to each server trader automatically 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. /span>
DtlTraders | |
---|---|
Usage | Managing | Trading | Banking |
Configuration | Configuration | Commands | Permissions | Locale |
Types | Traders | Bankers |