Skip to content

Commit

Permalink
Added/Changed - ArmaManager configs to sample & arma-server to our own
Browse files Browse the repository at this point in the history
What
=================
Added: ArmaManager required configs to `config.json.sample`.
Changed: arma-server npm package from the original to our own fork of
the original. We may make a pull request to add in an option for
detached spawning at some point.

Why
=================
We're using our own fork of arma-server because the original doesn't
have a detached option: https://github.com/2bnb/node-arma-server.

Issue ID: #1
  • Loading branch information
Saborknight committed Mar 2, 2020
1 parent b95bef8 commit fa5a9ab
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 10 deletions.
53 changes: 53 additions & 0 deletions config.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,58 @@
"actions": {
"start_arma": "echo \"Stop arma\"",
"stop_arma": "echo \"Stop arma\""
},
"defaultServerSettings" : {
"arma" : {
"nicename": "Arma server",
"options" : {
"path": "D:\\Programs\\Steam\\steamapps\\common\\Arma 3 Server",
"game": "arma3_x64",
"parameters" : [
"-noPause",
"-noSound",
"-world=empty",
"-exThreads=8",
"-malloc=system",
"-enableHT",
"-maxMem=8192",
"-ranking=\"\"",
"-par=\"\""
],
"mods" : [
"mods\\@CBA_A3",
"mods\\@ace",
"@2BNB Extras"
]
}
}
},
"servers": {
"armaOps": {
"nicename": "Arma - Operations server",
"options": {
"parameters": [
"-port=2302",
"-profiles=\"D:\\Programs\\Steam\\steamapps\\common\\Arma 3 Server\""
],
"config": "server.cfg",
"serverMods": [
"@vcom_ai",
"@dzn Casual Gaming",
"@2BNB Framework"
]
}
}
"armaHeadless": {
"nicename": "Arma - Headless client",
"type": "headless",
"options": {
"parameters": [
"-port=2302",
"-profiles=\"D:\\Programs\\Steam\\steamapps\\common\\Arma 3 Server\""
],
"config": "server.cfg"
}
}
}
}
17 changes: 8 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/Saborknight/2bnb-heimdall#readme",
"dependencies": {
"arma-server": "0.0.7",
"arma-server": "git+https://github.com/2bnb/node-arma-server.git",
"discord.js": "^11.5.1",
"ps-list": "^7.0.0"
}
Expand Down

0 comments on commit fa5a9ab

Please sign in to comment.