77wisher77

ptero default config

Aug 12th, 2023
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 KB | None | 0 0
  1. // ****************************************************************************
  2. // *
  3. // ArmA 3 Server Config File - server.cfg *
  4. // *
  5. // More info about parameters: *
  6. // https://community.bistudio.com/wiki/server.cfg *
  7. // *
  8. // ****************************************************************************
  9.  
  10. // Some settings are not listed here; see link above for extensive list.
  11. // Some settings are disabled (commented out). Remove the // to enable them.
  12.  
  13. // === GLOBAL SETTINGS ===
  14.  
  15. // Hostname for server.
  16. hostname = "The Flockin' Zoo Arma Server";
  17.  
  18. // Server password - for private servers.
  19. password = "SECRET";
  20.  
  21. // Admin Password
  22. passwordAdmin = "SECRET";
  23.  
  24. // Whitelisted Admins - Clients that do not need a password to login.
  25. //admins[] = { "UID OR steamID64", "0123456789", "9876543210" };
  26.  
  27. // Server Command Password - for scripting and certain mods.
  28. //serverCommandPassword = "COMMANDPASSWORD";
  29.  
  30. // Log File
  31. logFile = "server_console.log";
  32. // RPT File Timestamp Format - none | short | full
  33. timeStampFormat = "short";
  34.  
  35. // Message of the Day (MOTD)
  36. motd[] = {
  37. "Welcome to My Arma 3 Server",
  38. "TS3 Server: teamspeak.somewhere.com",
  39. "Web: www.example.com"
  40. };
  41. // MOTD Interval - Seconds between each message.
  42. motdInterval = 5;
  43.  
  44. // Missions Cycle
  45. class Missions
  46. {
  47. class Mission1
  48. {
  49. template = MP_ZGM_m11.Altis;
  50. difficulty = "Regular";
  51. class Params {};
  52. };
  53. class Mission2
  54. {
  55. template = MP_ZGM_m12.Stratis;
  56. difficulty = "Recruit";
  57. class Params {};
  58. };
  59. };
  60.  
  61. autoSelectMission = 1;
  62.  
  63. // Whitelisted Missions - Only these missions can be selected on the mission select screen.
  64. //missionWhitelist[] = { "MP_ZGM_m11.Altis", "MP_ZGM_m12.Stratis" };
  65.  
  66.  
  67. // === JOINING RULES ===
  68.  
  69. // Server Slots
  70. maxPlayers = 32;
  71.  
  72. // Enable BattlEye
  73. BattlEye = 1;
  74.  
  75. // Addon Signature Verification - Verifies .pbos against .bisign files - 0 = Disabled | 2 = Enabled (v2)
  76. verifySignatures = 2;
  77.  
  78. // Kick Duplicate Player IDs - 0 = No | 1 = Yes
  79. kickDuplicate = 1;
  80. // Allow File Patching - 0 = No Clients | 1 = Headless Clients only | 2 = All Clients
  81. allowedFilePatching = 0;
  82. // Minimum Required Client Version
  83. //requiredBuild = 999999999;
  84. // LAN Mode
  85. loopback = 0;
  86. // UPNP Router Mode
  87. upnp = 0;
  88.  
  89. // Headless Client IP Whitelists
  90. headlessClients[] = { "127.0.0.1" };
  91. localClient[] = { "127.0.0.1" };
  92.  
  93.  
  94. // === INGAME SETTINGS ===
  95.  
  96. // Advanced Flight Model Enforcement - 0 = Up to player | 1 = Advanced model enforced | 2 = Simple model enforced
  97. forceRotorLibSimulation = 0;
  98.  
  99. // Disable In-Game Voice Chat (Voice over Network)
  100. disableVoN = 0;
  101. // VoN Codec - 0 = older SPEEX codec | 1 = newer IETF standard OPUS codec
  102. vonCodec = 1;
  103. // VoN Codec Quality
  104. // 0-10 = 8kHz (narrowband).
  105. // 11-20 = 16kHz (wideband).
  106. // 21-30 = 32kHz (ultrawideband).
  107. vonCodecQuality = 10;
  108.  
  109. // Persistent Mission - Keeps mission running when all players disconnect.
  110. persistent = 0;
  111.  
  112. // Allow Drawing in Map
  113. drawingInMap = 1;
  114.  
  115. // Enforce Difficulty - Use "Custom" for ServerProfile-defined custom difficulty
  116. forcedDifficulty = "regular";
  117.  
  118.  
  119. // === VOTING ===
  120.  
  121. // Allowed Vote Commands - Un-comment this to prevent voted commands (like vote-kick)
  122. //allowedVoteCmds[] = {};
  123.  
  124. // Start mission-voting when X number of players connect.
  125. voteMissionPlayers = 1;
  126.  
  127. // Vote Threshold - Percentage of votes needed to confirm a vote.
  128. voteThreshold = 0.33;
  129.  
  130.  
  131. // === CLIENT NETWORK HEALTH ===
  132.  
  133. // Seconds to wait before disconnecting a user which temporarily lost connection.
  134. disconnectTimeout = 90;
  135. // Max Desync Value
  136. maxdesync = 150;
  137. // Max Ping (ms)
  138. maxping = 200;
  139. // Max Packet Loss
  140. maxpacketloss = 50;
  141.  
  142. // Action to Take on Slow Network (defined above)
  143. // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1)
  144. kickClientsOnSlowNetwork[] = { 1, 1, 0, 1 };
  145.  
  146. // Kick Duration (temp-ban) on Network Kick
  147. // Options {<manual kick>, <connectivity kick>, <BattlEye kick>, <harmless kick>} -- Timeout {>0 seconds; -1 until missionEnd; -2 until serverRestart}
  148. kickTimeout[] = { {0, -1},{1, 1},{2, 5},{3, 1} };
  149.  
  150.  
  151. // === SERVER SIDE SCRIPTING ===
  152. // See https://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  153.  
  154. onUserConnected = "";
  155. onUserDisconnected = "";
  156. doubleIdDetected = "";
  157.  
  158. onUnsignedData = "kick (_this select 0)";
  159. onHackedData = "kick (_this select 0)";
  160. onDifferentData = "";
  161.  
  162. // Only allow files with these extensions to be loaded via loadFile command
  163. allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
  164. // Only allow files with these extensions to be loaded via preprocessFile/preprocessFileLineNumber commands
  165. allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
  166. // Only allow files with these extensions to be loaded via HTMLLoad command
  167. allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"};
  168. // Leave commented to let missions/campaigns/addons decide what URIs are supported. Un-comment to define server-level restrictions for URIs
  169. //allowedHTMLLoadURIs = {};
  170.  
Add Comment
Please, Sign In to add comment