Advertisement
Guest User

Untitled

a guest
Dec 30th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.21 KB | None | 0 0
  1. /*/
  2. File: server.cfg
  3. Author:
  4.  
  5.     Quiksilver
  6.    
  7. Last Modified:
  8.  
  9.     5/12/2018 A3 1.86 by Quiksilver
  10.    
  11. Description:
  12.  
  13.     http://community.bistudio.com/wiki/server.cfg
  14.    
  15. Instructions:
  16.  
  17.     0. set hostname, under GENERAL SETTINGS
  18.     1. set password, under GENERAL SETTINGS
  19.     2. set passwordAdmin, under GENERAL SETTINGS
  20.     3. set maxPlayers, under GENERAL SETTINGS
  21.     4. set steamPort + steamQueryPort if necessary
  22.     5. set Mission Template, under MISSION WHITELIST
  23.     6. set missionWhitelist[], make sure correct pbo is added with given format
  24.     7. set forcedDifficulty = "Custom";
  25.     8. set serverCommandPassword under SECURITY. Note, this must match up with serverCommandPassword function in mod file.
  26. ____________________________________________________________/*/
  27.  
  28. //======================================================= GENERAL SETTINGS
  29.  
  30. hostname = "Department of Justice Invade and Annex";                                                // Name of the server displayed in the public server list
  31. maxPlayers = 64;                                                    // Maximum amount of players, including headless clients. Anybody who joins the server is considered a player, regardless of their role or team.
  32. persistent = 1;                                                     // If set to 1, missions will continue to run after all players have disconnected; required if you want to use the -autoInit startup parameter
  33. statisticsEnabled = 1;                                              // BIS Analytics
  34.  
  35. //======================================================= GAMEPLAY
  36.  
  37. forceRotorLibSimulation = 0;                                        // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
  38. drawingInMap = 1;                                                   // Enables or disables the ability to draw lines in map. Default = 1 (since Arma 3 1.63+).
  39.  
  40. //======================================================= CLIENT STABILITY
  41.  
  42. kickClientsOnSlowNetwork[] = {0,0,0,0};                             // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1) (since Arma 3 1.56+)
  43. maxPing = 350;                                                      // Max ping value until server kick the user (since Arma 3 1.56+)
  44. maxPacketLoss = 50;                                                 // Max packetloss value until server kick the user (since Arma 3 1.56+)
  45. maxDesync = 150;                                                    // Max desync value until server kick the user (since Arma 3 1.56+)
  46. disconnectTimeout = 90;                                             // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 1.56+)
  47.  
  48. //======================================================= VOICE CHAT
  49.  
  50. disableVoN = 0;                                                     // If set to 1, voice chat will be disabled
  51. disableChannels[]={{0,TRUE,TRUE},{1,TRUE,TRUE},{2,FALSE,FALSE},{3,FALSE,FALSE},{4,FALSE,FALSE},{5,FALSE,FALSE}};
  52. vonCodecQuality = 10;                                               // Supports range 1-30; 1-10 is 8kHz (narrowband), 11-20 is 16kHz (wideband), 21-30 is 32kHz (ultrawideband); higher = better sound quality, more bandwidth consumption
  53. vonCodec = 1;                                                                                                  // Experimental Opus VON codec
  54.  
  55. //======================================================= VOTING
  56.  
  57. voteMissionPlayers = 1;                                             // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
  58. voteThreshold = 9999;                                               // Percentage (0.00 to 1.00) of players needed to vote something into effect, for example an admin or a new mission. Set to 9999 to prevent random players being voted as admins.
  59. allowedVoteCmds[] = {};                                             // https://community.bistudio.com/wiki/Arma_3:_Mission_voting
  60. allowedVotedAdminCmds[] = {};                                       // https://community.bistudio.com/wiki/Arma_3:_Mission_voting
  61.  
  62. //======================================================= STEAM PORTS
  63.  
  64. steamPort = 2313;                                                   // default 8766, needs to be unique if multiple serves on same box
  65. steamQueryPort = 2314;                                              // default 27016, needs to be unique if multiple servers on same box
  66.  
  67. //======================================================= HEADLESS CLIENT   https://community.bistudio.com/wiki/Arma_3_Headless_Client
  68.  
  69. headlessClients[] = {"127.0.0.1"};                                  // Valid Headless Client IPs
  70. localClient[] = {"127.0.0.1"};                                      // Client IPs to assign unlimited bandwidth
  71.  
  72. //======================================================= WELCOME MESSAGE ("message of the day")
  73.  
  74. motd[] = {};                                                        // Use "chatMessages.sqf" instead
  75. motdInterval = 20;                                                  // Number of seconds between each message
  76.  
  77. //======================================================= MISSION WHITELIST
  78.  
  79. class Missions {
  80.     class apex_framework {
  81.         template = "Apex_framework_DOJRP.Altis";
  82.         difficulty = "Custom";
  83.     };
  84. };
  85. missionWhitelist[] = {
  86.     "Apex_framework_DOJRP.Altis"
  87. };
  88. forcedDifficulty = "Custom";
  89.  
  90. //======================================================= LOGGING
  91.    
  92. timeStampFormat = "full";                                            // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
  93. logFile = "server_console.log";                                      // Server console output filename
  94.  
  95. //======================================================= SECURITY      https://community.bistudio.com/wiki/Arma_3:_Server_Security
  96.  
  97. BattlEye = 0;                                                       // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
  98. verifySignatures = 2;                                               // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
  99. kickDuplicate = 1;                                                  // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
  100. regularCheck = "";
  101. battleyeLicense = 1;
  102. allowedFilePatching = 2;                                            // Prevent or allow file patching for the clients (including the HC) (since Arma 3 1.49+). 0 = no clients, 1 = headless client only, 2 = all clients.
  103. serverCommandPassword = "Ki23Bl2isS21Mnbds";                            // Password required by server to execute commands
  104. allowedLoadFileExtensions[] = {"wav"};                              // only allow files with those extensions to be loaded via loadFile command (since Arma 3 v1.19.124216)
  105. allowedPreprocessFileExtensions[] = {"sqf"};                        // only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 v1.19.124323)
  106. allowedHTMLLoadExtensions[] = {};                                   // only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 v1.27.126715)
  107. allowedHTMLLoadURIs[] = {};                                         // Uncomment to define server-level restrictions for URIs
  108.  
  109. //======================================================= EVENT SCRIPTS     http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  110.  
  111. onUserConnected = "";                                               // command to run when a player connects
  112. onUserDisconnected = "";                                            // command to run when a player disconnects
  113. doubleIdDetected = "";                                              // command to run if a player has the same ID as another player in the server
  114. onUnsignedData = "kick (_this select 0)";                           // command to run if a player has unsigned files
  115. onHackedData = "kick (_this select 0)";                             // command to run if a player has tampered files
  116. onDifferentData = "kick (_this select 0)";                          // data with a valid signature, but different version than the one present on server detected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement