Getting_started/server_conf

One key value pair per line. Lines that start with # and unknown keys are ignored. A port given on the command line (Server 2302) overrides the file.

KeyDefaultMeaning
listen_port (or port)2301UDP port players connect to.
server_nameLiberty United 0.1 ServerName shown in the server browser (max 63 characters).
password(none)Join password. Leave empty/none for a public server. Can be changed from scripts with SetPassword.
max_players100Player limit, clamped to 2-255.
gamemode_name(blank)Gamemode text in the browser.
owner / website(blank)Shown in the browser server info.
announceyesyes/no - send the server to the public master list.
auto_updateyes(v0.5.3+) yes/no - the server checks for a new release at startup and every 5 minutes, downloads it in the background and restarts with it as soon as no player is online (NPCs do not count). Same folder, same command line; on Linux even the same process id, so screen sessions and service managers keep it.
auto_update_urlLU update host(v0.5.3+) Where the update manifest is read (http only). Leave it out for the official releases.
default_scoreboardyesBuilt-in TAB scoreboard. Set no if you draw your own.
vehicle_respawn_time(engine default)Seconds before a wrecked vehicle respawns.
pickup_respawn_time0Seconds before a collected pickup respawns (0 = instantly).
lag_compoffLag compensation for bullet hits (hit events relayed by the server).
voice_chatoffProximity / channel voice chat (Opus). Players talk with a push-to-talk key (default V) or an open microphone; see player.AllowVoiceChat, VoiceChannel, VoiceDistance.
traffic_syncoffSynchronised ambient pedestrians and traffic. See the Traffic chapter.
stream_objectsoff(v0.5.5+) on = custom map objects (Script.xml <object>) that a player does not have yet are downloaded WHILE he plays, nearest to him first: the join only waits for vehicles, skins, glass, far (LOD) models, day/night objects and road pieces with traffic paths (so ambient traffic works as before). Objects appear as they arrive, a bar at the bottom of the screen shows the progress, and a player whose surroundings are still missing is held in place (also right after a spawn or a teleport) until they are there. A player who already has the files joins exactly as before.
traffic_ped_density / traffic_car_density0.250 to 3. How crowded the roads are (1.0 can lag).
traffic_radius100Metres (20-500). Players closer than this share one traffic generator.
cinema_ffmpeg / cinema_ytdlp / cinema_ytdlp_argsffmpeg / yt-dlp / (empty)(v0.5-rc3+) The programs the cinema screens (CreateCinema / PlayCinema) use. With the default names the server first uses the copy that sits NEXT TO the server (ffmpeg.exe / yt-dlp.exe beside Server.exe, ./ffmpeg / ./yt-dlp beside the Linux Server) and only then the one in PATH; a different value is used as it is. cinema_ytdlp_args adds yt-dlp options, space separated (for YouTube it needs a JavaScript runtime: --js-runtimes node).
duplicate_namesoff(v0.5.1+) off = a player whose name is already online is refused at join with "The name you chose is already occupied on this server". on = two players may share a name.
crouchoff(v0.5-rc3+) on = the players can crouch with the X key (see lu_crouch.ini on the client). Default off: the key does nothing, and a crouch flag in a sync packet is stripped by the server, so nobody shows crouched.
server_side_trafficoff(v0.5-rc3+) on = the SERVER decides who simulates the traffic instead of the nearest player: the lowest-ping player of a group generates and owns it (a player with a high ping counts as farther away, 0.5 m per ms above 80 ms), so cars no longer freeze and jump around a laggy player. See the Traffic chapter.
traffic_debugoffExtra traffic logging.
islandson(v0.3.1-r5+) on = all islands unlocked (the Portland - Staunton bridge is repaired); off = the damaged bridge of the original game start. Scripts can change it at run time with SetIslands().
passenger_keyon(v0.3.1-r5+) The shortcut that enters the nearest vehicle as a passenger: G on PC, holding the enter button on a pad, the RIDE button on Android. off disables it (a normal enter still works).
traffic_passengeron(v0.3.1-r5+) off stops players from riding along as a passenger with an AI driver (a traffic car or a server NPC).
anticheaton(v0.4.9+) off switches the whole anti-cheat off (no server checks, the clients do not scan). See the onPlayerCheat event.
ac_exclude(none)(v0.4.9+) Detections that are NOT checked, numbers separated by commas, e.g. ac_exclude 2,4. The clients are told and do not scan for them either. 1 CLEO, 2 debugger, 3 window title, 4 memory modification, 5 speed (client timers), 6 speed (server clock), 7 health, 8 armour, 9 weapon, 10 ammo, 11 hardware breakpoints.
NoteKeys such as sync_radius, weather, rcon found in very old server.conf files are no longer read. Use scripts (SetWeather, SetServerRule, ...) instead.
Categories: Getting started