Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/config/default.cfg
Show First 20 Lines • Show All 398 Lines • ▼ Show 20 Lines | |||||
extended = true ; Whether to display the chat history | extended = true ; Whether to display the chat history | ||||
[lobby] | [lobby] | ||||
history = 0 ; Number of past messages to display on join | history = 0 ; Number of past messages to display on join | ||||
room = "arena23" ; Default MUC room to join | room = "arena23" ; Default MUC room to join | ||||
server = "lobby.wildfiregames.com" ; Address of lobby server | server = "lobby.wildfiregames.com" ; Address of lobby server | ||||
xpartamupp = "wfgbot23" ; Name of the server-side xmpp client that manage games | xpartamupp = "wfgbot23" ; Name of the server-side xmpp client that manage games | ||||
buddies = "," ; Comma separated list of playernames that the current user has marked as buddies | buddies = "," ; Comma separated list of playernames that the current user has marked as buddies | ||||
highlightbuddies = false ; Highlight user and buddies and their games in lobby in highlighted color. | |||||
[lobby.statuscolors.games] | |||||
init = "0 219 0" | |||||
waiting = "255 127 0" | |||||
running = "219 0 0" | |||||
[lobby.statuscolors.games.buddy] | |||||
init = "80 219 219" | |||||
waiting = "255 127 255" | |||||
running = "230 80 230" | |||||
[lobby.statuscolors.players] | |||||
available = "0 219 0" | |||||
away = "229 76 13" | |||||
playing = "200 0 0" | |||||
elexis: What if someone sets a non-color attribute? If we do this kind of thing it should not fall… | |||||
offline = "0 0 0" | |||||
unknown = "178 178 178" | |||||
[lobby.statuscolors.players.buddy] | |||||
available = "80 219 219" | |||||
away = "249 156 249" | |||||
playing = "230 80 230" | |||||
offline = "44 44 88" | |||||
unknown = "89 89 178" | |||||
[lobby.userplayer] | |||||
color = "116 146 241" | |||||
[lobby.columns] | [lobby.columns] | ||||
gamerating = false ; Show the average rating of the participating players in a column of the gamelist | gamerating = false ; Show the average rating of the participating players in a column of the gamelist | ||||
[lobby.stun] | [lobby.stun] | ||||
enabled = true ; The STUN protocol allows hosting games without configuring the firewall and router. | enabled = true ; The STUN protocol allows hosting games without configuring the firewall and router. | ||||
; If STUN is disabled, the game relies on direct connection, UPnP and port forwarding. | ; If STUN is disabled, the game relies on direct connection, UPnP and port forwarding. | ||||
server = "lobby.wildfiregames.com" ; Address of the STUN server. | server = "lobby.wildfiregames.com" ; Address of the STUN server. | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
What if someone sets a non-color attribute? If we do this kind of thing it should not fall apart. Then we need a default color in JS again. Plus code to test if a color is valid. Complexity..