> For the complete documentation index, see [llms.txt](https://spintowin.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spintowin.superiormc.cn/jian-ti-zhong-wen-2/ji-ben-xin-xi/compatibility.md).

# 🔗兼容性

插件主要提供物品插件与经济插件挂钩。物品挂钩可以根据原插件的物品 ID 匹配物品，避免物品名称或 Lore 变化后无法识别。

## 直接兼容

在物品格式或经济格式中直接填写插件名及物品、货币 ID，即可使用对应挂钩。

### 物品插件

* ItemsAdder
* Oraxen
* EcoItems
* EcoArmor
* MMOItems
* MythicMobs
* eco
* NeigeItems
* ExecutableItems
* Nexo
* CraftEngine

### 经济插件

* PlayerPoints
* CoinsEngine
* UltraEconomy
* EcoBits
* PEconomy
* RedisEconomy
* RoyaleEconomy
* VotingPlugin

也可以通过 Vault 对接其支持的经济插件。以下示例包含免费价格、Vault 价格和 EcoItems 物品价格：

```yaml
prices:
  1:
    free: true
    placeholder: 'Free'
    apply: [1,2,3]
  2:
    economy-plugin: Vault
    amount: 5
    placeholder: '5 Coins'
    apply: [1,2,3,4,5,6]
  3:
    hook-plugin: EcoItems
    hook-item: super_sword
    amount: 3
    start-apply: 8
```

## MythicChanger：额外物品格式选项

安装 MythicChanger 后，可以在[物品格式](https://ultimateshop.superiormc.cn/format/itemformat-tm)中添加 `change-item`，进一步修改生成的物品。

* [MythicChanger 免费版](https://www.spigotmc.org/resources/mythicchanger-match-and-modify-all-your-items-without-trouble-1-14-1-21.98523/)
* [MythicChanger 高级版](https://www.spigotmc.org/resources/mythicchanger-premium-match-and-modify-all-your-items-without-trouble-1-14-1-21.115913/)

具体规则见 [MythicChanger 文档](https://simple.superiormc.cn/)。部分规则需要 **MythicChanger 高级版**，购买 SpinToWin 或 UltimateShop 高级版并不等于拥有这些规则。

高级版还支持通过 `nbt-xxx` 规则处理自定义 NBT，并可使用 `/mc viewnbt` 查看手持物品的 NBT。

```yaml
change-item:
  set-name: '&fGood Diamond Sword'
```

## NBTAPI：额外物品格式选项

安装 NBTAPI 后，可以使用以下结构添加 NBT：

```yaml
nbt:
  <NBT Type>:
    <NBT Key>: <NBT Value>
```

支持 `byte`、`short`、`int`、`long`、`float`、`double`、`string` 类型。例如：

```yaml
nbt:
  string:
    customNBT: 'Hello!'
  int:
    anotherNBTComponent.theNBTKey: 5
```
