· 6 years ago · Feb 15, 2020, 10:20 PM
1[Main]
2Version = 5
3;Threads = 0
4; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
5Randomize Config File = false
6;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
7
8
9[Rcon]
10;; This is functional, should be working fine. Just needs abit of testing on a $
11;; Allow for changing Address for those running server in a VM environment.
12IP = 127.0.0.1
13Port = 2302
14
15;; Rcon Password i.e Battleye/beserver.cfg
16Password = password
17
18;; Bad Player Name Checks
19;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
20Bad Playername Enable = true
21Bad Playername Kick Message = Bad Player Name
22
23;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
24Bad Playername Strings = (:):{:}
25;;Bad Playername Regex_1 = [:alnum:]
26;;Bad Playername Regex_2 = [:alnum:]
27;;Bad Playername Regex_3 = [:alnum:]
28
29;; Whitelisting / Reserve Slots
30;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
31Whitelist Enable = false
32Whitelist Kick Message = Only Reserved Slots Left
33Whitelist Public Slots = 999
34
35;; Database settings to use (Optional)
36Whitelist Database = MySQL_Example
37Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
38Whitelist Kick on SQL Query Failed = false
39
40;; Hardcoded BEGuids for whitelisted players
41;Whitelist BEGuids = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
42
43[Steam]
44;; This is for VAC Protocol for VAC Bans + Steam Friends.
45;; https://steamcommunity.com/dev/apikey
46API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
47
48[VAC]
49;; This feature requires Steam + Rcon to be enabled.
50;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
51Auto Ban = false
52
53;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
54;; This is also used extDB Protocol VAC:VACBanned returned results
55
56NumberOfVACBans = 1
57DaysSinceLastBan = 999999999
58BanDuration = 1
59;; 0 = Forever, otherwise its x Minutes
60BanMessage = Steam VAC Banned
61
62[Log]
63;; Flush Logs after each write, more work on Harddrive
64Flush = true
65
66[exile]
67Type = MySQL
68Name = exile
69Username = root
70Password =
71IP = 127.0.0.1
72Port = 3306
73minSessions = 2
74idleTime = 60
75; Really should only use this if MySQL server is external. Also only for MySQL
76compress = false
77; Recommend you turn this on http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html#option_mysql_secure-auth
78Secure Auth = true
79
80[SQLite_Example]
81Type = SQLite
82Name = sqlite.db
83
84minSessions = 1
85; minSession Default Value = 1
86
87;maxSessions = 4
88; maxSession Default Value = number of Main->Threads
89; You really should leave this value alone
90idleTime = 60
91; idleTime no Default Value yet, needs to be defined.
92; idleTime is the time before a database session is stopped if not used.
93; If Database Sessions are greater than minSessions