mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 14:04:25 -05:00
Adding support for multi-ip rcon
This commit is contained in:
parent
48be35567c
commit
c787aa3565
@ -2,6 +2,7 @@
|
||||
"server": {
|
||||
"id": 1,
|
||||
"host": "xxx.xxx.xxx.xxx",
|
||||
"rconHost": "",
|
||||
"queryPort": 27165,
|
||||
"rconPort": 21114,
|
||||
"rconPassword": "password",
|
||||
|
@ -81,7 +81,7 @@ export default class SquadServer extends EventEmitter {
|
||||
|
||||
setupRCON() {
|
||||
this.rcon = new Rcon({
|
||||
host: this.options.host,
|
||||
host: this.options.rconHost || this.options.host,
|
||||
port: this.options.rconPort,
|
||||
password: this.options.rconPassword,
|
||||
autoReconnectInterval: this.options.rconAutoReconnectInterval
|
||||
|
Loading…
Reference in New Issue
Block a user