arma-server-web-admin/config.js.example

39 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2014-02-09 03:19:48 +00:00
module.exports = {
2015-04-03 10:23:17 +00:00
game: 'arma3', // arma3, arma2oa, arma2, arma1, cwa, ofpresistance, ofp
2014-04-06 23:16:08 +00:00
path: 'path-to-arma3-directory',
2015-01-16 21:50:52 +00:00
port: 3000,
2015-05-29 15:24:18 +00:00
host: '0.0.0.0', // Can be either an IP or a Hostname
2014-04-06 23:16:08 +00:00
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'
],
2016-04-24 17:07:43 +00:00
serverMods: [ // Mods used exclusively by server and not shared with clients
'@mod1',
'@mod2',
],
virtualServer: {
enabled: false, // If virtual servers should be used
fileExtensions: [ // Extra files in root of server folder that should be copied to virtual servers
'.json'
],
folders: [ // Extra folders in root of server folder that should be linked to virtual servers
]
},
2021-07-10 13:54:10 +00:00
steam: {
apiKey: '1234567890ABCDE', // https://steamcommunity.com/dev/apikey
path: 'path-to-main-steam-folder',
username: 'steam_username',
password: 'steam_password',
},
admins: [], // add steam IDs here to enable #login without password
2017-09-30 12:13:59 +00:00
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
2017-09-30 12:43:42 +00:00
logFormat: "dev", // expressjs/morgan log format
2014-02-09 03:19:48 +00:00
};