Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // ****** CFOG server ******
- //
- // https://community.bistudio.com/wiki/server.cfg
- // https://community.bistudio.com/wiki/Arma_3_Dedicated_Server
- //
- // ---------- MAIN CONFIGURATION -----------------------------------------------------------------------------------------
- hostname = ""; // Servername visible in the game browser.
- password = ""; // Password required to connect to server.
- passwordAdmin = ""; // Password to protect admin access.
- serverCommandPassword = ""; // Password required by alternate syntax of serverCommand server-side scripting.
- admins[] = {"76561198031427452","76561197984602574","76561197993220909"}; // e.g. admins[]={"1234","5678"}; whitelisted client can use #login w/o password (since Arma 3 1.69+). See Logged In Admin
- // czarny, headshooter, shoter
- loopback = false; // Adding this option will force server into LAN mode. This will allow multiple local instances of the game to connect to the server for testing purposes.
- // At the same time it will prevent all non-local instances from connecting.
- upnp = true; // Automatically creates port mapping on UPNP/IGD enabled router.
- // This option allows you to create a server behind NAT (your router must have public IP and support UPNP/IGD protocol).
- // Read more: http://en.wikipedia.org/wiki/Internet_Gateway_Device_Protocol
- // Warning: When enabled then this setting may delay server start-up by 600s (standard UDP timeout of 10 minutes) if blocked on firewall or bad routing etc.
- // Thus in such case is recommended to disable it.
- //requiredBuild = 145639; // From 1.60 Patchlog: requiredBuild=xxxxx; in server.cfg preventing obsolete clients to connect. Since 95691 the required version is limited to the server version.
- // ---------- FILES -----------------------------------------------------------------------------------------
- allowedFilePatching = 0; // Prevent or allow file patching for the clients (including the HC) (since Arma 3 1.49+)
- // 0 is no clients (default), 1 is Headless Clients only, 2 is all clients
- //only allow files with those extensions to be loaded via loadFile command (since Arma 3 build 1.19.124216)
- 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 preprocessFile/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323)
- 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"};
- // ---------- LOG --------------------------------------------------------------------------------------------
- logFile = "logs/server_log.log"; // Enables output of dedicated server console into textfile. Default location of log is same as crash dumps and other logs.
- timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default), "short", "full".
- statisticsEnabled = 0; // default 1, allows to opt-out of analytics for the server by using 0
- // ---------- STEAM -----------------------------------------------------------------------------------------
- steamPort = 2303; // default 2303, defines port for communication with STEAM services, needs to be unique for each dedicated server within one OS instance / network interface
- steamQueryPort = 2304; // default 2304, defines port for server's STEAM query, needs to be unique for each dedicated server within one OS instance / network interface
- // ---------- HEADLESS CLIENT --------------------------------------------------------------------------------
- // localClient[]={"127.0.0.1", ...}; // to indicate clients with unlimited bandwidth and nearly no latency (https://dev-heaven.net/issues/62500), Available since Arma 2:OA build 99184 , including Arma 3
- // headlessClients[]={"127.0.0.1", ...}; // The server doesn't allow arbitrary connections from headless clients if you do not define the headless clients IPs.
- // Multiple Connections and Addresses are allowed in the case of more than one Headless Client.
- // ---------- MOTD (welcome message) -------------------------------------------------------------------------
- motd[]=
- {
- "CFOG",
- "---------------------------------------",
- "WWW: http://cfog.pl, https://forum.agnest.org",
- "TS: IP serwera lub 79.137.75.208"
- "hasła: pytaj na forum"
- };
- motdInterval = 0;
- // ---------- PLAYERS -----------------------------------------------------------------------------------------
- maxPlayers = 10; // The maximum number of players that can connect to server. Number of mission slots override this setting.
- kickduplicate = 1; // Do not allow duplicate game IDs. Second player with an existing ID will be kicked automatically. 1 means active, 0 disabled.
- voteMissionPlayers = 1; // Start mission-voting when X numberOfPlayers connect.
- voteThreshold = 0.33; // Percentage of votes needed to confirm a vote. 33% in this example.
- verifySignatures = 1; // Enables or disables the signature verification for addons.
- // Default = 0, Weak protection = 1, Full protection = 2.
- // From Arma 3 use only level 2 (level 1 is outdated and not efficent)
- lobbyIdleTimeout = 3000; // default value is 300 seconds (+5 seconds vs any of above) > defined value
- // Independent of set lobbyIdleTimeout in the config file, it will be at least MAX(votingTimeout, lobbyTimeout, briefingTimeout, debriefingTimeout) + 5 seconds by //default, this makes it 300 seconds of time for people in lobby and 95 in roleTimeout or briefing screen (since Arma 3 1.90+ PerformanceBranch)
- disconnectTimeout = 90; // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 1.56+)
- // maxdesync = 150; // Max desync value until server kick the user (since Arma 3 1.56+)
- // maxping= 200; // Max ping value until server kick the user (since Arma 3 1.56+)
- // kickClientsOnSlowNetwork[] = { 0, 0, 0, 0 }; // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1) (since Arma 3 1.56+)
- // maxpacketloss= 50; //Max packetloss value until server kick the user (since Arma 3 1.56+)
- // ---------- INGAME SETTINGS ----------------------------------------------------------------------------------
- disableVoN = 1; // Enables or disables the Voice over Net. Default = 0.
- vonCodecQuality = 10; // Defines VoN codec quality. Value range is from 1 to 20.
- // Default = 3, Since 1.62.95417 supports range 1-20, Since 1.63.x will support range 1-30
- // 8kHz is 0-10, 16kHz is 11-20, for 21-30 it's 32kHz for SPEEX codec and 48kHz for OPUS codec.
- vonCodec = 1; // Defines VoN codec type. Value range is from 0 to 1.
- // Default = 0, Since Arma 3 update 1.58 supports value 1
- // Value 0 uses older SPEEX codec, while 1 switches to new IETF standard OPUS codec.
- BattlEye = 0; // Enables or disables the BattlEye anti-cheat engine. Default 0. - since 1.09 beta, in Arma 3 default is 1.
- // Requires installed battleye on server and clients joining the server
- drawingInMap = 1; // Enables or disables the ability to place markers and draw lines in map. Default = 1 (since Arma 3 1.63+).
- forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
- forcedDifficulty = "Custom"; // see Forced difficulty (since Arma 3 1.56+)
- // ---------- MISSIONS ---------------------------------------------------------------------------------------
- persistent = 0; // Mission keeps running when all clients disconnect.. Default = 0. See note below.
- //missionWhitelist[] = {""}; // Limit the available missions for the admin for the mission change (since Arma 3 1.56+). Empty means no missions available.
- class Missions // mission rotation (empty - no rotation)
- {
- };
- // ---------- SCRIPTS -------------------------------------------------------------------------------------------
- doubleIdDetected = "";
- onUserConnected = "";
- onUserDisconnected = "";
- onDifferentData = "";
- onHackedData = "kick (_this select 0)";
- onUnsignedData = "";
- //regularCheck = "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement