diff --git a/README b/README index c211f960..519b8e7d 100644 --- a/README +++ b/README @@ -28,5 +28,14 @@ along with this program. If not, see . \ | / -Client/Server Minecraft Pocket Edition library written in PHP. -Currently a work in progress, and used to document http://www.wiki.vg/Pocket_Minecraft_Protocol \ No newline at end of file +Server (and client) Minecraft Pocket Edition library written in PHP. +Currently a work in progress, and used to document http://www.wiki.vg/Pocket_Minecraft_Protocol + +Current features of the server: + - Players can connect and move around the world + - Online list broadcast + - Health and position saving + - server.properties configuration file + - Whitelist and IP Ban files + - Survival & Creative + - Awesome features in server list! diff --git a/classes/PocketMinecraftServer.class.php b/classes/PocketMinecraftServer.class.php index 450363df..ff441edc 100644 --- a/classes/PocketMinecraftServer.class.php +++ b/classes/PocketMinecraftServer.class.php @@ -199,7 +199,7 @@ class PocketMinecraftServer{ $data[0], $this->serverID, MAGIC, - $this->serverType. $this->name . " [".($this->gamemode === 1 ? "C":"S")." ".count($this->clients)."/".$this->maxClients."] ".$txt, + $this->serverType. $this->name . " [".($this->gamemode === 1 ? "C":"S").$this->whitelist !== false ? "W":"")" ".count($this->clients)."/".$this->maxClients."] ".$txt, ), false, $packet["ip"], $packet["port"]); $this->custom["times_".$CID] = ($this->custom["times_".$CID] + 1) % strlen($this->description); break;