FastSellCMI

一个允许玩家通过CMI价值率在单个菜单中出售物品的插件。

资源图片
一个允许玩家控制生物生成的Spigot插件。 [Modrinth](https://modrinth.com/plugin/fastsellcmi) | [Hangar](https://hangar.papermc.io/Animepdf/FastSellCMI) | [Discord](https://discord.gg/nJr7vPjzNy) # FastSellCMI PaperMC 插件,允许通过 CMI 的价值率在单个菜单中出售物品。

**版本: Paper, Purpur 和 Paper 的其他分支, 1.18.2+** **Java: 17+** **支持 minimessages 并且有可配置的菜单!**


如果您有任何问题,请加入 Discord!

## 命令: * `/fastsell` * *别名: `/fsell` * * `<无参数>` - 打开出售菜单 * * `reload` - 重新加载配置文件 ## 权限: * `fastsell.open` - 允许 `/fastsell` 命令。 默认为: all * `fastsell.reload` - 允许 `/fastsell reload` 命令。 默认为: op * `fastsell.*` - 允许所有命令。 默认为: op ## 配置文件 ### config.yml | 变量 | 默认值 | 占位符 | |------------------------|-----------------------------------------------------------------------|--------------------------------------------| | config-reloaded | `FastSellCMI 配置文件已重新加载!` | | | missing-permission | `权限不足!` | | | sell-message | `物品已出售!您获得了 {total}` | `{total}` - 收到的总金额 | | no-items-sold-message | `无法出售任何物品。` | | | cancel-message | `您取消了出售!` | | | sell-sound |
  name: ENTITY_VILLAGER_TRADE
volume: 1
pitch: 0
| | | no-items-sold-sound |
  name: ENTITY_VILLAGER_HURT
volume: 1
pitch: 0
| | | cancel-sound |
  name: ENTITY_VILLAGER_NO
volume: 1
pitch: 0
| | ### sell_menu.yml | 变量 | 默认值 | 描述 | |----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | window-title | `Fast sell you items!` | | | inventory-map |
- WWWWWWWWW
- W W
- W W
- W W
- W W
- WSSSPCCCW
| 基本上是 9x6 大小的库存布局。 | | item-map |
  P:
end_crystal 1:
name: '\Sell for: \{total}'
S:
green_stained_glass_pane 1:
name: \SELL
C:
red_stained_glass_pane 1:
name: \CANCEL
W:
purple_stained_glass_pane 1:
name: ' '
| 对应于 `inventory-map` 字符的项目属性,支持:
`name`: `String`
`lore`: `List`
`cmd`(自定义材质数据): `Int`
`unbreakable`: `Bool`
`durability`: `Int`
`item_flags`: `List`
`enchantments`: `List`. 参见 [示例](#examples)。 | | functional-map |
  P: price-button
S: sell-button
C: cancel-button
W: wall-button
| 按钮 '类型',对应于 `inventory-map` 字符。 | ## 注意 ### 配置文件中的物品堆栈 物品堆栈序列化程序支持耐久度、药水、烟花、皮革颜色、头颅。

示例:

通用示例:
general-example:
  diamond_sword 1:
    name: Green name
    lore:
    - Lore 1
    - Lore 2
    - Lore 3
    cmd: 6666
    unbreakable: true
    enchantments:
    - channeling 10
    item_flags:
    - hide_enchants
    - hide_dye
    durability: 781
药水示例:
potion-example:
  potion 1:
    potion:
      base: AWKWARD
      effects:
      - type: ABSORPTION
        duration: 100
        amplifier: 1
烟花示例:
firework-example:
  firework_rocket 1:
    firework:
      effects:
      - flicker: true
        trail: true
        type: BALL
        colors:
        - hex: '#808080'
        fade:
        - hex: '#00ffff'
        - hex: '#ff0000'
        - hex: '#008000'
      power: 0
皮革颜色示例:
color-example:
  leather_chestplate 1:
    color:
      hex: '#00ffff'
玩家头颅示例:
skull-example:
  player_head 1:
    textures: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTcxNzA1NzY4NDY4ZWViNjM2NmYyYWVhODQ3YjBjNzI2NGUwNWYyNWZlMGZiNGMxZTNlNjYzN2I5NTQ1MjY1YyJ9fX0=
~~~~