Advertisement
Guest User

Untitled

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