Advertisement
Guest User

Untitled

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