Advertisement
Guest User

Untitled

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