📜  minecraft .bat 代码 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.387000             🧑  作者: Mango

代码示例2
@echo off
echo This Will Restart Your Server If It Crashes!
title Minecraft Console
:StartServer
java -Xmx1G -jar SERVER_FILE_NAME.jar
echo (%time%) Server closed/crashed... restarting!
goto StartServer