Added the "rcon.port", "rcon.threads", "rcon.clients-per-thread" ghost properties

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-23 11:39:39 +02:00
parent 8345fd02c4
commit 85e3c08aa9

View File

@ -346,7 +346,7 @@ class ServerAPI{
} }
if($this->getProperty("enable-rcon") === true){ if($this->getProperty("enable-rcon") === true){
$this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("server-port"), $this->getProperty("server-ip", "0.0.0.0")); $this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("rcon.port", $this->getProperty("server-port")), $this->getProperty("server-ip", "0.0.0.0"), $this->getProperty("rcon.threads", 1), $this->getProperty("rcon.clients-per-thread", 50));
} }
if($this->getProperty("enable-query") === true){ if($this->getProperty("enable-query") === true){
$this->query = new Query(); $this->query = new Query();