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