首先下载最新版本的服务端,这里以我常用的PaperMC为例
另外也有Spigot,Bukkit等
安装并运行PaperMC服务端
1 2 3
| COPYsudo apt install openjdk-17-jre-headless dos2unix jq wget https://pastebin.com/raw/e0UDS0dE -O paper.sh && dos2unix paper.sh && bash paper.sh java -jar server.jar
|
同意eula
1
| COPYecho "eula=true" > eula.txt
|
然后下载以下三个插件的最新版本:
ViaVersion
ViaBackwards
ViaRewind
1 2 3 4
| COPYcd plugins curl -s https://api.github.com/repos/ViaVersion/ViaVersion/releases/latest | grep -o "https://.*\.jar" | wget -qi - curl -s https://api.github.com/repos/ViaVersion/ViaBackwards/releases/latest | grep -o "https://.*\.jar" | wget -qi - curl -s https://api.github.com/repos/ViaVersion/ViaRewind/releases/latest | grep -o "https://.*\.jar" | wget -qi -
|
再次启动
1
| COPYjava -jar server.jar
|
以1.7.10版本进入的截图:

最后,祝各位新年快乐