mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +00:00
Added the "rcon.port", "rcon.threads", "rcon.clients-per-thread" ghost properties
This commit is contained in:
parent
8345fd02c4
commit
85e3c08aa9
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user