forked from auQuiksilver/Apex-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.cfg
123 lines (92 loc) · 7.56 KB
/
server.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/*/
File: server.cfg
Author:
Quiksilver
Last Modified:
19/02/2018 A3 1.80 by Quiksilver
Description:
http://community.bistudio.com/wiki/server.cfg
Instructions:
0. set hostname, under GENERAL SETTINGS
1. set password, under GENERAL SETTINGS
2. set passwordAdmin, under GENERAL SETTINGS
3. set maxPlayers, under GENERAL SETTINGS
4. set steamPort + steamQueryPort if necessary
5. set Mission Template, under MISSION WHITELIST
6. set missionWhitelist[], make sure correct pbo is added with given format
7. set forcedDifficulty = "Custom";
8. set serverCommandPassword under SECURITY. Note, this must match up with serverCommandPassword function in mod file.
____________________________________________________________/*/
//======================================================= GENERAL SETTINGS
hostname = "my server"; // Name of the server displayed in the public server list
password = "password"; // Password required to join the server
passwordAdmin = "adminpassword"; // Password to login as admin. Open the chat and type: #login password
admins[] = {"76561100000000000","76561198084065754"}; // UIDs authorized to log in as admin on server
maxPlayers = 64; // Maximum amount of players, including headless clients. Anybody who joins the server is considered a player, regardless of their role or team.
persistent = 1; // If set to 1, missions will continue to run after all players have disconnected; required if you want to use the -autoInit startup parameter
statisticsEnabled = 1; // BIS Analytics
//======================================================= GAMEPLAY
forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
drawingInMap = 1; // Enables or disables the ability to draw lines in map. Default = 1 (since Arma 3 1.63+).
//======================================================= CLIENT STABILITY
kickClientsOnSlowNetwork[] = {0,0,0,0}; // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1) (since Arma 3 1.56+)
maxPing = 350; // Max ping value until server kick the user (since Arma 3 1.56+)
maxPacketLoss = 50; // Max packetloss value until server kick the user (since Arma 3 1.56+)
maxDesync = 150; // Max desync value until server kick the user (since Arma 3 1.56+)
disconnectTimeout = 90; // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 1.56+)
//======================================================= VOICE CHAT
disableVoN = 0; // If set to 1, voice chat will be disabled
disableChannels[]={{0,TRUE,TRUE},{1,TRUE,TRUE},{2,FALSE,FALSE},{3,FALSE,FALSE},{4,FALSE,FALSE},{5,FALSE,FALSE}};
vonCodecQuality = 10; // Supports range 1-30; 1-10 is 8kHz (narrowband), 11-20 is 16kHz (wideband), 21-30 is 32kHz (ultrawideband); higher = better sound quality, more bandwidth consumption
vonCodec = 1; // Experimental Opus VON codec
//======================================================= VOTING
voteMissionPlayers = 1; // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
voteThreshold = 9999; // Percentage (0.00 to 1.00) of players needed to vote something into effect, for example an admin or a new mission. Set to 9999 to prevent random players being voted as admins.
allowedVoteCmds[] = {}; // https://community.bistudio.com/wiki/Arma_3:_Mission_voting
allowedVotedAdminCmds[] = {}; // https://community.bistudio.com/wiki/Arma_3:_Mission_voting
//======================================================= STEAM PORTS
steamPort = 2313; // default 8766, needs to be unique if multiple serves on same box
steamQueryPort = 2314; // default 27016, needs to be unique if multiple servers on same box
//======================================================= HEADLESS CLIENT https://community.bistudio.com/wiki/Arma_3_Headless_Client
headlessClients[] = {"127.0.0.1"}; // Valid Headless Client IPs
localClient[] = {"127.0.0.1"}; // Client IPs to assign unlimited bandwidth
//======================================================= WELCOME MESSAGE ("message of the day")
motd[] = {}; // Use "chatMessages.sqf" instead
motdInterval = 20; // Number of seconds between each message
//======================================================= MISSION WHITELIST
class Missions {
class apex_framework {
//template = "Apex_framework_106.Altis"; // Select only 1
//template = "Apex_framework_106.Tanoa"; // Select only 1
template = "Apex_framework_106.Malden"; // Select only 1
difficulty = "Custom";
};
};
missionWhitelist[] = {
"Apex_framework_106.Altis",
"Apex_framework_106.Tanoa",
"Apex_framework_106.Malden"
};
forcedDifficulty = "Custom";
//======================================================= LOGGING
timeStampFormat = "short"; // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
logFile = "server_console.log"; // Server console output filename
//======================================================= SECURITY https://community.bistudio.com/wiki/Arma_3:_Server_Security
BattlEye = 1; // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
verifySignatures = 2; // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
kickDuplicate = 1; // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
regularCheck = "";
battleyeLicense = 1;
allowedFilePatching = 1; // Prevent or allow file patching for the clients (including the HC) (since Arma 3 1.49+). 0 = no clients, 1 = headless client only, 2 = all clients.
serverCommandPassword = "ShVQArtpGdc5aDQq"; // Password required by server to execute commands
allowedLoadFileExtensions[] = {"wav"}; // only allow files with those extensions to be loaded via loadFile command (since Arma 3 v1.19.124216)
allowedPreprocessFileExtensions[] = {"sqf"}; // only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 v1.19.124323)
allowedHTMLLoadExtensions[] = {}; // only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 v1.27.126715)
allowedHTMLLoadURIs[] = {}; // Uncomment to define server-level restrictions for URIs
//======================================================= EVENT SCRIPTS http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
onUserConnected = ""; // command to run when a player connects
onUserDisconnected = ""; // command to run when a player disconnects
doubleIdDetected = ""; // command to run if a player has the same ID as another player in the server
onUnsignedData = "kick (_this select 0)"; // command to run if a player has unsigned files
onHackedData = "kick (_this select 0)"; // command to run if a player has tampered files
onDifferentData = "kick (_this select 0)"; // data with a valid signature, but different version than the one present on server detected