ss13_se/config.toml
A. Svensson d2af505b0c Add TOML config and clean up startup.
- Removed servers.json and it's config code.
- Load the new config.toml, using TOML instead of JSON.
- Moved most of the cli flags to the config file.
- Simplified creation of a new server instance (using New()).
- Goroutine running updates was moved inside the lib.
2016-06-19 15:31:38 +02:00

28 lines
558 B
TOML

databasepath = "ss13.db"
listenaddr = ":8000"
updateevery = 15 # minutes
updatetimeout = 30 # seconds
[[servers]]
title = "Baystation12"
gameurl = "baystation12.net:8000"
siteurl = "http://baystation12.net/"
[[servers]]
title = "Apollo Station"
gameurl = "192.95.55.67:3333"
siteurl = "https://apollo-community.org/"
[[servers]]
title = "tgstation13 - Sybil"
gameurl = "game.tgstation13.org:1337"
siteurl = "https://tgstation13.org/"
[[servers]]
title = "tgstation13 - Bagil"
gameurl = "game.tgstation13.org:2337"
siteurl = "https://tgstation13.org/"