Advertisement
Guest User

meme

a guest
Jun 28th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 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 = cgmemes%
  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. [RemoteAccess]
  49. ;; Remote TCP Access to extDB2
  50. Enable = true
  51.  
  52. Port = 2300
  53. MaxThreads = 4
  54. MaxQueued = 4
  55. IdleTime = 120
  56.  
  57. Password = password
  58.  
  59.  
  60. [Steam]
  61. ;; This is for VAC Protocol for VAC Bans + Steam Friends.
  62. ;; https://steamcommunity.com/dev/apikey
  63. API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  64.  
  65.  
  66. [VAC]
  67. ;; This feature requires Steam + Rcon to be enabled.
  68. ;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
  69. Auto Ban = true
  70.  
  71. ;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
  72. ;; This is also used extDB Protocol VAC:VACBanned returned results
  73.  
  74. NumberOfVACBans = 1
  75. DaysSinceLastBan = 999999999
  76. BanDuration = 0
  77. ;; 0 = Forever, otherwise its x Minutes
  78. BanMessage = Steam VAC Banned
  79.  
  80.  
  81. [Log]
  82. ;; Flush Logs after each write, more work on Harddrive
  83. Flush = true
  84.  
  85.  
  86. [Database2]
  87. Type = MySQL
  88. Name = life
  89.  
  90. Username = root
  91. Password =
  92.  
  93. IP = 127.0.0.1
  94. Port = 3306
  95.  
  96. ;minSessions = 2
  97. idleTime = 60
  98.  
  99. compress = false
  100. ; Really should only use this if MySQL server is external. Also only for MySQL
  101.  
  102. Secure Auth = true
  103. ; Recommend you turn this on http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html#option_mysql_secure-auth
  104.  
  105.  
  106. [SQLite_Example]
  107. Type = SQLite
  108. Name = sqlite.db
  109.  
  110. minSessions = 1
  111. ; minSession Default Value = 1
  112.  
  113. ;maxSessions = 4
  114. ; maxSession Default Value = number of Main->Threads
  115. ; You really should leave this value alone
  116. idleTime = 60
  117. ; idleTime no Default Value yet, needs to be defined.
  118. ; idleTime is the time before a database session is stopped if not used.
  119. ; If Database Sessions are greater than minSessions
  120.  
  121.  
  122. [HTTP_Example]
  123. Type = HTTP
  124.  
  125. Host = 127.0.0.1
  126. Port = 80
  127.  
  128. ; Username = user
  129. ; Password = password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement