Skip to content

Instantly share code, notes, and snippets.

@Shigetorum635
Last active March 22, 2023 17:19
Show Gist options
  • Save Shigetorum635/606a20b6183bc6ce15d1e4fff87bb826 to your computer and use it in GitHub Desktop.
Save Shigetorum635/606a20b6183bc6ce15d1e4fff87bb826 to your computer and use it in GitHub Desktop.

ANTISTASI Server configuration

The 3SA antistasi server configuration for arma 3, made by Shigetorum

./arma3server_x64.exe -port 2302 "-config=C:\Users\user\Desktop\Antistasi Server files\server.cfg" "-cfg=C:\Users\user\Desktop\Antistasi Server files\config.cfg" "C:\Users\user\Documents\Arma 3 - Other Profiles\Shigero%20Toura%20(Shige)" "-name default" "-mod="C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CBA_A3;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSUSAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSSAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSPKL;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSGREF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSAFRF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP Terrains - Core;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP ACE3 Compatibility Addon - Weapons;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP ACE3 Compatibility Addon - Vehicles;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP ACE3 Compatibility Addon - Terrains;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP Terrains - Maps;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP Terrains - Maps 2.0;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@DUI - Squad Radar;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Gruppe Adler Trenches;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Immersion Cigs;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@LL Instruments;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@TFAR Animations;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Task Force Arrowhead Radio (BETA!!!);C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Task Force Timberwolf Female Characters;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@DeadmenToDown;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Improved Grenades;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS AFRF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS- GREF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS- SAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS USAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Antistasi Plus;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Ace - No Medical" -enableHT -limitFPS=500 -malloc=tbb4malloc_bi_x64.dll

MODS

C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CBA_A3;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSUSAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSSAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSPKL;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSGREF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@RHSAFRF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP Terrains - Core;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP ACE3 Compatibility Addon - Weapons;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP ACE3 Compatibility Addon - Vehicles;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP ACE3 Compatibility Addon - Terrains;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP Terrains - Maps;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CUP Terrains - Maps 2.0;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@DUI - Squad Radar;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Gruppe Adler Trenches;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Immersion Cigs;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@LL Instruments;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@TFAR Animations;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Task Force Arrowhead Radio (BETA!!!);C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Task Force Timberwolf Female Characters;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@DeadmenToDown;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Improved Grenades;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS AFRF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS- GREF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS- SAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ACE Compat - RHS USAF;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Antistasi - The Mod;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@Ace - No Medical;

Server CFG

// server.cfg

// GLOBAL SETTINGS
hostname = "3SA Antistasi <3";		// The name of the server that shall be displayed in the public server list
password = "redoctober";							// Password for joining, eg connecting to the server
passwordAdmin = "ShigetorumAdmin";					// Password to become server admin. When in Arma MP and connected to the server, type '#login xyz'
serverCommandPassword = "password whatever";		// Password required by alternate syntax of [[serverCommand]] server-side scripting.

logFile = "server_console.log";			// Where the logfile should go and what it should be called

// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed at all but are only for increasing the interval
motd[] = {
	"", "",
	"Superhind our beloved <3",
};
motdInterval = 5;					// Time interval (in seconds) between each message


// JOINING RULES
maxPlayers = 40;					// Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
kickDuplicate = 1;					// Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.
verifySignatures = 0;				// Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed).
equalModRequired = 0;				// Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
allowedFilePatching = 0;			// Allow or prevent client using -filePatching to join the server. 0, is disallow, 1 is allow HC, 2 is allow all clients (since Arma 3 v1.50)
filePatchingExceptions[] = {"123456789","987654321"}; // Whitelisted Steam IDs allowed to join with -filePatching enabled
//requiredBuild = 12345;			// Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect


// VOTING
voteMissionPlayers = 1;				// Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold = 0.33;				// 33% or more players need to vote for something, for example an admin or a new map, to become effective


