Advertisement
droidmahn

Untitled

Feb 15th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. [Main]
  2. Version = 5
  3. ;Threads = 0
  4. ; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
  5. Randomize Config File = false
  6. ;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
  7.  
  8.  
  9. [Rcon]
  10. ;; This is functional, should be working fine. Just needs abit of testing on a $
  11. ;; Allow for changing Address for those running server in a VM environment.
  12. IP = 127.0.0.1
  13. Port = 2302
  14.  
  15. ;; Rcon Password i.e Battleye/beserver.cfg
  16. Password = password
  17.  
  18. ;; Bad Player Name Checks
  19. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  20. Bad Playername Enable = false
  21. Bad Playername Kick Message = Bad Player Name
  22.  
  23. ;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
  24. Bad Playername Strings = (:):{:}
  25. ;;Bad Playername Regex_1 = [:alnum:]
  26. ;;Bad Playername Regex_2 = [:alnum:]
  27. ;;Bad Playername Regex_3 = [:alnum:]
  28.  
  29. ;; Whitelisting / Reserve Slots
  30. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  31. Whitelist Enable = false
  32. Whitelist Kick Message = Only Reserved Slots Left
  33. Whitelist Public Slots = 999
  34.  
  35. ;; Database settings to use (Optional)
  36. Whitelist Database = MySQL_Example
  37. Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
  38. Whitelist Kick on SQL Query Failed = false
  39.  
  40. ;; Hardcoded BEGuids for whitelisted players
  41. ;Whitelist BEGuids = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
  42.  
  43. [Steam]
  44. ;; This is for VAC Protocol for VAC Bans + Steam Friends.
  45. ;; https://steamcommunity.com/dev/apikey
  46. API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  47.  
  48. [VAC]
  49. ;; This feature requires Steam + Rcon to be enabled.
  50. ;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
  51. Auto Ban = false
  52.  
  53. ;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
  54. ;; This is also used extDB Protocol VAC:VACBanned returned results
  55.  
  56. NumberOfVACBans = 1
  57. DaysSinceLastBan = 999999999
  58. BanDuration = 1
  59. ;; 0 = Forever, otherwise its x Minutes
  60. BanMessage = Steam VAC Banned
  61.  
  62. [Log]
  63. ;; Flush Logs after each write, more work on Harddrive
  64. Flush = true
  65.  
  66. [AltisLife]
  67. Type = MySQL
  68. Name = arma3life
  69. Username = altislife
  70. Password = redacted
  71. IP = 127.0.0.1
  72. Port = 3306
  73. minSessions = 2
  74. idleTime = 60
  75. ; Really should only use this if MySQL server is external. Also only for MySQL
  76. compress = false
  77. ; Recommend you turn this on http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html#option_mysql_secure-auth
  78. Secure Auth = true
  79.  
  80. minSessions = 1
  81. ; minSession Default Value = 1
  82.  
  83. ;maxSessions = 4
  84. ; maxSession Default Value = number of Main->Threads
  85. ; You really should leave this value alone
  86. idleTime = 60
  87. ; idleTime no Default Value yet, needs to be defined.
  88. ; idleTime is the time before a database session is stopped if not used.
  89. ; If Database Sessions are greater than minSessions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement