2024-06-29 18:24:21 +08:00
|
|
|
|
---
|
2024-07-08 13:14:00 +08:00
|
|
|
|
title: 安装Mod服务端
|
2024-06-29 18:24:21 +08:00
|
|
|
|
sidebar_position: 3
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# 安装服务端
|
|
|
|
|
|
2024-06-29 18:30:38 +08:00
|
|
|
|
:::tip
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
该教程是为 mod 服所编写的,插件和混合直接新建文件夹扔进去就完事
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
全篇以 1.20.4 Mod 服务端安装为例子
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
如果你看不懂可以使用[笨蛋脚本](https://github.com/lilingfengdev/NitWiki-Script/releases/download/windows-latest/select-server.exe),目前不支持 Fabric
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
|
|
|
|
## Forge
|
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
首先,来到 [Forge 官方网站](https://files.minecraftforge.net/net/minecraftforge/forge/)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-15 18:38:05 +08:00
|
|
|
|
![](_images/install/1.png)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
在左边的 `Minecraft Version` 找到你需要的版本,然后下载下来
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-15 18:38:05 +08:00
|
|
|
|
![](_images/install/2.png)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
请选择 `Installer` ,左边右边都无所谓,打开后,你会来到一个广告窗口,点击最上面的 `SKIP`(没有出现就等一会)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-15 18:38:05 +08:00
|
|
|
|
![](_images/install/3.png)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
然后你就成功下载了 Forge Installer,但还没有完!,继续
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
|
|
|
|
在浏览器中输入以下链接
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
https://bmclapi2.bangbang93.com/version/这里填你的MC版本/server
|
|
|
|
|
```
|
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
比如我 1.20.4 服务器应该是 `https://bmclapi2.bangbang93.com/version/1.20.4/server`
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
下载下来后,你需要将文件重命名为`minecraft_server.这里填你的MC版本.jar`,比如我1.20.4服务器应该是`minecraft_server.1.20.4.jar`,现在你的目录应该长这样
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-15 18:38:05 +08:00
|
|
|
|
![](_images/install/4.png)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
接着打开cmd,不会请查看[开启 cmd](launch-server.md#笨蛋脚本),输入以下命令
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
|
|
|
|
````shell
|
|
|
|
|
java -jar forge-1.20.4-49.1.2-installer.jar(这里请改成你下载的文件名) --installServer
|
|
|
|
|
````
|
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
然后静待一会,直到控制台输出 `The server installed successfully` 就完成了!
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
|
|
|
|
## NeoForge
|
|
|
|
|
|
2024-07-08 13:14:00 +08:00
|
|
|
|
与Forge差不多,官网换[这个](https://neoforged.net/)
|
2024-06-29 18:24:21 +08:00
|
|
|
|
|
|
|
|
|
## Fabric
|
|
|
|
|
|
|
|
|
|
TODO
|