server | Game definition | ||
{ | |||
id | Virtual. Set to server identifier when returning array of servers | ||
(required) | name | Server name | |
host | Game address | Server will be checked only if both fields are set | |
port | Game port | Server will be checked only if both fields are set | |
website | Address of official game site | If website is set, link should be ignored | |
link | Place where to look for general informations about game - forum thread, games listings sites, etc. | If website is set, link should be ignored | |
source | Link to game source | ||
librarian | Internal server ID set by Librarian. used to download and parse server database | ||
irc | IRC channel, on ForestNet network, for given server, must start with "#" | ||
color | Color of server used when drawing charts | Should be respected by all types of charts | |
singleplayer | Boolean. Defines singleplayer-only game | If true, server status will not be checked | |
closed | Boolean. Server is no longer online, or not yet open for public | If true, server status will not be checked | |
} | |||
files | Contains paths to all available data files When property contains string like "{DIR:name}", config parser must replace it with property name in dirs section |
||
{ | |||
? | TODO | ||
} | |||
dirs | Dirs definitions, used when parsing entries from files section | ||
{ | |||
Properties in this section are not supposed to be used directly as they are just a simple replacements, and may change without warning | |||
} |