Advertisement
Guest User

Untitled

a guest
May 9th, 2022
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. //
  2. // server.cfg
  3. //
  4. // comments are written with "//" in front of them.
  5.  
  6. // NOTE: More parameters and details are available at http://community.bistudio.com/wiki/server.cfg
  7.  
  8. // STEAM PORTS (not needed anymore, it's +1 +2 to gameport)
  9. // steamPort = 8766; // default 8766, needs to be unique if multiple servers are on the same box
  10. // steamQueryPort = 27016; // default 27016, needs to be unique if multiple servers are on the same box
  11.  
  12. // GENERAL SETTINGS
  13. hostname = "omited"; // Name of the server displayed in the public server list
  14. password = "omitted"; // Password required to join the server (remove // at start of line to enable)
  15. passwordAdmin = "omited"; // Password to login as admin. Open the chat and type: #login password
  16. maxPlayers = 40; // Maximum amount of players, including headless clients. Anybody who joins the server is considered a player, regardless of their role or team.
  17. 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
  18.  
  19. // VOICE CHAT
  20. disableVoN = 1; // If set to 1, voice chat will be disabled
  21. vonCodecQuality = 10; // Supports range 1-30, the higher the better sound quality, the more bandwidth consumption:
  22. // 1-10 is 8kHz (narrowband)
  23. // 11-20 is 16kHz (wideband)
  24. // 21-30 is 32kHz (ultrawideband)
  25.  
  26. // VOTING
  27. voteMissionPlayers = 1; // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
  28. voteThreshold = 0.33; // 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 disable voting.
  29. allowedVoteCmds[] = // Voting commands allowed to players
  30. {
  31. // {command, preinit, postinit, threshold} - specifying a threshold value will override "voteThreshold" for that command
  32. {"admin", false, false}, // vote admin
  33. {"kick", false, true, 0.51}, // vote kick
  34. {"missions", false, false}, // mission change
  35. {"mission", false, false}, // mission selection
  36. {"restart", false, false}, // mission restart
  37. {"reassign", false, false} // mission restart with roles unassigned
  38. };
  39.  
  40. // WELCOME MESSAGE ("message of the day")
  41. // It can be several lines, separated by comma
  42. // Empty messages "" will not be displayed, but can be used to increase the delay before other messages
  43. motd[] =
  44. {
  45. omited
  46. };
  47. motdInterval = 5; // Number of seconds between each message
  48.  
  49. // MISSIONS CYCLE
  50. class Missions
  51. {
  52. class Mission1
  53. {
  54. template = "antistasi_plus_tanoa.Tanoa"; // Filename of pbo in MPMissions folder
  55. difficulty = "Custom"; // "Recruit", "Regular", "Veteran", "Custom"
  56. };
  57. };
  58.  
  59. // Dificulty
  60.  
  61. class DifficultyPresets
  62. {
  63. class CustomDifficulty
  64. {
  65. class Options
  66. {
  67. /* Simulation */
  68.  
  69. reducedDamage = 0; // Reduced damage
  70.  
  71. /* Situational awareness */
  72.  
  73. groupIndicators = 0; // Group indicators (0 = never, 1 = limited distance, 2 = always)
  74. friendlyTags = 0; // Friendly name tags (0 = never, 1 = limited distance, 2 = always)
  75. enemyTags = 0; // Enemy name tags (0 = never, 1 = limited distance, 2 = always)
  76. detectedMines = 0; // Detected mines (0 = never, 1 = limited distance, 2 = always)
  77. commands = 1; // Commands (0 = never, 1 = fade out, 2 = always)
  78. waypoints = 1; // Waypoints (0 = never, 1 = fade out, 2 = always)
  79. tacticalPing = 0; // Tactical ping (0 = disable, 1 = enable)
  80.  
  81. /* Personal awareness */
  82.  
  83. weaponInfo = 2; // Weapon info (0 = never, 1 = fade out, 2 = always)
  84. stanceIndicator = 2; // Stance indicator (0 = never, 1 = fade out, 2 = always)
  85. staminaBar = 1; // Stamina bar
  86. weaponCrosshair = 0; // Weapon crosshair
  87. visionAid = 0; // Vision aid
  88.  
  89. /* View */
  90.  
  91. thirdPersonView = 0; // 3rd person view
  92.  
  93. /* Multiplayer */
  94.  
  95. scoreTable = 1; // Score table
  96. deathMessages = 1; // Killed by
  97. vonID = 1; // VoN ID
  98.  
  99. /* Misc */
  100.  
  101. mapContent = 0; // Extended map content
  102. autoReport = 0; // (former autoSpot) Automatic reporting of spotted enemied by players only. This doesn't have any effect on AIs.
  103. multipleSaves = 0; // Multiple saves
  104. };
  105.  
  106. // aiLevelPreset defines AI skill level and is counted from 0 and can have following values: 0 (Low), 1 (Normal), 2 (High), 3 (Custom).
  107. // when 3 (Custom) is chosen, values of skill and precision are taken from the class CustomAILevel.
  108. aiLevelPreset = 3;
  109. };
  110.  
  111. class CustomAILevel
  112. {
  113. skillAI = 0.3;
  114. precisionAI = 0.1;
  115. };
  116. };
  117.  
  118. // LOGGING
  119. timeStampFormat = "short"; // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
  120. logFile = "server_console.log"; // Server console output filename
  121.  
  122. // SECURITY
  123. BattlEye = 0; // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
  124. verifySignatures = 2; // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
  125. kickDuplicate = 1; // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
  126. allowedFilePatching = 1; // Prevents clients with filePatching enabled from joining the server
  127. // (0 = block filePatching, 1 = allow headless clients, 2 = allow all) (default: 0, recommended: 1)
  128.  
  129. // FILE EXTENSIONS
  130.  
  131. // only allow files with those extensions to be loaded via loadFile command (since Arma 3 v1.19.124216)
  132. allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
  133.  
  134. // only allow files with those extensions to be loaded via preprocessFile / preprocessFileLineNumbers commands (since Arma 3 v1.19.124323)
  135. allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
  136.  
  137. // only allow files and URLs with those extensions to be loaded via htmlLoad command (since Arma 3 v1.27.126715)
  138. allowedHTMLLoadExtensions[] = {"htm","html","php","xml","txt"};
  139.  
  140. // EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  141. onUserConnected = ""; // command to run when a player connects
  142. onUserDisconnected = ""; // command to run when a player disconnects
  143. doubleIdDetected = ""; // command to run if a player has the same ID as another player in the server
  144. onUnsignedData = "kick (_this select 0)"; // command to run if a player has unsigned files
  145. onHackedData = "kick (_this select 0)"; // command to run if a player has tampered files
  146.  
  147. // HEADLESS CLIENT
  148. headlessClients[] = {"127.0.0.1", "127.0.0.2", "127.0.0.3", "127.0.0.4"}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
  149. localClient[] = {"127.0.0.1", "127.0.0.2", "127.0.0.3", "127.0.0.4"}; // list of IP addresses to which are granted unlimited bandwidth; example: {"127.0.0.1", "192.168.1.100"};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement