# 安裝和使用 Forge 模組伺服器

## 安裝 Forge 核心

1. 前往啟動設定頁面，點擊更 「更換核心類型」。

<figure><img src="/files/kYqdMW7bY4quYT85etgJ" alt=""><figcaption></figcaption></figure>

2. 然後點擊在 Forge | 模組伺服器 旁的 「更換為此類型」 按鈕，你也可以選擇安裝時要不要刪除檔案。\
   完成後點擊最上方的 「返回」 按鈕。

<figure><img src="/files/VCmn5OoFRJS0HSyF7Mr7" alt=""><figcaption></figcaption></figure>

3. 假如要安裝 Minecraft 1.20.6 版本，請先在 「遊戲版本」 輸入 `1.20.6`；如果要最新版本，請輸入遊戲版本 `1.20.6` 。

<figure><img src="/files/740zI1dxniMsJz1IjSKu" alt=""><figcaption></figcaption></figure>

4. 除非你有特別需求，不然請保持 「建構類型」 為 Recommended。

<figure><img src="/files/ld0ouvEogmNol61iJyrS" alt=""><figcaption></figcaption></figure>

5. 除非你有特別需求，請保持 「Forge 版本」 空白，伺服器將會自動下載建構類型的最新版。
6. 除非你有特別需求，請保持 「自訂啟動參數」 空白。
7. 更改啟動版本。\
   \
   因為有些模組開發的時間長，或是沒有更新的插件代碼，導致 Java 啟動版本太新，無法啟動。\
   建議模組伺服器，可以低一版 Java 啟動版本。像是 1.16 的模組伺服器，可以使用 Java 8 或 Java 11。

<figure><img src="/files/VL5yesegmihqOD4GovI4" alt=""><figcaption></figcaption></figure>

8. 前往網頁最下方，點擊 「確認安裝核心版本」。

<figure><img src="/files/wngUVygFqFkEWLP2GrmP" alt=""><figcaption></figcaption></figure>

9. 等待伺服器安裝。

<figure><img src="/files/EAz3MvRywGbrKVUnJmS2" alt=""><figcaption></figcaption></figure>

10. 點擊 「開啟」，啟動伺服器，這時候伺服器會下載檔案、生成地圖等，會需要一點時間。

<figure><img src="/files/ZMfxYJI1eBPLqUZFoqYC" alt=""><figcaption></figcaption></figure>

## 安裝模組

{% hint style="info" %}
檔案太大或是資料夾時，請透過 SFTP 上傳。（查看 [透過 SFTP 管理檔案](/panel/server/sftp.md) 教學）
{% endhint %}

{% hint style="warning" %}
請確保模組可以在伺服器上運行，包含模組版本是否正確。
{% endhint %}

前往檔案管理頁面，你將會看到 `mods` 資料夾。\
這時候，伺服器還沒有任何模組。現在，你可以開始上傳。

<figure><img src="/files/bBupSMWAUuEdBwzB6b09" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cheapserver.tw/game/minecraft/forge-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
