# Welcome to the example configuration file! # Remember that if this is in bin/Content.Server or such, it may be overwritten on build. # Consider copying it and using the --config-file and --data-dir options. [log] path = "logs" format = "log_%(date)s-%(time)s.txt" level = 1 enabled = false [net] tickrate = 60 port = 1212 bindto = "::,0.0.0.0" max_connections = 256 # Automatic port forwarding! # Disabled by default because you may not want to do this. # upnp = true [status] # The status server is the TCP side, used by the launcher to determine engine version, etc. # To be clear: Disabling it makes the launcher unable to connect! enabled = true # This is the address and port the status server binds to. # The port is by default set based on net.port so it will follow what you set there. bind = "*:1212" # This is the address of the SS14 server as the launcher uses it. # This is only needed if you're proxying the status HTTP server - # by default the launcher will assume the address and port match that of the status server. # connectaddress = "udp://localhost:1212" [watchdog] # Token must match ApiToken in appsettings.yml token = "foobar" # Key must match the instance key in appsettings.yml key = "wylab" # BaseUrl must match BaseUrl in appsettings.yml baseUrl = "http://localhost:8080/" [game] hostname = "MyServer" lobbyenabled = true # Lobby wait in seconds before round start (default 150s) lobbyduration = 180 defaultpreset = "secret" fallbackpreset = "Traitor,Extended" fallbackenabled = true # Use built-in rotation list; edit this when you add custom pools. map_pool = "DefaultMapPool" map_rotation = true # How many past rounds are remembered when picking the next map. map_memory_depth = 8 [console] # If this is true, people connecting from this machine (loopback) # will automatically be elevated to full admin privileges. # This literally works by checking if address == 127.0.0.1 || address == ::1 loginlocal = true [hub] # Set to true to show this server on the public server list # Before enabling this, read: https://docs.spacestation14.io/hosts/hub-rules advertise = false # Comma-separated list of tags, useful for categorizing your server. # See https://docs.spacestation14.io/hosts/hub-rules for more details on this when it becomes relevant. tags = "" # URL of your server. Fill this in if you have a domain name, # want to use HTTPS (with a reverse proxy), or other advanced scenarios. # Must be in the form of an ss14:// or ss14s:// URI pointing to the status API. server_url = "" # Comma-separated list of URLs of hub servers to advertise to. hub_urls = "https://central.spacestation14.io/hub/" [build] # Watchdog automatically provides build info from CDN manifest # These are only used as fallback if watchdog doesn't provide them [database] # Database engine: sqlite or postgres engine = "postgres" # PostgreSQL connection settings pg_host = "192.168.1.50" pg_port = 5432 pg_database = "ss14" pg_username = "ss14" pg_password = "hyphar-cAqtu6-wyzfet" [auth] # Authentication (accounts): # 0 = Optional, 1 = Required, 2 = Disabled # Presumably do require authentication on any public server. # mode = 0 # If true, even if authentication is required, localhost is still allowed to login directly regardless. # allowlocal = true # You should probably never EVER need to touch this, but if you need a custom auth server, # (the auth server being the one which manages Space Station 14 accounts), you change it here. # server = https://central.spacestation14.io/auth/