Advertisement
Fallox

config extdb2

Feb 19th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. [Main]
  2.  
  3. Version = 5
  4.  
  5.  
  6.  
  7. ;Threads = 0
  8.  
  9. ; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
  10.  
  11.  
  12.  
  13. Randomize Config File = false
  14.  
  15. ;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
  16.  
  17.  
  18.  
  19.  
  20.  
  21. [Rcon]
  22.  
  23. ;; This is functional, should be working fine. Just needs abit of testing on a $
  24.  
  25. ;; Allow for changing Address for those running server in a VM environment.
  26.  
  27. IP = 127.0.0.1
  28.  
  29. Port = 2302
  30.  
  31.  
  32.  
  33. ;; Rcon Password i.e Battleye/beserver.cfg
  34.  
  35. Password = password
  36.  
  37.  
  38.  
  39. ;; Bad Player Name Checks
  40.  
  41. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  42.  
  43. Bad Playername Enable = false
  44.  
  45. Bad Playername Kick Message = Bad Player Name
  46.  
  47.  
  48.  
  49. ;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
  50.  
  51. ;;Bad Playername Strings = (:):{:}
  52.  
  53. ;;Bad Playername Regex_1 = [:alnum:]
  54.  
  55. ;;Bad Playername Regex_2 = [:alnum:]
  56.  
  57. ;;Bad Playername Regex_3 = [:alnum:]
  58.  
  59.  
  60.  
  61.  
  62.  
  63. ;; Whitelisting / Reserve Slots
  64.  
  65. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  66.  
  67. Whitelist Enable = false
  68.  
  69. Whitelist Kick Message = Only Reserved Slots Left
  70.  
  71.  
  72.  
  73. Whitelist Public Slots = 999
  74.  
  75.  
  76.  
  77. ;; Database settings to use (Optional)
  78.  
  79. Whitelist Database = MySQL_Example
  80.  
  81. Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
  82.  
  83. Whitelist Kick on SQL Query Failed = false
  84.  
  85.  
  86.  
  87. ;; Hardcoded BEGuids for whitelisted players
  88.  
  89. ;Whitelist BEGuids = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
  90.  
  91.  
  92.  
  93.  
  94.  
  95. [Steam]
  96.  
  97. ;; This is for VAC Protocol for VAC Bans + Steam Friends.
  98.  
  99. ;; https://steamcommunity.com/dev/apikey
  100.  
  101. API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  102.  
  103.  
  104.  
  105.  
  106.  
  107. [VAC]
  108.  
  109. ;; This feature requires Steam + Rcon to be enabled.
  110.  
  111. ;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
  112.  
  113. Auto Ban = true
  114.  
  115.  
  116.  
  117. ;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
  118.  
  119. ;; This is also used extDB Protocol VAC:VACBanned returned results
  120.  
  121.  
  122.  
  123. NumberOfVACBans = 1
  124.  
  125. DaysSinceLastBan = 999999999
  126.  
  127. BanDuration = 0
  128.  
  129. ;; 0 = Forever, otherwise its x Minutes
  130.  
  131. BanMessage = Steam VAC Banned
  132.  
  133.  
  134.  
  135.  
  136.  
  137. [Log]
  138.  
  139. ;; Flush Logs after each write, more work on Harddrive
  140.  
  141. Flush = true
  142.  
  143.  
  144.  
  145.  
  146.  
  147. [MySQL_Example]
  148.  
  149. Type = MySQL
  150.  
  151. Name = altislife
  152.  
  153.  
  154.  
  155. Username = ****
  156.  
  157. Password = *********
  158.  
  159.  
  160.  
  161. IP = 127.0.0.1
  162.  
  163. Port = 3306
  164.  
  165.  
  166.  
  167. ;minSessions = 2
  168.  
  169. idleTime = 60
  170.  
  171.  
  172.  
  173. compress = false
  174.  
  175. ; Really should only use this if MySQL server is external. Also only for MySQL
  176.  
  177.  
  178.  
  179. Secure Auth = true
  180.  
  181. ; Recommend you turn this on http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html#option_mysql_secure-auth
  182.  
  183.  
  184.  
  185.  
  186.  
  187. [SQLite_Example]
  188.  
  189. Type = SQLite
  190.  
  191. Name = sqlite.db
  192.  
  193.  
  194.  
  195. minSessions = 1
  196.  
  197. ; minSession Default Value = 1
  198.  
  199.  
  200.  
  201. ;maxSessions = 4
  202.  
  203. ; maxSession Default Value = number of Main->Threads
  204.  
  205. ; You really should leave this value alone
  206.  
  207. idleTime = 60
  208.  
  209. ; idleTime no Default Value yet, needs to be defined.
  210.  
  211. ; idleTime is the time before a database session is stopped if not used.
  212.  
  213. ; If Database Sessions are greater than minSessions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement