1
0

production.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # Welcome to the example configuration file!
  2. # Remember that if this is in bin/Content.Server or such, it may be overwritten on build.
  3. # Consider copying it and using the --config-file and --data-dir options.
  4. [log]
  5. path = "logs"
  6. format = "log_%(date)s-%(time)s.txt"
  7. level = 1
  8. enabled = true
  9. [net]
  10. tickrate = 20
  11. port = 1212
  12. bindto = "::,0.0.0.0"
  13. max_connections = 256
  14. [status]
  15. enabled = true
  16. [game]
  17. hostname = "Civilization 14 (UN)"
  18. lobbyenabled = true
  19. desc = "An unofficial Civilization 14 server"
  20. maxplayers = 256
  21. lobbyduration = 60
  22. disallowlatejoins = false
  23. defaultpreset = "extended"
  24. [console]
  25. loginlocal = true
  26. login_host_user = ""
  27. [hub]
  28. # Set to true to show this server on the public server list
  29. # Before enabling this, read: https://docs.spacestation14.io/hosts/hub-rules
  30. advertise = true
  31. # Comma-separated list of tags, useful for categorizing your server.
  32. # See https://docs.spacestation14.io/hosts/hub-rules for more details on this when it becomes relevant.
  33. tags = "region:eu_w,rp:med"
  34. # URL of your server. Fill this in if you have a domain name,
  35. # want to use HTTPS (with a reverse proxy), or other advanced scenarios.
  36. # Must be in the form of an ss14:// or ss14s:// URI pointing to the status API.
  37. server_url = "ss14://civ13.com:1212"
  38. # Comma-separated list of URLs of hub servers to advertise to.
  39. hub_urls = "https://hub.spacestation14.com/"
  40. [auth]
  41. # Authentication (accounts):
  42. # 0 = Optional, 1 = Required, 2 = Disabled
  43. # Presumably do require authentication on any public server.
  44. mode = 0
  45. # If true, even if authentication is required, localhost is still allowed to login directly regardless.
  46. allowlocal = true
  47. [database]
  48. # Database type to use. Can be "sqlite" or "postgres" currently.
  49. engine = "sqlite"
  50. # Path to store the database at when using SQLite. Note that is NOT a disk path.
  51. # This is relative to the server data directory, which is specified by --data-dir when starting the server from the command (or automatically set by SS14.Watchdog)
  52. sqlite_dbpath = "preferences.db"
  53. # PostgreSQL database configuration, should be self explanatory.
  54. pg_host = "localhost"
  55. pg_port = 5432
  56. pg_database = "ss14"
  57. pg_username = ""
  58. pg_password = ""
  59. [infolinks]
  60. discord = "https://discord.gg/hBEtg4x"
  61. website = "https://civ13.com"
  62. github = "https://github.com/Civ13/Civ14"
  63. wiki = "https://civ13.github.io/Civ14"
  64. [server]
  65. lobby_right_panel_width = 300