Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.85 KB | None | 0 0
  1. //
  2. // ****** CFOG server ******
  3. //
  4. // https://community.bistudio.com/wiki/server.cfg
  5. // https://community.bistudio.com/wiki/Arma_3_Dedicated_Server
  6. //
  7.  
  8. // ---------- MAIN CONFIGURATION -----------------------------------------------------------------------------------------
  9.  
  10. hostname = ""; // Servername visible in the game browser.
  11. password = ""; // Password required to connect to server.
  12. passwordAdmin = ""; // Password to protect admin access.
  13. serverCommandPassword = ""; // Password required by alternate syntax of serverCommand server-side scripting.
  14. 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
  15. // czarny, headshooter, shoter
  16. 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.
  17. // At the same time it will prevent all non-local instances from connecting.
  18. upnp = true; // Automatically creates port mapping on UPNP/IGD enabled router.
  19. // This option allows you to create a server behind NAT (your router must have public IP and support UPNP/IGD protocol).
  20. // Read more: http://en.wikipedia.org/wiki/Internet_Gateway_Device_Protocol
  21. // 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.
  22. // Thus in such case is recommended to disable it.
  23. //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.
  24.  
  25.  
  26.  
  27. // ---------- FILES -----------------------------------------------------------------------------------------
  28.  
  29. allowedFilePatching = 0; // Prevent or allow file patching for the clients (including the HC) (since Arma 3 1.49+)
  30. // 0 is no clients (default), 1 is Headless Clients only, 2 is all clients
  31.  
  32. //only allow files with those extensions to be loaded via loadFile command (since Arma 3 build 1.19.124216)
  33. allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
  34.  
  35. //only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323)
  36. allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
  37.  
  38. allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"};
  39.  
  40.  
  41.  
  42. // ---------- LOG --------------------------------------------------------------------------------------------
  43.  
  44. 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.
  45. timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default), "short", "full".
  46. statisticsEnabled = 0; // default 1, allows to opt-out of analytics for the server by using 0
  47.  
  48.  
  49.  
  50. // ---------- STEAM -----------------------------------------------------------------------------------------
  51.  
  52. 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
  53. 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
  54.  
  55.  
  56.  
  57. // ---------- HEADLESS CLIENT --------------------------------------------------------------------------------
  58.  
  59. // 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
  60. // headlessClients[]={"127.0.0.1", ...}; // The server doesn't allow arbitrary connections from headless clients if you do not define the headless clients IPs.
  61. // Multiple Connections and Addresses are allowed in the case of more than one Headless Client.
  62.  
  63.  
  64.  
  65. // ---------- MOTD (welcome message) -------------------------------------------------------------------------
  66.  
  67. motd[]=
  68. {
  69. "CFOG",
  70. "---------------------------------------",
  71. "WWW: http://cfog.pl, https://forum.agnest.org",
  72. "TS: IP serwera lub 79.137.75.208"
  73. "hasła: pytaj na forum"
  74. };
  75. motdInterval = 0;
  76.  
  77.  
  78.  
  79. // ---------- PLAYERS -----------------------------------------------------------------------------------------
  80.  
  81. maxPlayers = 10; // The maximum number of players that can connect to server. Number of mission slots override this setting.
  82. kickduplicate = 1; // Do not allow duplicate game IDs. Second player with an existing ID will be kicked automatically. 1 means active, 0 disabled.
  83. voteMissionPlayers = 1; // Start mission-voting when X numberOfPlayers connect.
  84. voteThreshold = 0.33; // Percentage of votes needed to confirm a vote. 33% in this example.
  85. verifySignatures = 1; // Enables or disables the signature verification for addons.
  86. // Default = 0, Weak protection = 1, Full protection = 2.
  87. // From Arma 3 use only level 2 (level 1 is outdated and not efficent)
  88. lobbyIdleTimeout = 3000; // default value is 300 seconds (+5 seconds vs any of above) > defined value
  89. // 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)
  90. disconnectTimeout = 90; // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 1.56+)
  91. // maxdesync = 150; // Max desync value until server kick the user (since Arma 3 1.56+)
  92. // maxping= 200; // Max ping value until server kick the user (since Arma 3 1.56+)
  93. // kickClientsOnSlowNetwork[] = { 0, 0, 0, 0 }; // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1) (since Arma 3 1.56+)
  94. // maxpacketloss= 50; //Max packetloss value until server kick the user (since Arma 3 1.56+)
  95.  
  96.  
  97.  
  98. // ---------- INGAME SETTINGS ----------------------------------------------------------------------------------
  99.  
  100. disableVoN = 1; // Enables or disables the Voice over Net. Default = 0.
  101. vonCodecQuality = 10; // Defines VoN codec quality. Value range is from 1 to 20.
  102. // Default = 3, Since 1.62.95417 supports range 1-20, Since 1.63.x will support range 1-30
  103. // 8kHz is 0-10, 16kHz is 11-20, for 21-30 it's 32kHz for SPEEX codec and 48kHz for OPUS codec.
  104. vonCodec = 1; // Defines VoN codec type. Value range is from 0 to 1.
  105. // Default = 0, Since Arma 3 update 1.58 supports value 1
  106. // Value 0 uses older SPEEX codec, while 1 switches to new IETF standard OPUS codec.
  107. BattlEye = 0; // Enables or disables the BattlEye anti-cheat engine. Default 0. - since 1.09 beta, in Arma 3 default is 1.
  108. // Requires installed battleye on server and clients joining the server
  109. drawingInMap = 1; // Enables or disables the ability to place markers and draw lines in map. Default = 1 (since Arma 3 1.63+).
  110. forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
  111. forcedDifficulty = "Custom"; // see Forced difficulty (since Arma 3 1.56+)
  112.  
  113.  
  114.  
  115. // ---------- MISSIONS ---------------------------------------------------------------------------------------
  116.  
  117. persistent = 0; // Mission keeps running when all clients disconnect.. Default = 0. See note below.
  118. //missionWhitelist[] = {""}; // Limit the available missions for the admin for the mission change (since Arma 3 1.56+). Empty means no missions available.
  119.  
  120. class Missions // mission rotation (empty - no rotation)
  121. {
  122. };
  123.  
  124.  
  125.  
  126. // ---------- SCRIPTS -------------------------------------------------------------------------------------------
  127.  
  128. doubleIdDetected = "";
  129. onUserConnected = "";
  130. onUserDisconnected = "";
  131. onDifferentData = "";
  132. onHackedData = "kick (_this select 0)";
  133. onUnsignedData = "";
  134. //regularCheck = "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement