DtlTraders/config: Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
<div style="border: solid 1px black;padding:10px;padding-top:0px"><span style="white-space: pre;color:darkgreen;"> | <div style="border: solid 1px black;padding:10px;padding-top:0px"><span style="white-space: pre;color:darkgreen;"> | ||
<span style="color:red">#locale settings</span> | |||
locale: | locale: | ||
<span> file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">english.loc</tt></span> | <span> file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">english.loc</tt></span> | ||
<span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">''</tt></span> | |||
<span style="color:red">#wand settings</span> | |||
wands: | wands: | ||
<span> manage: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">280</tt></span> | <span> manage: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">280</tt></span> | ||
<span> settings: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">386</tt></span> | <span> settings: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">386</tt></span> | ||
<span style="color:red">#trader settings</span> | |||
trader: | trader: | ||
<span style="color:red">#inventory "navigation"</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></span> | <span> sell-tab: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:5'</tt></span> | ||
Line 19: | Line 27: | ||
<span> return: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">35</tt></span> | <span> return: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">35</tt></span> | ||
<span> amounts-return: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:14'</tt></span> | <span> amounts-return: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">'35:14'</tt></span> | ||
<span style="color:red">#banker settings</span> | |||
bank: | bank: | ||
<span style="color:red">#account defaults</span> | |||
<span> max-tabs: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">9</tt></span> | |||
<span> tab-size: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">3</tt></span> | <span> tab-size: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">3</tt></span> | ||
<span style="color:red">#economy defaults</span> | |||
<span> withdraw-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt></span> | <span> withdraw-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt></span> | ||
<span> deposit-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt></span> | <span> deposit-fee: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">0.0</tt></span> | ||
<span | |||
<span style="color:red">#tab prices</span> | |||
<span> tab-prices: </span> | <span> tab-prices: </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 33: | Line 49: | ||
<span> tab8: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">10000.0</tt></span> | <span> tab8: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">10000.0</tt></span> | ||
<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 style="color:red">#backend settings</span> | |||
<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></span> | <span> file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">player_accounts.yml</tt></span> | ||
<span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">''</tt></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></span> | <span> file: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">guild_accounts.yml</tt></span> | ||
<span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">''</tt></span> | |||
<span style="color:red">#default money banker settigns</span> | |||
money-bank: | money-bank: | ||
<span> exchange-item: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">388</tt></span> | <span> exchange-item: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">388</tt></span> | ||
<span> item-value: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">10.0</tt></span> | <span> item-value: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">10.0</tt></span> | ||
<span style="color:red">#logger settings</span> | |||
logging: | logging: | ||
<span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">''</tt></span> | <span> basedir: <tt style="color:black;background-color: #F8F8E0;border: solid 1px black;padding:0px 1px">''</tt></span> | ||
</span></div> | </span></div> | ||
<p style="font-size:20px;color:red">This section is going to be changed for the v2.0 release</p> | <p style="font-size:20px;color:red">This section is going to be changed for the v2.0 release</p> | ||
Line 163: | Line 186: | ||
| 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]--> | | 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]--> | ||
|} | |} | ||
/span> |
Revision as of 11: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 configuration (same for bankers and traders)
This will be moved out of the trader
section.
changes the file name and path for the locale file.
trader.locale.file: locale.eng trader.locale.path
Trader configuration
Configuration used by player, server and enchant traders.
Wand item
manager-mode-toggle: 280
Config node will be renamed to manager-wand and moved out of the trader
section.
Allows to change the item that is used to toggle the manager-mode. Manager-mode allows you to edit offered goods or in the case of the player banker change the appearence of the inventory tabs.
Default: _**stick**_
sell-tab: '35:5' buy-tab: '35:3'
Defines the items used to switch between the sell and buy tabs, in both trader modes. Default: different _**wool colors**_.
manage-price: '35:15'
Defines the item used to toggle on the price management.
manage-buy-limit: '35:12'
Defines the item used to toggle the buy limit management. (player trader)
manage-global-limit: '35:11 manage-player-limit: '35:12
Defines the items used to toggle global and player limits. (server trader).
Chang
return: 35
Defines the item used to go back from specific management to the stock management. Like from price management to the general trader window.
amounts-return: '35:14'
Defines the item used to return from amount selection window.
Banker configuration
Configuration used by player and guild banks.
Tab size
bank.tab-size: 3
Allows to change the "inventory size" of the bank tab. Accepted values start at 1 and go up to 5.
Available tabs
default-max-tabs: 9
Defines how many tabs a user may buy. This is a global setting, so you can change this amount for each player in the player_accounts.yml file. Commands will be added in future.
Fees
default-withdraw-fee: 0.0 default-deposit-fee: 0.0
You can set fees for withdrawing or depositing items in a bank tab.
Tab prices
tab-prices: tab1: 0.0 tab2: 100.0 tab3: 200.0 tab4: 500.0 tab5: 1000.0 tab6: 2000.0 tab7: 5000.0 tab8: 10000.0 tab9: 50000.0
Allows to set prices tu unlock each tab in the player banker. Setting any amount other than 0 under tab1 requires a player to have this much money before opening an account.
Bank accounts files
player-accounts: file: player_accounts.yml path: '' guild-accounts: file: guild_accounts.yml path: ''
Player's accounts will be saved in player_accounts.yml file by default, guilds/factions/etc. accounts in the guild_accounts.yml file. You can change the file names and path for both of these files.
Money bankers
money-bank: exchange-item: 388 item-value: 10.0
Defines the item and it's value when using the money-bank type trader to convert between money and items.
DtlTraders | |
---|---|
Usage | Managing | Trading | Banking |
Configuration | Configuration | Commands | Permissions | Locale |
Types | Traders | Bankers |
/span>