From e018311e73e55cff7b16d62fb60343fa7cd4de69 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 13 Nov 2018 18:23:54 +0000 Subject: [PATCH] Make start script errors a bit more noob-friendly --- start.cmd | 3 ++- start.ps1 | 3 ++- start.sh | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/start.cmd b/start.cmd index ca069638a..e2c7dca30 100644 --- a/start.cmd +++ b/start.cmd @@ -12,7 +12,8 @@ if exist bin\php\php.exe ( if exist PocketMine-MP.phar ( set POCKETMINE_FILE=PocketMine-MP.phar ) else ( - echo Couldn't find a valid PocketMine-MP installation + echo PocketMine-MP.phar not found + echo Downloads can be found at https://github.com/pmmp/PocketMine-MP/releases pause exit 1 ) diff --git a/start.ps1 b/start.ps1 index f6825ef1c..2528dd691 100644 --- a/start.ps1 +++ b/start.ps1 @@ -19,7 +19,8 @@ if($file -eq ""){ if(Test-Path "PocketMine-MP.phar"){ $file = "PocketMine-MP.phar" }else{ - echo "Couldn't find a valid PocketMine-MP installation" + echo "PocketMine-MP.phar not found" + echo "Downloads can be found at https://github.com/pmmp/PocketMine-MP/releases" pause exit 1 } diff --git a/start.sh b/start.sh index e032a95a3..fcc6dd074 100755 --- a/start.sh +++ b/start.sh @@ -37,7 +37,8 @@ if [ "$POCKETMINE_FILE" == "" ]; then if [ -f ./PocketMine-MP.phar ]; then POCKETMINE_FILE="./PocketMine-MP.phar" else - echo "Couldn't find a valid PocketMine-MP installation" + echo "PocketMine-MP.phar not found" + echo "Downloads can be found at https://github.com/pmmp/PocketMine-MP/releases" exit 1 fi fi