mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
ok
This commit is contained in:
parent
8464380826
commit
2ea35fc6e7
2 changed files with 26 additions and 0 deletions
17
start.cmd
Normal file
17
start.cmd
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
@echo off
|
||||||
|
TITLE NostalgiaCore server software for Minecraft: Pocket Edition
|
||||||
|
cd /d %~dp0
|
||||||
|
if exist bin\php\php.exe (
|
||||||
|
if exist bin\mintty.exe (
|
||||||
|
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o CursorType=0 -o CursorBlinks=1 -h error -t "NostalgiaCore" -i bin/pocketmine.ico -w max bin\php\php.exe -d enable_dl=On PocketMine-MP.php --enable-ansi %*
|
||||||
|
) else (
|
||||||
|
bin\php\php.exe -d enable_dl=On PocketMine-MP.php %*
|
||||||
|
)
|
||||||
|
) else (
|
||||||
|
if exist bin\mintty.exe (
|
||||||
|
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o CursorType=0 -o CursorBlinks=1 -h error -t "NostalgiaCore" -i bin/pocketmine.ico -w max php -d enable_dl=On PocketMine-MP.php --enable-ansi %*
|
||||||
|
) else (
|
||||||
|
php -d enable_dl=On PocketMine-MP.php %*
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
9
start.sh
Normal file
9
start.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||||
|
cd "$DIR"
|
||||||
|
if [ -f ./bin/php5/bin/php ]; then
|
||||||
|
exec ./bin/php5/bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||||
|
else
|
||||||
|
echo "[WARNING] You are not using the standalone NostalgiaCore PHP binary."
|
||||||
|
exec php -d enable_dl=On PocketMine-MP.php $@
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue