Advertisement
Guest User

Untitled

a guest
Jun 20th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.35 KB | None | 0 0
  1. ################################################################################
  2. #
  3. # Assetto Server Manager Configuration
  4. # https://github.com/JustaPenguin/assetto-server-manager
  5. #
  6. # Thanks for using server manager!
  7. #
  8. #
  9. # note that changes to this file require a restart of server manager to work! :)
  10. #
  11. #
  12. # The below file is in YAML configuration format. Spacing is important within
  13. # YAML, and can cause server manager not to launch correctly. You can validate
  14. # this file online at: http://www.yamllint.com/
  15. #
  16. ################################################################################
  17.  
  18. ################################################################################
  19. #
  20. # steam settings - server manager can install the assetto corsa
  21. # server for you using steamcmd (if you'd like)
  22. #
  23. ################################################################################
  24. steam:
  25. # steam username and password. we recommend creating a separate account with
  26. # steamguard disabled to use this application. Assetto Corsa Server is FREE
  27. # so you don't need to worry about purchasing it again.
  28. #
  29. # server manager uses this information ONLY to install the
  30. # assetto corsa server.
  31. #
  32. # however, if you do not wish to provide server manager with this information,
  33. # leave it blank and install assetto corsa server to the path you specified in
  34. # install_path (default: 'assetto')
  35. username: my_steam_username
  36. password: my_steam_password
  37.  
  38. # where to install assetto corsa server
  39. install_path: /home/assetto/server-manager/assetto
  40.  
  41. # the path to the executable to run. relative to the install_path by default
  42. executable_path: acServer
  43.  
  44. # set this to true to force an install every time the server manager is loaded
  45. force_update: false
  46.  
  47. ################################################################################
  48. #
  49. # http settings
  50. #
  51. ################################################################################
  52. http:
  53. # hostname is the hostname the HTTP server should listen on.
  54. # change '0.0.0.0' to 'localhost' if you don't want server manager to be
  55. # available on the web.
  56. hostname: 0.0.0.0:8772
  57.  
  58. # session key is used to encrypt the http session
  59. session_key: RANDOMLY_GENERATE_THIS
  60.  
  61. # server manager base URL is the URL that the server manager is accessible on
  62. # used for ACSR integration and links in championship welcome message in game
  63. # you can leave this blank if not required
  64. # example: https://opengt3.assettocorsaservers.com <-- requires https:// or
  65. # http://, no closing / at the end
  66. server_manager_base_URL:
  67.  
  68. # session store type can be one of: 'cookie' or 'filesystem'
  69. # if it is 'filesystem', you must set the session_store_path below.
  70. # cookie is best for most users, but if you are running multiple Server
  71. # Manager instances on the same IP address, you should use filesystem.
  72. session_store_type: cookie
  73.  
  74. # session store path is where to save the session store
  75. # (if using 'filesystem' above)
  76. session_store_path: ""
  77.  
  78. tls:
  79. # TLS configuration. Server Manager supports TLS v1.2 upwards. As of 12/03/2020,
  80. # the Server Manager configuration yields a perfect score from SSL Labs.
  81. # If you enable this, you likely want the hostname (above) to listen on port 443.
  82. enabled: false
  83. # the path to the SSL certificate file.
  84. cert_path: ""
  85. # the path to the SSL key file.
  86. key_path: ""
  87.  
  88. ################################################################################
  89. #
  90. # monitoring - enabling monitoring allows us to find out more information
  91. # about how you're using Server Manager, as well as seeing any issues that may
  92. # occur so we can collect and fix them. We understand that you may not wish
  93. # for us to do any monitoring, so you can disable it by setting 'enabled'
  94. # to false
  95. #
  96. ################################################################################
  97. # with monitoring enabled, the following systems are in place:
  98. #
  99. # 1. Sentry (https://sentry.io) monitoring of both Server Manager's backend
  100. # code and frontend javascript. This lets us see application errors when
  101. # they occur.
  102. #
  103. # 2. Google Analytics (https://analytics.google.com) tracking so we can see how
  104. # many people use Server Manager, when they use it and where they are in
  105. # the world.
  106. #
  107. # 3. Prometheus Monitoring - this provides more technical debugging in terms of
  108. # memory and CPU usage, etc. This is *NOT* sent to us. We have added this in
  109. # so that anybody who wants to monitor Server Manager for themselves can do
  110. # so with Prometheus. We use it internally at assettocorsaservers.com to
  111. # track our Server installs to help us improve our service.
  112. #
  113. # you can access the prometheus endpoint at:
  114. # <your servermanager domain>/metrics
  115. #
  116. #
  117. # once again, if you do not wish for Server Manager to do these things, simply
  118. # set 'enabled' to false and monitoring will not take place.
  119. ################################################################################
  120. monitoring:
  121. enabled: false
  122.  
  123. ################################################################################
  124. #
  125. # data storage - where server manager keeps your data!
  126. #
  127. ################################################################################
  128. store:
  129. # store type: this can be one of:
  130. # - 'json' - saves each custom race, championship as separate JSON files
  131. # in the directory specified by store_path
  132. # - 'boltdb' - saves all content inside a single database file specified by
  133. # store_path
  134. #
  135. # boltdb is recommended for most users.
  136. type: boltdb
  137.  
  138. # where to save the server manager data
  139. path: server_manager.db
  140.  
  141. # shared data path: Set the same directory for multiple AC Server Manager
  142. # instances to share accounts, race weekend, championship, entrants and custom
  143. # events across them. Leave blank to use the same path as the one set up here.
  144. # works only with JSON database
  145. shared_data_path:
  146.  
  147. # check for new scheduled races not created by server manager on a loop. this is an experimental
  148. # feature, and should not be used by most people. formats look like, e.g. 15s, 1m, 2h
  149. # 0s == disabled. recommended values are 5m and above.
  150. scheduled_event_check_loop: 0s
  151.  
  152. ################################################################################
  153. #
  154. # user management - this is now mostly done via the web interface.
  155. #
  156. ################################################################################
  157. accounts:
  158. # admin password override is used to override the admin password in the case
  159. # that you have forgotten it. set it to e.g. 'password' and log in with:
  160. # username: admin
  161. # password: password
  162. # and you will be prompted to change your admin password back to something you
  163. # can remember
  164. #
  165. # If you are logging in for the first time, do not use this override system.
  166. # Instead, log in by using these credentials:
  167. # username: admin
  168. # password: servermanager
  169. # As soon as you log in, you will be immediately asked to set a new password.
  170. admin_password_override:
  171.  
  172. ################################################################################
  173. #
  174. # live map config
  175. #
  176. ################################################################################
  177. live_map:
  178. # how often to refresh the map data in milliseconds. This value can't be below
  179. # 200. If you find that championship events do not finish properly, try
  180. # changing this to a higher number.
  181. # set this to 0 to disable live map.
  182. refresh_interval_ms: 500
  183.  
  184.  
  185. ################################################################################
  186. #
  187. # server config
  188. #
  189. ################################################################################
  190. server:
  191. # audit logging logs the actions of registered users locally on your server.
  192. # Only Admins can access the logs, they are intended for tracking if users
  193. # have deleted content, started/stopped events when they shouldn't have etc.
  194. audit_logging: true
  195.  
  196. # performance mode disables live timing entirely, and prioritises low cpu
  197. # usage.
  198. performance_mode: false
  199.  
  200. # set this to 'true' if you don't want server manager to open a browser window
  201. # on launch on windows
  202. dont_open_browser: false
  203.  
  204. # set this to 'true' if you want server manager to scan content folders for
  205. # changes every 15 seconds and update the search index with changes
  206. # this is useful for multi-server setups with a shared content folder so that
  207. # each server manager instance can see added/removed cars as they change
  208. scan_content_folder_for_changes: false
  209.  
  210. # when use_car_name_cache is enabled, server manager will scan the cars in the
  211. # content folder and save their names to memory. this will lead to more
  212. # accurate car names, at the cost of slightly increased memory usage and slightly
  213. # longer 'boot time' of server manager. I recommend it though!
  214. use_car_name_cache: true
  215.  
  216. # the following option aims to prevent the loss of results files for sessions
  217. # which were not fully completed. it works by sending a "Next Session" message
  218. # to the acServer, and then waiting for one of the following to happen:
  219. # 1) a "new session" message from acServer
  220. # 2) the acServer to stop
  221. # 3) a timeout of 2 seconds
  222. # set to 'true' if you want to try it out, this may become the default eventually,
  223. # but for now this feature is considered 'beta'.
  224. persist_mid_session_results: false
  225.  
  226. # list of commands to run on server start and kill on server stop. this should
  227. # contain the full command with arguments to run the given program.
  228. #
  229. # note: if you are looking for stracker support, Server Manager supports it via
  230. # the UI! Go to the "STracker" page in Server Manager for more instructions.
  231. #
  232. # note #2: if you are looking for KissMyRank support, Server Manager supports it
  233. # via the UI! Go to the "KissMyRank" page in Server Manager for more instructions.
  234. #
  235. # you can use additional plugins with AC Server Manager, but while configuring
  236. # them you have to ignore the ports that AC Server Manager writes in the
  237. # server_cfg.ini, as the Server Manager provides an interface to the plugins
  238. # instead. The plugin ports in the Server Options page are the ones that must
  239. # be used for the plugin configuration.
  240. #
  241. # Note that AC Server Manager provides an interface for a single plugin only,
  242. # as the AC game server does. If you want to chain multiple plugins, please
  243. # follow the documentation of the plugins you're using. Plugins usually
  244. # feature interfaces so additional plugins can be chained between themselves.
  245. #
  246. # you can of course add your own commands (whatever you like!) here.
  247. #
  248. # each executable specified is run from the directory it is inside, for example,
  249. # the command:
  250. #
  251. # /my/cool/plugin/path/run.sh --some-opt config.json
  252. # now actually performs the following two commands:
  253. #
  254. # 1. cd /my/cool/plugin/path
  255. # 2. ./run.sh --some-opt config.json
  256. plugins:
  257. # uncomment the two lines below to run the command '/my/cool/plugin/path/run.sh --some-opt config.json'
  258. # - executable: /my/cool/plugin/path/run.sh
  259. # arguments: ["--some-opt", "config.json"]
  260.  
  261. ################################################################################
  262. #
  263. # championships
  264. #
  265. ################################################################################
  266. championships:
  267. # reCAPTCHA is used to protect registration requests to championships. You
  268. # must specify a site_key and secret_key to enable reCAPTCHA
  269. # Register for reCAPTCHA here: https://www.google.com/recaptcha
  270. # Please note you must register for reCAPTCHA v2.
  271. #
  272. # Note: reCAPTCHA is NOT required, but highly recommended if you are running
  273. # Championship Sign Up Forms
  274. recaptcha:
  275. site_key:
  276. secret_key:
  277.  
  278. ################################################################################
  279. #
  280. # lua config - configure lua plugins
  281. #
  282. ################################################################################
  283. lua:
  284. # lua plugins allow you to run custom lua scripts through hooks with server
  285. # manager! If you're interested have a look at the server-manager/plugins
  286. # folder to see some examples!
  287. # Lua plugins are a premium feature, they won't run without the premium build!
  288. enabled: false
  289.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement