📜  如何使用 bat 运行 spigot 服务器 - Shell-Bash 代码示例

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

代码示例1
@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