Advertisement
RicoAMPL

Untitled

May 26th, 2018
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 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 = "4Netplayers[BOS]ClanServer2"; // Name of the server displayed in the public server list
  14. password = "xxxxxx"; // Password required to join the server (remove // at start of line to enable)
  15. passwordAdmin = "xxxxxx"; // Password to login as admin. Open the chat and type: #login password
  16. maxPlayers = 8; // 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. "Willkommen bei 4Netplayers.de",
  43. "Willkommen auf diesem Arma 3 Server",
  44. "Powered by 4Netplayers"
  45. };
  46. motdInterval = 5; // Number of seconds between each message
  47.  
  48. // MISSIONS CYCLE
  49. class Missions
  50. {
  51.  
  52. class Mission1
  53. {
  54. template = "Liberation.Tanoa"; // Filename of pbo in MPMissions folder
  55. difficulty = "Recruit"; // "Recruit", "Regular", "Veteran", "Custom"
  56. };
  57.  
  58. };
  59.  
  60. // LOGGING
  61. timeStampFormat = "short"; // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
  62. logFile = "server_console.log"; // Server console output filename
  63.  
  64. // SECURITY
  65. BattlEye = 0; // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
  66. verifySignatures = 2; // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
  67. kickDuplicate = 1; // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
  68. 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)
  69.  
  70. // FILE EXTENSIONS
  71. 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)
  72. 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)
  73. 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)
  74.  
  75. // EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
  76. onUserConnected = ""; // command to run when a player connects
  77. onUserDisconnected = ""; // command to run when a player disconnects
  78. doubleIdDetected = ""; // command to run if a player has the same ID as another player in the server
  79. onUnsignedData = "kick (_this select 0)"; // command to run if a player has unsigned files
  80. onHackedData = "kick (_this select 0)"; // command to run if a player has tampered files
  81.  
  82. // HEADLESS CLIENT
  83. headlessClients[] = {"127.0.0.1"}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
  84. 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