Make start script errors a bit more noob-friendly

This commit is contained in:
Dylan K. Taylor 2018-11-13 18:23:54 +00:00
parent 71d02e5870
commit e018311e73
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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