Skip to content

Instantly share code, notes, and snippets.

@miles200
Created April 15, 2018 18:35
Show Gist options
  • Save miles200/50cca9ab03a44df05ca714a7d6219062 to your computer and use it in GitHub Desktop.
Save miles200/50cca9ab03a44df05ca714a7d6219062 to your computer and use it in GitHub Desktop.
Settings.cfg 150418
##############################################################
# SEGS configuration file.
#
# listen_addr values below should contain the IP the
# clients will connect to.
#
# location_addr values below should contain the IP the
# clients will receive data from.
#
# Both values are set to 127.0.0.1 by default but should
# be set to your local IP address on the network
# for example: 10.0.0.2
#
# Default ports are listed below:
# AccountDatabase db_port: 5432
# CharacterDatabase db_port: 5432
# AuthServer location_addr: 2106
# GameServer listen_addr: 7002
# GameServer location_addr: 7002
# MapServer listen_addr: 7003
# MapServer location_addr: 7003
#
##############################################################
[AdminServer]
AccountDatabase\db_driver = QSQLITE
AccountDatabase\db_host = 127.0.0.1
AccountDatabase\db_port = 5432
AccountDatabase\db_name = segs
AccountDatabase\db_user = segsadmin
AccountDatabase\db_pass = segs123
CharacterDatabase\db_driver = QSQLITE
CharacterDatabase\db_host = 127.0.0.1
CharacterDatabase\db_port = 5432
CharacterDatabase\db_name = segs_game
CharacterDatabase\db_user = segsadmin
CharacterDatabase\db_pass = segs123
[AuthServer]
location_addr = 192.168.1.42:2106
[GameServer]
server_name = first server
listen_addr = 192.168.1.42:7002
location_addr = 192.168.1.42:7002
max_players = 200
max_character_slots = 8
[MapServer]
listen_addr = 192.168.1.42:7003
location_addr = 192.168.1.42:7003
[Logging]
log_generic = *.debug=true\nqt.*.debug=false
log_logging = false
log_keybinds = false
log_settings = false
log_gui = false
log_teams = false
log_db = false
log_input = false
log_orientation = false
log_chat = false
log_infomsg = false
log_emotes = true
log_target = false
log_spawn = false
log_mapevents = true
log_slashcommand = true
log_description = false
log_friends = false
log_minimap = false
log_lfg = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment