Guest User

arma_server.cfg

a guest
Jun 24th, 2016
2,195
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 = "My 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 = "AdminPassword"; // 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 = 0; // If set to 1, voice chat will be disabled
  21. 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
  22.  
  23. // VOTING
  24. voteMissionPlayers = 1; // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
  25. 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.
  26. allowedVoteCmds[] = // Voting commands allowed to players
  27. {
  28. // {command, preinit, postinit, threshold} - specifying a threshold value will override "voteThreshold" for that command
  29. {"admin", false, false}, // vote admin
  30. {"kick", false, true, 0.51}, // vote kick
  31. {"missions", false, false}, // mission change
  32. {"mission", false, false}, // mission selection
  33. {"restart", false, false}, // mission restart
  34. {"reassign", false, false} // mission restart with roles unassigned
  35. };
  36.  
  37. // WELCOME MESSAGE ("message of the day")
  38. // It can be several lines, separated by comma
  39. // Empty messages "" will not be displayed, but can be used to increase the delay before other messages
  40. motd[] =
  41. {
  42. "Welcome to My Arma 3 Server",
  43. "Teamspeak: ts.somewhere.com",
  44. "Website: www.example.com"
  45. };
  46. motdInterval = 5; // Number of seconds between each message
  47.  
  48. // MISSIONS CYCLE
  49. class Missions
  50. {
  51. class Mission1
  52. {
  53. template = "MyMission.Altis"; // Filename of pbo in MPMissions folder
  54. difficulty = "Regular"; // "Recruit", "Regular", "Veteran", "Custom"
  55. };
  56. };
  57.  
  58. // LOGGING
  59. timeStampFormat = "short"; // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
  60. logFile = "server_console.log"; // Server console output filename
  61.  
  62. // SECURITY
  63. BattlEye = 1; // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
  64. verifySignatures = 2; // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
  65. kickDuplicate = 1; // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
  66. allowedFilePatching = 1; // Prevents clients with filePatching enabled from joining the server (0 = block filePatching, 1 = allow headless clients, 2 = allow all) (default: 0, recommended: 1)
  67.  
  68. // FILE EXTENSIONS
  69. 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)
  70. 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)
  71. 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)
  72.  
  73. // EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  74. onUserConnected = ""; // command to run when a player connects
  75. onUserDisconnected = ""; // command to run when a player disconnects
  76. doubleIdDetected = ""; // command to run if a player has the same ID as another player in the server
  77. onUnsignedData = "kick (_this select 0)"; // command to run if a player has unsigned files
  78. onHackedData = "kick (_this select 0)"; // command to run if a player has tampered files
  79.  
  80. // HEADLESS CLIENT
  81. headlessClients[] = {"127.0.0.1"}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
  82. localClient[] = {"127.0.0.1"}; // list of IP addresses to which are granted unlimited bandwidth; example: {"127.0.0.1", "192.168.1.100"};
RAW Paste Data