> For the complete documentation index, see [llms.txt](https://3504743864.gitbook.io/yu-lan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3504743864.gitbook.io/yu-lan/plugin-usage/adding-content/guis.md).

# GUIs

创建 自定义GUI 你可以复制作者的示例包 **mcgui** 并且以你的想法进行编辑.\
在游戏中应用 自定义GUI 你可以使用 [JavaAPI ](/yu-lan/kai-fa-zhe-wen-dang/java-api/huds-guis.md)或安装类似于 [ChestCommands](https://dev.bukkit.org/projects/chest-commands) 的菜单插件.\
如果你使用的是 ChestCommands 类似的菜单插件，需要将 GUI（菜单） 命名为:\\

```
:offset_-16::blank_menu:
```

这能使 Itemsadder 使用 -16 偏移量的特殊字符替换Gui（菜单）的名称，`:blank_menu:` 字符图像会向后移动 16 像素

![](/files/OirZjc1mlgBlutnm7I0N)

### 阅读更多有关变量的信息

{% content-ref url="/pages/q7JrpcZxdoctRjRBDl0i" %}
[Placeholders](/yu-lan/plugin-usage/adding-content/font-images/placeholders.md)
{% endcontent-ref %}

## 示例附属

你可以下载该示例附属 <https://www.spigotmc.org/resources/gui-server-rules-main-menu-itemsadder-addon.84793/>

![https://i.imgur.com/wuFEAoZ.gif](https://i.imgur.com/wuFEAoZ.gif)

## 用户创建的示例内容（版权为Gust所有）

![](/files/HGN2rIABIGkZQp6Jvjtc)

{% hint style="warning" %}

#### 示例内容

{% endhint %}

{% embed url="<https://www.mc-market.org/resources/21017/>" %}
