https://d.mmeiblog.cn/help/minecraft-server-script.html
使用说明见上
下面以一个paper服务端做示例(可以使用)
如果你需要更多脚本,可以访问这里
此脚本分两步
1 安装screen并启动
## Debian
curl -sSL https://d.mmeiblog.cn/mcs-quick/screen.sh -o screen_install.sh && bash screen_install.sh
## Ubuntu
curl -sSL https://d.mmeiblog.cn/mcs-quick/screen.sh -o screen_install.sh && sudo bash screen_start.sh
## RedHat / CentOS
curl -sSL https://d.mmeiblog.cn/mcs-quick/screen.sh -o screen_install.sh && sh screen_start.sh
2 启动服务器(以paper1.8.8为例)
## Debian
curl -sSL https://d.mmeiblog.cn/mcs-quick/?release=<code class="release">paper</code>\&version=<code class="version">1.88</code> -o quick_install.sh && bash quick_install.sh
## Ubuntu
curl -sSL https://d.mmeiblog.cn/mcs-quick/?release=<code class="release">paper</code>\&version=<code class="version">1.88</code> -o quick_install.sh && sudo bash quick_start.sh
## RedHat / CentOS
curl -sSL https://d.mmeiblog.cn/mcs-quick/?release=<code class="release">paper</code>\&version=<code class="version">1.88</code> -o quick_install.sh && sh quick_start.sh
本项目 开源:
ssdomei232/Start-the-minecraft-server-automatically: 自动下载并启动我的世界服务端的bash脚本 (github.com)