Guest User

Untitled

a guest
Aug 16th, 2015
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 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 = "Welp"; // Name of the server displayed in the public server list
  14. password = "***"; // Password required to join the server (remove // at start of line to enable)
  15. passwordAdmin = "***"; // 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",
  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";
  54. difficulty="Regular"; // "Recruit", "Regular", "Veteran", "Mercenary"
  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 = 0; // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
  65. kickDuplicate = 0; // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
  66.  
  67. // FILE EXTENSIONS
  68. 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)
  69. 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 v1.19.124323)
  70. allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"}; // only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 v1.27.126715)
  71.  
  72. // EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  73. onUserConnected = ""; // command to run when a player connects
  74. onUserDisconnected = ""; // command to run when a player disconnects
  75. doubleIdDetected = ""; // command to run if a player has the same ID as another player in the server
  76. onUnsignedData = "kick (_this select 0)"; // command to run if a player has unsigned files
  77. onHackedData = "kick (_this select 0)"; // command to run if a player has tampered files
  78.  
  79. // HEADLESS CLIENT
  80. headlessClients[] = {}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
  81. localClient[] = {}; // 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