arma-server-web-admin/config.js.example
2021-07-10 16:16:18 +02:00

31 lines
1.2 KiB
Plaintext

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',
],
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
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
};