Updated name to PocketMine-MP

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-22 17:20:35 +01:00
parent 843469208b
commit ba3524dbc7
29 changed files with 64 additions and 77 deletions

View File

@ -15,8 +15,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
@ -28,14 +28,14 @@
\ | /
Pocket-Minecraft-PHP
====================
Github repo: https://github.com/shoghicp/Pocket-Minecraft-PHP
PocketMine-MP
=============
Github repo: https://github.com/shoghicp/PocketMine-MP
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
How to install it: https://github.com/shoghicp/Pocket-Minecraft-PHP/wiki/Tutorial:-Setting-up-a-Server
How to install it: https://github.com/shoghicp/PocketMine-MP/wiki/Tutorial:-Setting-up-a-Server
**Project Status: `PRE-ALPHA`**

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
@ -94,12 +94,12 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
$this->server->api = $this;
if($this->getProperty("last-update") === false or ($this->getProperty("last-update") + 3600) < time()){
console("[INFO] Checking for new version...");
$info = json_decode(Utils::curl_get("https://api.github.com/repos/shoghicp/Pocket-Minecraft-PHP"), true);
$info = json_decode(Utils::curl_get("https://api.github.com/repos/shoghicp/PocketMine-MP"), true);
$last = new DateTime($info["updated_at"]);
$last = $last->getTimestamp();
if($last >= $this->getProperty("last-update") and $this->getProperty("last-update") !== false){
console("[NOTICE] Pocket-PHP-Minecraft has been updated at ".date("Y-m-d H:i:s", $last));
console("[NOTICE] If you want to update, get the latest version at https://github.com/shoghicp/Pocket-Minecraft-PHP/archive/master.zip");
console("[NOTICE] PocketMine-MP has been updated at ".date("Y-m-d H:i:s", $last));
console("[NOTICE] If you want to update, get the latest version at https://github.com/shoghicp/PocketMine-MP/archive/master.zip");
console("[NOTICE] This message will dissapear when you issue the command \"/update-done\"");
sleep(3);
}else{

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
@ -32,7 +32,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] Pocket-Minecraft-PHP by @shoghicp, LGPL License. http://bit.ly/RE7uaW", true, true, 0);
console("[INFO] PocketMine-MP 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");

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -5,8 +5,8 @@
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |

View File

@ -3,19 +3,6 @@
/*
-
/ \
/ \
/ POCKET \
/ MINECRAFT PHP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
| .. | .. |
| .. | .. |
\ | /
\ | /
\ | /
\ | /
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by