# Bungeecord 单一资源包不同功能

教程由 [@itsmemac](https://github.com/LoneDev6/Wiki-ItemsAdder/pull/35) 提供

{% hint style="info" %}
在你按照本指南操作之前，请确保你已经完成了[**首次安装**](https://itemsadder.devs.beer/first-install)并且有一个正常运行的 IA 安装
{% endhint %}

**步骤 1**

在本地为你的服务器创建最终的资源包，其中包括你整个网络中需要的一切（每个物品、GUI、怪物、表情符号等）。\
为此，你需要在你的电脑上创建一个本地 Spigot 服务器，并在其中配置你想要的一切。

**步骤 2**

打开每个 Spigot 服务器，并在 ItemsAdder 配置中将主机方法设置为 `no-host`，并将提取物品设置为 false。

{% code title="config.yml" %}

```yaml
  hosting:
    no-host:
      enabled: true
  extract-default-items: false
  extract-default-resources: false
```

{% endcode %}

**步骤 3**

运行 `/iazip` 并将生成的资源包上传到一个文件托管服务，并确保它提供直接下载链接。\
例如 [**MCPACKS**](https://mc-packs.net/)**,** [**DropBox**](/chinese/cha-jian-shi-yong-fang-fa/resourcepack-hosting/resourcepack-on-dropbox.md)**,** [**GoogleDrive**](/chinese/cha-jian-shi-yong-fang-fa/resourcepack-hosting/google-drive.md)**.**

**步骤 4**

使用类似 [**Force resourcepack**](https://www.spigotmc.org/resources/force-resourcepacks.10499/) 的插件在你的 bungee 中加载资源包。

**步骤 5**

将 `ItemsAdder.jar` 和整个 `ItemsAdder` 插件文件夹从本地 Spigot 服务器复制到第一个网络服务器（例如 `lobby`）的 `/plugins` 文件夹中。

**步骤 6**

打开 ItemsAdder 的 config.yml 并禁用你不需要的功能。\
同时从 `plugins/ItemsAdder/contents/` 中删除不需要的文件。

{% hint style="danger" %}
不要删除 dictionaries, mcemojis, mcguis, mcicons, realcraft, various\_configs 文件夹。\
在这里阅读更多: [Removing default stuff](/chinese/faq/latest-itemsadder.md)
{% endhint %}

你基本上需要保留你想在这个特定服务器（在这个例子中是 `lobby`）中保留的功能文件夹。

**步骤 7**

重启服务器并加入。服务器应该会要求你下载资源包。\
然后你将只会看到你在 `contents` 文件夹中保留的物品。

**步骤 8**

为你的网络中的每个服务器重复步骤 5,6,7。

{% hint style="info" %}
本教程不需要 **BungeePackFix** 插件。
{% endhint %}


---

# 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://itemsadder.devs.beer/chinese/faq/bungeecord-velocity/single-resourcepack-multiple-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.
