Changing settings while servers run
Servers take up edits to dedicated.toml, the playlists and variants it names, and the maps and game types in content/Maps and content/Game Modes while they run. Save the file, and a couple of seconds later dedicated checks the whole configuration the way dedicated check does, then applies it. Players stay connected, and the game under way finishes under its own rules:
name,host_name,password,max_players,min_players,max_ping,post_game_seconds,start_countdown_seconds,welcome,admins,vote_kick_immune,moderators, the roles,votes, the voice settings,text_chat,share_mods,share_rate,weights,failover,campaign_skip_vote_percent,rejoin_stalled_joins,direct_messages,anti_cheat_hits_rejoin, theteamssection, the join gates and queue,allow_bots,forge_edit,restore_state, the Forge autosave- At once. Players already in stay when a limit tightens.
hidden,chat_log,block_vpn,[vpn] fail_closed,rcon_port,rcon_password,[rcon],metrics_http,bans,stats_copies- At once: the server is listed or taken off the masters, the day's chat log opens or closes, and the console moves, so signed-in tools sign in again.
friendly_fire,stock_map_defaults,round_outlasts_leavers,one_team_ends_scripted_games,team_changing,camera,vehicle_camera,force_model,map_hud,load_timeout,trust_player_games,draw_frames,tick_rate,failover_in_game- From the next game.
anti_cheat,anti_cheat_hits,report_games,customization,require_customization,no_vanilla_characters,film_recording,film_keep,film_max_mb,stats_server- From the next game. The game under way keeps its own to its end, and to its report.
- A server's playlist or
playlists, or the games in them; changing between a playlist, a variant and one map and game type - From the next vote. A ballot already open, and the game it picks, still come from the playlist before.
- A new
[[server]], orenabled = true - It starts at once.
- A server taken out, or
enabled = false - It stops once it has no players.
port,network_model,encode_once,channel_threads,node_threads,combat_bots,bot_pilots, andmax_playerson a server with fighting bots; a newnamethat changes the server's folder indata; changing to or from a campaign, ODST or Reach server, or anything about its game- That server restarts once it has no players (its bots don't count).
vpn-local.txt(see refuse a network at once)- Within a minute.
auto_reload,upnp,[master],[vpn] lists,asnsandasn_table- At once, by
dedicateditself: ports are forwarded or let go, this machine's master starts again on its new settings, and the VPN lists are fetched from their new sources. public_address,bind_address,film_receivers,film_upload_kbps,[diagnostics],game,data- When
dedicatedrestarts. The rest of the reload applies, and its report says so. content,coop_network, the Forge palette settings,auto_update- Nothing is applied: restart
dedicated.
If any check fails, nothing changes and every server keeps its settings; the console says what's wrong. The console shows each reload, in lines tagged [reload], with what changed on each server under when it applies: Applied now, Applied from the next game, Restarts once it has no players, or Restart the supervisor to apply for what waits for dedicated itself to start again.
To apply edits when you choose instead, set auto_reload = false at the top of dedicated.toml and run dedicated reload on the server's machine, or reload on a server's remote console. Both wait for the checks and answer with what changed, or what's wrong:
project-reclaimer dedicated reload
- Adding mods to
content/Modsdoesn't start a reload by itself.dedicated reload, or the next saved edit, reads the content folder again, mods included. - A Workshop item an edited configuration names and that isn't installed yet is installed first, while the servers play on. That reload answers that the items are being installed, and applies by itself once they're in.
- Settings the remote console changed (
servername,password,maxping,joins,weight) stay until the file's own value of that setting changes. - A setting that needs a new process doesn't have to wait for an empty server: a handoff moves the lobby to a new one between games.
- Environment variables keep the values
dedicatedstarted with. - A server that restarts after a crash starts with the configuration as last reloaded.
- WebSocket tools get a
controlevent withactionreloadfor every reload, with what changed on that server, or withokfalse and why nothing changed. Areload_appliedevent follows when a playlist it left waiting takes over. - In Docker, each container applies the edits for its own server. A new
[[server]]also needs its own service incompose.yaml; see more servers.
