This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-07 02:31:59 +01:00
parent 5fad991baf
commit 3d63ea0854
2 changed files with 12 additions and 3 deletions

13
README
View File

@ -28,5 +28,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
\ | /
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
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!

View File

@ -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;