From 356c5a6a72a1660634a95ea8011fe6f96d53e72d Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Wed, 26 Dec 2012 19:44:32 +0100 Subject: [PATCH] Alpha v1.0 --- README.md | 23 ++++------------------- TODO.md | 6 +++++- classes/PocketMinecraftServer.class.php | 6 +++++- common/config.php | 3 ++- 4 files changed, 16 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 5843b1e90..f59e40402 100644 --- a/README.md +++ b/README.md @@ -37,31 +37,16 @@ Currently a work in progress, and used to document http://www.wiki.vg/Pocket_Min Check the wiki! https://github.com/shoghicp/PocketMine-MP/wiki -**Project Status: `PRE-ALPHA`** +**Project Status: `ALPHA`** **Tested in: `v4.0.0, v5.0.0`** Current features of the server: ------------------------------- -* Players can connect and move around the world (and see each other) -* Support for reading/sending chunks! -* Map generator! -* Map saving! Place & remove blocks -* Multiple worlds and importing! -* PvP, life regeneration and death cause! -* Extensible API! -* Online list broadcast -* Configurable day/night cycle -* Mob spawning! -* Health and position saving -* server.properties configuration file -* Whitelist and IP Ban files -* Survival & Creative -* Awesome features in server list! -* Automatic new version checking -* Implemented packet loss recovery algorithm -* + more! +* Full Creative mode! +* Plugin API +* Custom world generation How to contact me diff --git a/TODO.md b/TODO.md index 9eb75a9bb..a2cd45166 100644 --- a/TODO.md +++ b/TODO.md @@ -12,7 +12,11 @@ __Check Milestones [here](https://github.com/shoghicp/PocketMine-MP/issues/miles - Players can often hear "echos" of their own block interactions' SFX (torch placed, block destroyed, etc. most noticeable when moving around as you place.) ## Alpha (full Creative) -- Correct block placement for beds +* Done! + +### Alpha v1.1 + + ## Beta (Survival) - Random Chunk Updates diff --git a/classes/PocketMinecraftServer.class.php b/classes/PocketMinecraftServer.class.php index 85c7511cf..255b8af41 100644 --- a/classes/PocketMinecraftServer.class.php +++ b/classes/PocketMinecraftServer.class.php @@ -30,7 +30,7 @@ class PocketMinecraftServer extends stdClass{ private $database, $interface, $evCnt, $handCnt, $events, $handlers, $version, $serverType, $lastTick; function __construct($name, $gamemode = 1, $seed = false, $protocol = CURRENT_PROTOCOL, $port = 19132, $serverID = false, $version = CURRENT_VERSION){ $this->port = (int) $port; //19132 - 19135 - console("[INFO] PocketMine-MP by @shoghicp, LGPL License. http://bit.ly/TbrimG", true, true, 0); + console("[INFO] PocketMine-MP ".MAJOR_VERSION." by @shoghicp, LGPL License. http://bit.ly/TbrimG", true, true, 0); console("[INFO] Starting Minecraft PE Server at *:".$this->port); if($this->port < 19132 or $this->port > 19135){ console("[WARNING] You've selected a not-standard port. Normal port range is from 19132 to 19135 included"); @@ -237,6 +237,10 @@ class PocketMinecraftServer extends stdClass{ $this->seed = (int) $this->level["RandomSeed"]; if(isset($this->level["SpawnX"])){ $this->spawn = array("x" => $this->level["SpawnX"], "y" => $this->level["SpawnY"], "z" => $this->level["SpawnZ"]); + }else{ + $this->level["SpawnX"] = $this->spawn["x"]; + $this->level["SpawnY"] = $this->spawn["y"]; + $this->level["SpawnZ"] = $this->spawn["z"]; } $this->level["Time"] = &$this->time; console("[INFO] Spawn: X ".$this->level["SpawnX"]." Y ".$this->level["SpawnY"]." Z ".$this->level["SpawnZ"]); diff --git a/common/config.php b/common/config.php index 6a5e6fe09..1d8cadf88 100644 --- a/common/config.php +++ b/common/config.php @@ -39,4 +39,5 @@ define("CURRENT_PROTOCOL", 5); define("CURRENT_VERSION", 1); define("LOG", true); define("MAGIC", "\x00\xff\xff\x00\xfe\xfe\xfe\xfe\xfd\xfd\xfd\xfd\x12\x34\x56\x78"); -define("TEST_MD5", "5ca8eced50a5801619f7ae86d631a4e7"); \ No newline at end of file +define("TEST_MD5", "5ca8eced50a5801619f7ae86d631a4e7"); +define("MAJOR_VERSION", "Alpha v1.0"); \ No newline at end of file