Updated settings, less memory usage

This commit is contained in:
Shoghi Cervantes 2013-05-21 19:50:59 +02:00
parent c9cecaf218
commit b7083032f3
5 changed files with 13 additions and 59 deletions

View file

@ -74,13 +74,13 @@ class PocketMinecraftServer{
$this->ticks = 0;
}
function __construct($name, $gamemode = SURVIVAL, $seed = false, $port = 19132, $serverID = false, $serverip = "0.0.0.0"){
function __construct($name, $gamemode = SURVIVAL, $seed = false, $port = 19132, $serverip = "0.0.0.0"){
$this->port = (int) $port; //19132 - 19135
$this->doTick = true;
$this->gamemode = (int) $gamemode;
$this->name = $name;
$this->motd = "Welcome to ".$name;
$this->serverID = $serverID;
$this->serverID = false;
$this->seed = $seed;
$this->serverip = $serverip;
$this->load();