forked from Dahlgren/arma-server-web-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js.example
24 lines (24 loc) · 1 KB
/
config.js.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
game: 'arma3', // arma3, arma2oa, arma2, arma1, cwa, ofpresistance, ofp
path: 'path-to-arma3-directory',
port: 3000,
host: '0.0.0.0', // Can be either an IP or a Hostname
type: 'linux', // Can be either linux, windows or wine
additionalConfigurationOptions: '', // Additional configuration options appended to server.cfg file
parameters: [ // Additional startup parameters used by all servers
'-noSound',
'-world=empty'
],
serverMods: [ // Mods used exclusively by server and not shared with clients
'@mod1',
'@mod2',
],
admins: [], // add steam IDs here to enable #login without password
auth: { // If both username and password is set, HTTP Basic Auth will be used. You may use an array to specify more than one user.
username: '', // Username for HTTP Basic Auth
password: '', // Password for HTTP Basic Auth
},
prefix: "", // Prefix to all server names
suffix: "", // Suffix to all server names
logFormat: "dev", // expressjs/morgan log format
};