mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-09 21:24:53 +00:00
Improved updated messages
This commit is contained in:
parent
7a5df07ee5
commit
7111bc5e64
@ -117,7 +117,7 @@ class ServerAPI{
|
|||||||
if($last >= $this->getProperty("last-update") and $this->getProperty("last-update") !== false and GIT_COMMIT != $info["development"]["commit"]){
|
if($last >= $this->getProperty("last-update") and $this->getProperty("last-update") !== false and GIT_COMMIT != $info["development"]["commit"]){
|
||||||
console("[NOTICE] \x1b[33mA new DEVELOPMENT version of PocketMine-MP has been released");
|
console("[NOTICE] \x1b[33mA new DEVELOPMENT version of PocketMine-MP has been released");
|
||||||
console("[NOTICE] \x1b[33mVersion \"".$info["development"]["version"]."\" [".substr($info["development"]["commit"], 0, 10)."]");
|
console("[NOTICE] \x1b[33mVersion \"".$info["development"]["version"]."\" [".substr($info["development"]["commit"], 0, 10)."]");
|
||||||
console("[NOTICE] \x1b[36mIf you want to update, get the latest version at ".$info["development"]["download"]);
|
console("[NOTICE] \x1b[36mGet it at PocketMine.net or ".$info["development"]["download"]);
|
||||||
console("[NOTICE] This message will dissapear after issuing the command \"/update-done\"");
|
console("[NOTICE] This message will dissapear after issuing the command \"/update-done\"");
|
||||||
sleep(3);
|
sleep(3);
|
||||||
}else{
|
}else{
|
||||||
@ -136,7 +136,7 @@ class ServerAPI{
|
|||||||
if($updateN > $newestN){
|
if($updateN > $newestN){
|
||||||
console("[NOTICE] \x1b[33mA new STABLE version of PocketMine-MP has been released");
|
console("[NOTICE] \x1b[33mA new STABLE version of PocketMine-MP has been released");
|
||||||
console("[NOTICE] \x1b[36mVersion \"".$info["stable"]["version"]."\" #".$updateN);
|
console("[NOTICE] \x1b[36mVersion \"".$info["stable"]["version"]."\" #".$updateN);
|
||||||
console("[NOTICE] Download it at ".$info["stable"]["download"]);
|
console("[NOTICE] Get it at PocketMine.net or ".$info["stable"]["download"]);
|
||||||
console("[NOTICE] This message will dissapear as soon as you update");
|
console("[NOTICE] This message will dissapear as soon as you update");
|
||||||
sleep(5);
|
sleep(5);
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user