Advertisement
Guest User

Untitled

a guest
Jan 24th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 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 serves on same box
  10. // steamQueryPort = 27016; // default 27016, needs to be unique if multiple servers on same box
  11.  
  12. // GENERAL SETTINGS
  13. hostname = "Ukraine Arma 3 Server"; // Name of the server displayed in the public server list
  14. //password = "ServerPassword"; // Password required to join the server (remove // at start of line to enable)
  15. passwordAdmin = "737373"; // Password to login as admin. Open the chat and type: #login password
  16. admins[] = {"76561198013704478","76561198054446177"}; // ІД адміністраторов чи нікі
  17. maxPlayers = 40; // Maximum amount of players, including headless clients. Anybody who joins the server is considered a player, regardless of their role or team.
  18. 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
  19. upnp = 1; // upnp
  20.  
  21. // VOICE CHAT
  22. disableVoN = 1; // If set to 1, voice chat will be disabled
  23. 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
  24.  
  25. // VOTING
  26. voteMissionPlayers = 1; // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
  27. voteThreshold = 0.51; // 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.
  28. allowedVoteCmds[] = // Voting commands allowed to players
  29. {
  30. // {command, preinit, postinit, threshold} - specifying a threshold value will override "voteThreshold" for that command
  31. {"admin", false, false}, // vote admin
  32. {"kick", false, true, 0.51}, // vote kick
  33. {"missions", true, true, 0.51}, // mission change
  34. {"mission", true, true, 0.51}, // mission selection
  35. {"restart", true, true, 0.51}, // mission restart
  36. {"reassign", false, false} // mission restart with roles unassigned
  37. };
  38.  
  39. // WELCOME MESSAGE ("message of the day")
  40. // It can be several lines, separated by comma
  41. // Empty messages "Ukraine Arma" will not be displayed, but can be used to increase the delay before other messages
  42. motd[] =
  43. {
  44. "Welcome to Ukraine Arma 3 Server",
  45. "Teamspeak: ukraine.ts3.mejorserver.com",
  46. "Website: http://ompb.at.ua/",
  47. "Welcome to Ukraine Arma 3 Server",
  48. "Teamspeak: ukraine.ts3.mejorserver.com",
  49. "Website: http://ompb.at.ua/",
  50. "Welcome to Ukraine Arma 3 Server",
  51. "Teamspeak: ukraine.ts3.mejorserver.com",
  52. "Website: http://ompb.at.ua/",
  53. "Welcome to Ukraine Arma 3 Server",
  54. "Teamspeak: ukraine.ts3.mejorserver.com",
  55. "Website: http://ompb.at.ua/",
  56. "Welcome to Ukraine Arma 3 Server",
  57. "Teamspeak: ukraine.ts3.mejorserver.com",
  58. "Website: http://ompb.at.ua/",
  59. "Welcome to Ukraine Arma 3 Server",
  60. "Teamspeak: ukraine.ts3.mejorserver.com",
  61. "Website: http://ompb.at.ua/",
  62. "Welcome to Ukraine Arma 3 Server",
  63. "Teamspeak: ukraine.ts3.mejorserver.com",
  64. "Website: http://ompb.at.ua/",
  65. "Welcome to Ukraine Arma 3 Server",
  66. "Teamspeak: ukraine.ts3.mejorserver.com",
  67. "Website: http://ompb.at.ua/",
  68. "Welcome to Ukraine Arma 3 Server",
  69. "Teamspeak: ukraine.ts3.mejorserver.com",
  70. "Website: http://ompb.at.ua/"
  71. };
  72. motdInterval = 60; // Number of seconds between each message
  73.  
  74. // MISSIONS CYCLE
  75. forcedDifficulty = "Veteran";
  76. class Missions
  77. {
  78. class Mission1
  79. {
  80. template = "Reconnaissance_by_Fighting.Woodland_ACR"; // Filename of pbo in MPMissions folder
  81. difficulty = "Veteran"; // "Recruit", "Regular", "Veteran", "Custom"
  82. };
  83. class Mission2
  84. {
  85. template = "Paradrop.Tanoa"; // Filename of pbo in MPMissions folder
  86. difficulty = "Veteran"; // "Recruit", "Regular", "Veteran", "Custom"
  87. };
  88. class Mission3
  89. {
  90. template = "Povzuchiy_nastup.Bootcamp_ACR"; // Filename of pbo in MPMissions folder
  91. difficulty = "Veteran"; // "Recruit", "Regular", "Veteran", "Custom"
  92. };
  93. class Mission4
  94. {
  95. template = "Ukrainian%20SOF.Woodland_ACR"; // Filename of pbo in MPMissions folder
  96. difficulty = "Veteran"; // "Recruit", "Regular", "Veteran", "Custom"
  97. };
  98. class Mission5
  99. {
  100. template = "Povzuchiy_nastup_2.Malden"; // Filename of pbo in MPMissions folder
  101. difficulty = "Veteran"; // "Recruit", "Regular", "Veteran", "Custom"
  102. };
  103. class Mission6
  104. {
  105. template = "Zasidka2.Stratis"; // Filename of pbo in MPMissions folder
  106. difficulty = "Veteran"; // "Recruit", "Regular", "Veteran", "Custom"
  107. };
  108. };
  109.  
  110. missionWhitelist[] = {"Reconnaissance_by_Fighting.Woodland_ACR","Paradrop.Tanoa","Povzuchiy_nastup.Bootcamp_ACR","Ukrainian%20SOF.Woodland_ACR","HARD%20STUFF.Altis","Povzuchiy_nastup_2.Malden","Zasidka2.Stratis", "Sniper_20Elite_201.zargabad"
  111. }; //an empty whitelist means there is no restriction on what missions' available
  112.  
  113. // LOGGING
  114. timeStampFormat = "full"; // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
  115. logFile = "server_console.log"; // Server console output filename
  116.  
  117. // SECURITY
  118. BattlEye = 1; // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
  119. verifySignatures = 2; // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
  120. kickDuplicate = 1; // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
  121. allowedFilePatching = 0; // Prevents clients with filePatching enabled from joining the server (0 = block filePatching, 1 = allow headless clients, 2 = allow all) (default: 0, recommended: 1)
  122.  
  123. // FILE EXTENSIONS
  124. 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 v1.19.124216)
  125. 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 / preprocessFileLineNumbers commands (since Arma 3 v1.19.124323)
  126. allowedHTMLLoadExtensions[] = {"htm","html","php","xml","txt"}; // only allow files and URLs with those extensions to be loaded via htmlLoad command (since Arma 3 v1.27.126715)
  127.  
  128. // EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  129. onUserConnected = ""; // command to run when a player connects
  130. onUserDisconnected = ""; // command to run when a player disconnects
  131. doubleIdDetected = ""; // command to run if a player has the same ID as another player in the server
  132. onUnsignedData = "kick (_this select 0)"; // command to run if a player has unsigned files
  133. onHackedData = "kick (_this select 0)"; // command to run if a player has tampered files
  134.  
  135. // HEADLESS CLIENT
  136. headlessClients[] = {"127.0.0.1"}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
  137. localClient[] = {"127.0.0.1"}; // 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