Skip to content

Commit

Permalink
mod install!
Browse files Browse the repository at this point in the history
  • Loading branch information
lilingfengdev committed Jun 29, 2024
1 parent c7014af commit 73c39cf
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/preparation/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sidebar_position: 5
* [笨蛋图床](https://image.yizhan.wiki) - 简洁,免费的图床
* [笨蛋粘贴板](https://paste.yizhan.wiki) - 上传文件/创建Paste!(不要当网盘)
* [笨蛋笔记本](https://notepad.yizhan.wiki) - 免费笔记本,支持密码,Markdown和分享
* [笨蛋短链](https://s.yizhan.wiki) - 缩短链接
* [笨蛋短链](https://imc.rip) - 缩短链接

## 规则

Expand Down
2 changes: 1 addition & 1 deletion docs/start/connect-to-server.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 连接服务器
sidebar_position: 4
sidebar_position: 5
---

# 连接服务器
Expand Down
61 changes: 61 additions & 0 deletions docs/start/install-server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
title: 安装服务端
sidebar_position: 3
---

# 安装服务端

:::tips

该教程是为mod服所编写的,插件和混合直接新建文件夹扔进去就完事

:::

全篇以 1.20.4 mod服务端安装为例子

如果你看不懂可以使用[笨蛋脚本](https://github.com/lilingfengdev/NitWiki-Script/releases/download/windows-latest/select-server.exe),目前不支持Fabric

## Forge

首先,来到[Forge官方网站](https://files.minecraftforge.net/net/minecraftforge/forge/)

![](install/1.png)

在左边的`Minecraft Version`找到你需要的版本,然后下载下来

![](install/2.png)

请选择`Installer`,左边右边都无所谓,打开后,你会来到一个广告窗口,点击最上面的`SKIP`(没有出现就等一会)

![](install/3.png)

然后你就成功下载了Forge Installer,但还没有完!,继续

在浏览器中输入以下链接

```
https://bmclapi2.bangbang93.com/version/这里填你的MC版本/server
```

比如我1.20.4服务器应该是`https://bmclapi2.bangbang93.com/version/1.20.4/server`

下载下来后,你需要将文件重命名为`minecraft_server.这里填你的MC版本.jar`,比如我1.20.4服务器应该是`minecraft_server.1.20.4.jar`,现在你的目录应该长这样

![](install/4.png)

接着打开cmd,不会请查看[开启cmd](launch-server.md#笨蛋脚本),输入以下命令

````shell
java -jar forge-1.20.4-49.1.2-installer.jar(这里请改成你下载的文件名) --installServer
````

然后静待一会,直到控制台输出`The server installed successfully`就完成了!

## NeoForge

与Forge差不多,官网换[这个](https://neoforged.net/)

## Fabric

TODO

Binary file added docs/start/install/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/start/install/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/start/install/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/start/install/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/start/launch-server.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 开启服务端
sidebar_position: 3
sidebar_position: 4
---

# 开启服务端
Expand Down
2 changes: 1 addition & 1 deletion docs/start/server-core-choose.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Mod 服最开始就必须选好核心,也就是 Forge 还是 Fabric 的问题

## 笨蛋脚本

帮你选择服务端,并自动下载!(目前不支持MOD,仅支持插件和混合)
帮你选择服务端,并自动下载!

[下载](https://github.com/lilingfengdev/NitWiki-Script/releases/download/windows-latest/select-server.exe)

Expand Down

0 comments on commit 73c39cf

Please sign in to comment.