// INGAME SETTINGS
disableVoN = 0;					// If set to 1, Voice over Net will not be available
vonCodec = 1; 					// If set to 1 then it uses IETF standard OPUS codec, if to 0 then it uses SPEEX codec (since Arma 3 update 1.58+)
vonCodecQuality = 30;			// since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz(48kHz) is 21-30
persistent = 1;					// If 1, missions still run on even after the last player disconnected.
timeStampFormat = "short";		// Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
BattlEye = 0;					// Server to use BattlEye system
allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; //only allow files with those extensions to be loaded via loadFile command (since Arma 3 build 1.19.124216)
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; //only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323)
allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"}; //only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 build 1.27.126715)
//allowedHTMLLoadURIs[] = {}; // Leave commented to let missions/campaigns/addons decide what URIs are supported. Uncomment to define server-level restrictions for URIs

// TIMEOUTS
disconnectTimeout = 5;			// Time to wait before disconnecting a user which temporarly lost connection. Range is 5 to 90 seconds.
maxDesync = 150;				// Max desync value until server kick the user
maxPing= 200;					// Max ping value until server kick the user
maxPacketLoss= 50;				// Max packetloss value until server kick the user
kickClientsOnSlowNetwork[] = { 0, 0, 0, 0 }; // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1)
kickTimeout[] = { {0, -1}, {1, 180}, {2, 180}, {3, 180} };
votingTimeOut[] = {60, 90};		// Kicks users from server if they spend too much time in mission voting
roleTimeOut[] = {90, 120};		// Kicks users from server if they spend too much time in role selection
briefingTimeOut[] = {60, 90};	// Kicks users from server if they spend too much time in briefing (map) screen
debriefingTimeOut[] = {45, 60};	// Kicks users from server if they spend too much time in debriefing screen
lobbyIdleTimeout = 300;			// The amount of time the server will wait before force-starting a mission without a logged-in Admin.


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

// SIGNATURE VERIFICATION
onUnsignedData = "kick (_this select 0)";	// unsigned data detected
onHackedData = "kick (_this select 0)";		// tampering of the signature detected
onDifferentData = "";				// data with a valid signature, but different version than the one present on server detected


// MISSIONS CYCLE (see below)
randomMissionOrder = false;	// Randomly iterate through Missions list
autoSelectMission = false;	// Server auto selects next mission in cycle

// MISSIONS CYCLE (see below)
class Missions {
   class Mission1 {
      template ="Antistasi_Takistan.takistan";
      difficulty = "Veteran"; //can be Recruit, Regular, Veteran or Custom. Custom needs setting up though.
      class Params {
         autoLoadLastGame = 60; //Automatically starts the mission 60 seconds after the first player connected to the server and no admin is logged in. {"No automatic load","1min","2min","3min","5min","10min"}
         LogLevel = 2; //Sets the log level during the setup. {"Error", "Info", "Debug", "Verbose"}
         A3A_logDebugConsole = 1; //Sets the Log debug console use during setup. {"None", "All non-dev", "All"}
      };
   };
};		// An empty Missions class means there will be no mission rotation

missionWhitelist[] = {};	// An empty whitelist means there is no restriction on what missions' available

CFG

MinBandwidth = 131072;			// Bandwidth the server is guaranteed to have (in bps). This value helps server to estimate bandwidth available. Increasing it to too optimistic values can increase lag and CPU load, as too many messages will be sent but discarded. Default: 131072
MaxBandwidth = 10000000000;		// Bandwidth the server is guaranteed to never have. This value helps the server to estimate bandwidth available.

MaxMsgSend = 128;				// Maximum number of messages that can be sent in one simulation cycle. Increasing this value can decrease lag on high upload bandwidth servers. Default: 128
MaxSizeGuaranteed = 512;		// Maximum size of guaranteed packet in bytes (without headers). Small messages are packed to larger frames. Guaranteed messages are used for non-repetitive events like shooting. Default: 512
MaxSizeNonguaranteed = 256;		// Maximum size of non-guaranteed packet in bytes (without headers). Non-guaranteed messages are used for repetitive updates like soldier or vehicle position. Increasing this value may improve bandwidth requirement, but it may increase lag. Default: 256

MinErrorToSend = 0.001;			// Minimal error to send updates across network. Using a smaller value can make units observed by binoculars or sniper rifle to move smoother. Default: 0.001
MinErrorToSendNear = 0.01;		// Minimal error to send updates across network for near units. Using larger value can reduce traffic sent for near units. Used to control client to server traffic as well. Default: 0.01

MaxCustomFileSize = 0;			// (bytes) Users with custom face or custom sound larger than this size are kicked when trying to connect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment