mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Added 4 RCON threads
This commit is contained in:
parent
1cb3e25bf9
commit
d08807abaf
4 changed files with 20 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
class RCON{
|
||||
private $socket, $password, $workers, $threads;
|
||||
|
||||
public function __construct($password, $port = 19132, $threads = 1){
|
||||
public function __construct($password, $port = 19132, $threads = 4){
|
||||
$this->workers = array();
|
||||
$this->password = (string) $password;
|
||||
console("[INFO] Starting remote control listener");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue