// ArmA 3 Server Config File
//
// More info about parameters:
// https://community.bistudio.com/wiki/server.cfg


// PORTS

// Server Port
//  default: 2302.
serverport=2302;

// Steam Master Port
//  default: 2304.
steamport=2304;

// Steam Query Port
//  default: 2303.
steamqueryport=2303;


// GENERAL SETTINGS

// Server Name
hostname = "arma3server";

// Server Password
//password = "arma3pass";

// Admin Password
passwordAdmin = "arma3adminpass";

// Server Slots
maxPlayers = 32;

// Logfile
logFile = "arma3server.log";

// Minimum Required Client Build
//requiredBuild = 95691

// Message of the Day (MOTD)
motd[]={
    "Welcome to My Arma 3 Server",
    "TS3 Server:     teamspeak.somewhere.com",
    "Web:            www.example.com"
};

// MOTD Interval (Seconds)
motdInterval = 30;


// VOTING

// Server Mission Start
//  minimum number of clients before server starts mission
voteMissionPlayers = 1;

// Accepted Vote Threshold
//  0.33 = 33% clients.
voteThreshold = 0.33;

// INGAME SETTINGS

// Disable Voice over Net (VoN)
//  0 = voice enabled.
//  1 = voice disabled.
disableVoN = 0;

// VoN Codec Quality
//  0-10 = 8kHz (narrowband).
//  11-20 = 16kHz (wideband).
//  21-30 = 32kHz (ultrawideband).
vonCodecQuality = 3;

//Persistent Battlefield
//  0 = disable.
//  1 = enable.
persistent = 1;

// Time Stamp Format
//  none, short, full
timeStampFormat = "short";


// SERVER SECURITY/ANTI HACK

// Verify Signitures for Client Addons
//  0 = off.
//  1 = weak protection (depricated).
//  2 = full protection.
verifySignatures = 2;

// Secure Player ID
//  1 = Server warning message.
//  2 = Kick client.
requiredSecureId = 2;

// Kick Duplicate Player IDs
kickDuplicate = 1;

// BattlEye Anti-Cheat
//  0 = disable
//  1 = enable
BattlEye = 1;

// Allowed File Extentions
allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"};

// SCRIPTING ISSUES
onUserConnected = "";					//
onUserDisconnected = "";				//
doubleIdDetected = "";					//

// SIGNATURE VERIFICATION
// kick = kick (_this select 0)
// ban = ban (_this select 0)
onUnsignedData = "kick (_this select 0)";
onHackedData = 	"kick (_this select 0)";
onDifferentData = "";