Advertisement
Guest User

Arma 3 Server Help Needed

a guest
Dec 10th, 2015
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. Server.cfg
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. //
  10. // server.cfg
  11. //
  12. // comments are written with "//" in front of them.
  13.  
  14.  
  15. // GLOBAL SETTINGS
  16. hostname = "KingsRealm Arma 3 test server1"; // The name of the server that shall be displayed in the public server list
  17. password = ""; // Password for joining, eg connecting to the server
  18. passwordAdmin = "xyz"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
  19. serverCommandPassword = "xyzxyz"; // Password required by alternate syntax of [[serverCommand]] server-side scripting.
  20.  
  21. //reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers
  22. //reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers
  23. //reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead //this option is deprecated since A2: OA version 1.63
  24. //reportingIP = "arma3" //not used at all
  25. logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called
  26.  
  27.  
  28. // WELCOME MESSAGE ("message of the day")
  29. // It can be several lines, separated by comma
  30. // Empty messages "" will not be displayed at all but are only for increasing the interval
  31. motd[] = {
  32. "", "",
  33. "Two empty lines above for increasing interval",
  34. "Welcome to our server",
  35. "", "",
  36. "We are looking for fun - Join us Now !",
  37. "http://www.example.com",
  38. "One more empty line below for increasing interval",
  39. ""
  40. };
  41. motdInterval = 5; // Time interval (in seconds) between each message
  42.  
  43.  
  44. // JOINING RULES
  45. checkfiles[] = {}; // Outdated.
  46. maxPlayers = 64; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
  47. kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.
  48. verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed).
  49. equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
  50. allowedFilePatching = 0; // Allow or prevent client using -filePatching to join the server. 0, is disallow, 1 is allow HC, 2 is allow all clients (since Arma 3 1.49+)
  51. //requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect
  52.  
  53.  
  54. // VOTING
  55. voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen.
  56. voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective
  57.  
  58.  
  59. // INGAME SETTINGS
  60. disableVoN = 1; // If set to 1, Voice over Net will not be available
  61. vonCodecQuality = 0; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz is 21-30
  62. persistent = 1; // If 1, missions still run on even after the last player disconnected.
  63. timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
  64. BattlEye = 1; // Server to use BattlEye system
  65. 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 build 1.19.124216)
  66. 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/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323)
  67. allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"}; //only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 build 1.27.126715)
  68. //allowedHTMLLoadURIs = {}; // Leave commented to let missions/campaigns/addons decide what URIs are supported. Uncomment to define server-level restrictions for URIs
  69.  
  70.  
  71. // SCRIPTING ISSUES
  72. onUserConnected = ""; //
  73. onUserDisconnected = ""; //
  74. doubleIdDetected = ""; //
  75. //regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. //deprecated
  76.  
  77. // SIGNATURE VERIFICATION
  78. onUnsignedData = "kick (_this select 0)"; // unsigned data detected
  79. onHackedData = "ban (_this select 0)"; // tampering of the signature detected
  80. onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected
  81.  
  82.  
  83. // MISSIONS CYCLE (see below)
  84. class Missions
  85. {
  86. class Mission1
  87. {
  88. template="kingsrealm.Altis"; //Make sure the mission you want to set is located in the server's MPmissions folder!
  89. difficulty="Veteran";
  90. };
  91. }; // An empty Missions class means there will be no mission rotation
  92.  
  93. missionWhitelist[] = {}; //an empty whitelist means there is no restriction on what missions' available
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100. Server Run peramters
  101.  
  102.  
  103.  
  104.  
  105. ./arma3server -config={cfg1} -port={cfg2}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement