Advertisement
Guest User

Untitled

a guest
Feb 4th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. [Main]
  2. Version = 5
  3. Threads = 4
  4. ; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
  5.  
  6. Randomize Config File = false
  7. ;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
  8.  
  9.  
  10. [Rcon]
  11. ;; This is functional, should be working fine. Just needs abit of testing on a $
  12. ;; Allow for changing Address for those running server in a VM environment.
  13. IP = 127.0.0.1
  14. Port = 2302
  15.  
  16. ;; Rcon Password i.e Battleye/beserver.cfg
  17. Password = PMdEsFUWmkq4BcMdUa8BJubbA
  18.  
  19. ;; Bad Player Name Checks
  20. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  21. Bad Playername Enable = true
  22. Bad Playername Kick Message = Bad Player Name
  23.  
  24. ;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
  25. Bad Playername Strings = (:):{:}
  26. Bad Playername Regex_1 = [:alnum:]
  27. Bad Playername Regex_2 = [:alnum:]
  28. Bad Playername Regex_3 = [:alnum:]
  29.  
  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.  
  47. [RemoteAccess]
  48. ;; Remote TCP Access to extDB2
  49. Enable = false
  50.  
  51. Port = 2300
  52. MaxThreads = 4
  53. MaxQueued = 4
  54. IdleTime = 120
  55.  
  56. Password = password
  57.  
  58.  
  59. [Steam]
  60. ;; This is for VAC Protocol for VAC Bans + Steam Friends.
  61. ;; https://steamcommunity.com/dev/apikey
  62. API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  63.  
  64.  
  65. [VAC]
  66. ;; This feature requires Steam + Rcon to be enabled.
  67. ;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
  68. Auto Ban = true
  69.  
  70. ;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
  71. ;; This is also used extDB Protocol VAC:VACBanned returned results
  72.  
  73. NumberOfVACBans = 1
  74. DaysSinceLastBan = 999999999
  75. BanDuration = 0
  76. ;; 0 = Forever, otherwise its x Minutes
  77. BanMessage = Steam VAC Banned
  78.  
  79.  
  80. [Log]
  81. ;; Flush Logs after each write, more work on Harddrive
  82. Flush = true
  83.  
  84. [AltisLife]
  85. ;; Example of MySQL
  86. ;; AtlisLifeRPG uses Database2 by default
  87. Type = MySQL
  88. Name = altislife
  89. Username = ----
  90. Password = ----
  91. IP = 127.0.0.1
  92. Port = 3306
  93.  
  94. minSessions = 1
  95. ;maxSessions = 4
  96. idleTime = 60
  97.  
  98. compress = false
  99. ; Should only use this if MySQL server is external. Also only for MySQL
  100.  
  101. Secure Auth = true
  102. ; Recommend you turn this on
  103.  
  104. [SQLite_Example]
  105. Type = SQLite
  106. Name = sqlite.db
  107.  
  108. minSessions = 1
  109. ; minSession Default Value = 1
  110.  
  111. ;maxSessions = 4
  112. ; maxSession Default Value = number of Main->Threads
  113. ; You really should leave this value alone
  114. idleTime = 60
  115. ; idleTime no Default Value yet, needs to be defined.
  116. ; idleTime is the time before a database session is stopped if not used.
  117. ; If Database Sessions are greater than minSessions
  118.  
  119.  
  120. [HTTP_Example]
  121. Type = HTTP
  122.  
  123. Host = 127.0.0.1
  124. Port = 80
  125.  
  126. ; Username = user
  127. ; Password = password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement