mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Removed the rcon.port property, being the same as the server
This commit is contained in:
parent
2ae0cf65c5
commit
1c03fb0de9
1 changed files with 1 additions and 2 deletions
|
|
@ -118,7 +118,6 @@ class ServerAPI{
|
||||||
"enable-query" => false,
|
"enable-query" => false,
|
||||||
"enable-rcon" => false,
|
"enable-rcon" => false,
|
||||||
"rcon.password" => substr(base64_encode(Utils::getRandomBytes(20, false)), 3, 10),
|
"rcon.password" => substr(base64_encode(Utils::getRandomBytes(20, false)), 3, 10),
|
||||||
"rcon.port" => 19132,
|
|
||||||
"upnp-forwarding" => false,
|
"upnp-forwarding" => false,
|
||||||
"send-usage" => true,
|
"send-usage" => true,
|
||||||
));
|
));
|
||||||
|
|
@ -348,7 +347,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("rcon.port", 19132));
|
$this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("server-port"));
|
||||||
}
|
}
|
||||||
if($this->getProperty("enable-query") === true){
|
if($this->getProperty("enable-query") === true){
|
||||||
$this->query = new Query();
|
$this->query = new Query();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue