AMPTemplates/arma3server.cfg
2023-03-07 05:50:50 +11:00

114 lines
4.1 KiB
INI

// DO NOT edit server.cfg directly
// AMP_server.cfg controls server.cfg. Edit AMP_server.cfg if you want to add or change certain settings
// NOTE:
// - DO NOT change values in double curly braces, ie {{}}. They are set either via the AMP UI
// or are controlled by AMP itself (in particular, ports)
// - Other settings can be changed or added as needed - see the second section below
// Full information on settings is available at https://community.bistudio.com/wiki/Arma_3:_Server_Config_File
// *******
// SETTINGS CONTROLLED BY AMP - DO NOT TOUCH THESE!!!
// *******
hostname = "{{hostname}}";
password = "{{password}}";
passwordAdmin = "{{passwordAdmin}}";
serverCommandPassword = "{{serverCommandPassword}}";
admins[] = { {{admins}} };
headlessClients[] = { {{headlessClients}} };
localClient[] = { {{localClient}} };
logFile = "server_console.log";
motd[] = { {{motd}} };
motdInterval = {{motdInterval}};
maxPlayers = {{maxPlayers}};
kickDuplicate = {{kickDuplicate}};
verifySignatures = {{verifySignatures}};
allowedFilePatching = {{allowedFilePatching}};
filePatchingExceptions[] = { {{filePatchingExceptions}} };
requiredBuild = {{requiredBuild}};
loopback = {{loopback}};
upnp = {{upnp}};
skipLobby = {{skipLobby}};
voteMissionPlayers = {{voteMissionPlayers}};
voteThreshold = {{voteThreshold}};
forceRotorLibSimulation = {{forceRotorLibSimulation}};
disableVoN = {{disableVoN}};
vonCodec = {{vonCodec}};
vonCodecQuality = {{vonCodecQuality}};
persistent = {{persistent}};
timeStampFormat = "{{timeStampFormat}}";
BattlEye = 1;
allowedLoadFileExtensions[] = { {{allowedLoadFileExtensions}} };
allowedPreprocessFileExtensions[] = { {{allowedPreprocessFileExtensions}} };
allowedHTMLLoadExtensions[] = { {{allowedHTMLLoadExtensions}} };
enablePlayerDiag = {{enablePlayerDiag}};
drawingInMap = {{drawingInMap}};
allowProfileGlasses = {{allowProfileGlasses}};
forcedDifficulty = "{{forcedDifficulty}}";
disconnectTimeout = {{disconnectTimeout}};
maxDesync = {{maxDesync}};
maxPing = {{maxPing}};
maxPacketLoss = {{maxPacketLoss}};
kickClientsOnSlowNetwork[] = { {{kickPing}},{{kickLoss}},{{kickDesync}},{{kickTimeout}} };
kickTimeout[] = { { 0,{{kickManual}} }, { 1,{{kickConnectivity}} }, { 2,{{kickBattlEye}} }, { 3,{{kickHarmless}} } };
votingTimeOut[] = { {{votingTimeOut}} };
roleTimeOut[] = { {{roleTimeOut}} };
briefingTimeOut[] = { {{briefingTimeOut}} };
debriefingTimeOut[] = { {{debriefingTimeOut}} };
lobbyIdleTimeout = {{lobbyIdleTimeout}};
armaUnitsTimeout = {{armaUnitsTimeout}};
onUserConnected = "{{onUserConnected}}";
onUserDisconnected = "{{onUserDisconnected}}";
doubleIdDetected = "{{doubleIdDetected}}";
onUserKicked = "{{onUserKicked}}";
onUnsignedData = "{{onUnsignedData}}";
onHackedData = "{{onHackedData}}";
onDifferentData = "{{onDifferentData}}";
autoSelectMission = {{autoSelectMission}};
randomMissionOrder = {{randomMissionOrder}};
statisticsEnabled = {{statisticsEnabled}};
callExtReportLimit = {{callExtReportLimit}};
zeusCompositionScriptLevel = {{zeusCompositionScriptLevel}};
steamProtocolMaxDataSize = {{steamProtocolMaxDataSize}};
class AdvancedOptions
{
LogObjectNotFound = {{LogObjectNotFound}};
SkipDescriptionParsing = {{SkipDescriptionParsing}};
ignoreMissionLoadErrors = {{ignoreMissionLoadErrors}};
queueSizeLogG = {{queueSizeLogG}};
};
// *******
// USER CONFIGURABLE SETTINGS - CHANGE/ADD ADDITIONAL SETTINGS HERE
// *******
// VOTING
//allowedVoteCmds[] = { { "kick", false, false, 0.75 } };
//allowedVotedAdminCmds[] = { { "mission", true, true } };
// INGAME SETTINGS
//allowedHTMLLoadURIs[] = {};
// MISSIONS CYCLE
//class Missions {}; // An empty Missions class means there will be no mission rotation
// OR
//class Missions // A full list of default missions is at https://community.bistudio.com/wiki/Arma_3:_MP_Mission_Names
//{
// class Mission01
// {
// template = MP_Marksmen_01.Altis;
// difficulty = "Veteran";
// class Params {};
// };
// class Mission02
// {
// template = MP_End_Game_01.Altis;
// difficulty = "Veteran";
// class Params {};
// };
//};
//missionWhitelist[] = {}; // An empty whitelist means there is no restriction on what missions are available
// OTHER OPTIONS
//disableChannels[] = {};