# 配置 Proxifier

[<< 上一节：安装 Proxifier](https://zekerzhayard.gitbook.io/minecraft-forge-gou-jian-kai-fa-huan-jing-wang-luo-dai-li-pei-zhi-jiao-cheng/readme/4)

## 配置 Proxifier

成功启动 Proxifier 之后，可以在此处下载配置文件，然后按以下步骤操作以替换原先 Proxifier 默认的配置文件：

1. **单击**[**此处**](https://gitee.com/zekerzhayard/minecraft-forge-proxy-tutorial/releases/download/archive/Minecraft.ppx)**下载 Proxifier 的配置文件「Minecraft.ppx」**
2. 依次选择左上角「File」—「Import Profile...」\
   ![25](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-57a341e2113dd3cdc7e166443a4f80285519fc97%2F25.png?alt=media)
3. 在弹出的对话框中单击「是(Y)」按钮\
   ![26](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-56d9ce38e704d04e7b64072628c456930f7c1c9e%2F26.png?alt=media)
4. 选择刚刚下载到的「Minecraft.ppx」文件，然后单击「打开(O)」按钮 ![27](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-f621645b3220dbe7df83b4d816ba46920c1d64a8%2F27.png?alt=media)

这样就导入了配置文件。

**最后保持 Shadwosocks 和 Proxifier 都在运行，不要关闭退出它们，就可以开始配置 Minecraft Mod 开发环境了。**

如果想要退出 Proxifier，只需要右键任务栏托盘中的 Proxifier 图标并单击「Exit」即可。

***

如果你已经导入了配置文件，那么以下步骤可以全部**跳过**，如果有需求手动配置 Proxifier，那么按以下步骤操作：

1. 依次选择左上角「Profile」—「Proxy Servers...」\
   ![13](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-48c20a6b8afb4ba1c34a9d88d488376a49250a33%2F13.png?alt=media)
2. 在弹出的对话框中单击「Add...」按钮\
   ![14](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-62e97e616715499f2e7d74e0458670adda780ba7%2F14.png?alt=media)
3. 在弹出的对话框中依次填入以下内容：

   > Address：127.0.0.1\
   > Port：1080\
   > Protocol：HTTPS

   其余保持默认，然后单击「OK」按钮\
   ![15](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-9148cc0f1025df83e17487b48317514a0bfe21ae%2F15.png?alt=media)
4. 在弹出的这个对话框中，单击「否(N)」按钮\
   ![16](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-e26ff07072e3869546461f52ce1a2cd316a7a222%2F16.png?alt=media)
5. 然后单击「OK」按钮\
   ![17](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-3a96167391107dc4bf21b4c7f6e775a46afe4bb2%2F17.png?alt=media)
6. 在弹出的这个对话框中，单击「是(Y)」按钮\
   ![18](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-c00d069665bac657c2c83a7ed1aba1837a515e9e%2F18.png?alt=media)\
   如果单击了「否(N)」，那么可以在左上角「Profile」—「Proxification Rules...」中进行下一步\
   ![19](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-5baf864aef008c6b4b526de15a0d9e9648b462c9%2F19.png?alt=media)
7. 在弹出的窗口中单击「Add...」按钮\
   ![20](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-e151bda62c39038d674818768b87b6b366696c9a%2F20.png?alt=media)
8. 在弹出的窗口中依次填入以下内容

   > Name：随便写\
   > Applications：java.exe\
   > Target hosts：\*.apache.org; \*.fabricmc.net; \*.gradle.org; \*.gradle\*.com; \*.minecraft.net; \*.minecraftforge.net; \*.mojang.com\
   > Action：Proxy HTTPS 127.0.0.1

   其余保持默认，然后单击「OK」按钮\
   ![21](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-80c334f4e0b11db67b9a88e5e234bc04da3037e7%2F21.png?alt=media)
9. 然后单击「OK」按钮\
   ![22](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-92bbe374ffb9513f6b0ed7a68361b84117821215%2F22.png?alt=media)
10. 依次选择左上角「Profile」—「Name Resolution...」\
    ![23](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-07ca85fbb659c09f8c1b25b9397a3b1bcc492a5c%2F23.png?alt=media)
11. 在弹出的窗口中**取消**勾选「Detect DNS Settings automatically」，并勾选「Resolve hostnames through proxy」，其余保持默认，然后单击「OK」按钮\
    ![24](https://1259975354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UNNRTxD0BJufVaUZqfw%2Fuploads%2Fgit-blob-25098376812963e69a211542e5455c5a50300d54%2F24.png?alt=media)

这样，Proxifier 就配置完成了。

[>> 下一节：MCreator 需要的额外步骤](https://zekerzhayard.gitbook.io/minecraft-forge-gou-jian-kai-fa-huan-jing-wang-luo-dai-li-pei-zhi-jiao-cheng/readme/6)


---

# 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://zekerzhayard.gitbook.io/minecraft-forge-gou-jian-kai-fa-huan-jing-wang-luo-dai-li-pei-zhi-jiao-cheng/readme/5.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.
