From 85e3c08aa9ec099f84de960407fda6730a902b19 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Tue, 23 Apr 2013 11:39:39 +0200 Subject: [PATCH] Added the "rcon.port", "rcon.threads", "rcon.clients-per-thread" ghost properties --- src/API/ServerAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/ServerAPI.php b/src/API/ServerAPI.php index 5c70f9a16..0099799c0 100644 --- a/src/API/ServerAPI.php +++ b/src/API/ServerAPI.php @@ -346,7 +346,7 @@ class ServerAPI{ } 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){ $this->query = new Query();