mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Changed files
This commit is contained in:
parent
0b683c6b0e
commit
8abc36acd4
5 changed files with 5 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ class ConsoleAPI{
|
||||||
function __construct(PocketMinecraftServer $server){
|
function __construct(PocketMinecraftServer $server){
|
||||||
$this->help = array();
|
$this->help = array();
|
||||||
$this->server = $server;
|
$this->server = $server;
|
||||||
$this->input = fopen(FILE_PATH."console.in", "w+b");
|
$this->input = fopen(FILE_PATH."src/console.in", "w+b");
|
||||||
$this->last = microtime(true);
|
$this->last = microtime(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ if not "%PHPOUTPUT%"=="1" (
|
||||||
echo [ERROR] Couldn't find PHP binary in PATH.
|
echo [ERROR] Couldn't find PHP binary in PATH.
|
||||||
ping 127.0.0.1 -n 3 -w 1000>nul
|
ping 127.0.0.1 -n 3 -w 1000>nul
|
||||||
) else (
|
) else (
|
||||||
START /B CMD /C CALL php server.php
|
START /B CMD /C CALL php PocketMine-MP.php
|
||||||
START /B /WAIT php input.php 1
|
START /B /WAIT php src/input.php 1
|
||||||
ping 127.0.0.1 -n 5 -w 1000>nul
|
ping 127.0.0.1 -n 5 -w 1000>nul
|
||||||
)
|
)
|
||||||
4
start.sh
4
start.sh
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
php server.php &
|
php PocketMine-MP.php &
|
||||||
cat>console.in
|
cat > src/console.in
|
||||||
Loading…
Add table
Add a link
Reference in a new issue