So we covered:
- autoexec.cfg
- nicknames.lua
The remainder in that folder are:
- network.vault (we don’t need to touch this)
- options.lua (only need to work in this if you use TacView on the server, which I only do so I can adjust the playback delay time limit down from the default of 10 minutes - TacView clients will check the server for this value)
- serverSettings.lua (to be covered next)
serverSettings.lua - This is a long file so I trim it down. Don’t copy paste this but rather edit or add the properties to your file manually. Comments on each property will be there after the --double dashes.
cfg =
{
["current"] = 1,
["description"] = "This is a string between the quotes. Do new lines with a backslash \
like this. You can add empty lines like this too with backslash on it's own line. \
\
This has a gap between it. Note the end quote and comma on the next line.
",
["require_pure_textures"] = false, --this allows users to use custom skins.
["advanced"] =
{
["allow_change_tailno"] = true, --this allows you to change the tail numbers
["disable_events"] = false, --haven't found solid info on this.
["allow_ownship_export"] = true, --exports are needed for tacview
["allow_object_export"] = true, --same as above
["pause_on_load"] = false, --I set false so the mission runs when the server starts. Otherwise it is paused until the server operator starts the mission - frustrating players.
["allow_sensor_export"] = true, --see other export functions.
["event_Takeoff"] = false, --hides "Player took off" chat messages, set as you like.
["pause_without_clients"] = false, --if set to true, an empty server pauses the mission.
["client_outbound_limit"] = 0, --I believe these are network speed limits. Default 0 would be unlimited.
["client_inbound_limit"] = 0, --Same as above.
["server_can_screenshot"] = false, --Allows server to take a copy of client screenshots. Not needed, wastes disk space.
["voice_chat_server"] = true, --If you want the in-game voice chat. We have it on for testing but if you use Discord or SRS you can turn this off. May want later when DCS gets SRS like functionality.
["allow_change_skin"] = true, --Allows users to change skins at the rearm panel.
["event_Connect"] = true, --Shows "user joined" chat messages, optional
["event_Ejecting"] = false, --Hides "player ejected" chat messages, optional
["event_Kill"] = false, --Hides "player killed" chat messages. I dont like the chat spam.
["event_Crash"] = false, --You can guess this one. Off also is good for PvP so players have to verify kills themselves.
["resume_mode"] = 1, --This is also tied to the start mode.
["maxPing"] = 0, --Max ping allowed. I usually set this in SLmod.
["event_Role"] = false, --Shows "user selected aircraft" messages. Should be off for PvP.
}, -- end of ["advanced"]
["port"] = 10308, --Default network port
["mode"] = 0, --Unknown?
["bind_address"] = "", --Only needed if you have multiple NICs with different IPs on the host PC.
["isPublic"] = true, --Allow to be listed in the DCS browser
["listLoop"] = false, --Run missions on the mission list in order and start from the top again, only matters if missions autoload the next one when they are completed.
["password"] = "", --Password if you want one
["uri"] = "startServer", --Do not change.
["name"] = "Server Name", --Server Name
["missionList"] =
{ --The first mission is the one that autoloads. Otherwise the order does not really matter. Keep the list in order if you want to change numbers.
[1] = "C:\\Users\\username\\Saved Games\\DCS.openbeta_server\\Missions\\missionA.miz",
[2] = "C:\\Users\\username\\Saved Games\\DCS.openbeta_server\\Missions\\missionB.miz",
}, -- end of ["missionList"]
["listShuffle"] = false, --Shuffle mode, not sure how this would work unless missions can be set to "load next" rather than "load mission file X"
["require_pure_clients"] = true, --Integrity check, recommended unless you want to use mods.
["require_pure_models"] = true, --Integrity check, same as above.
["maxPlayers"] = "24", --Max players, worth setting to something reasonable as missions will have more slots than the server can handle as clients.
} -- end of cfg