1 344
收录服务器
1 891
注册
30 440
玩家
ChatItemDisplay 聊天物品展示
在聊天中显示物品、库存等
作 者 BingoRufus
发布时间 2020年4月9日
支持核心 Spigot
原生版本
支持版本 1.13,1.14,1.15,1.16,1.17,1.18
点此下载

🛠️ ChatItemDisplay 插件介绍

ChatItemDisplay 是一款允许玩家在聊天中展示物品的插件。通过默认的触发词(如 "[i]" 或 "[item]"),玩家可以轻松展示手中的物品。插件支持悬浮查看物品的附魔、描述,甚至打开GUI界面查看详细信息。特别的是,它还支持潜影盒的展示与内容查看。插件需要 ProtocolLib 支持。

📜 指令与权限

指令列表

  • /viewdisplay <player/display id> - 打开玩家展示物品的GUI
  • /displayitem - 展示物品(需要权限:ChatItemDisplay.command.display.item)
  • /displayinv - 展示玩家背包(需要权限:ChatItemDisplay.command.display.inventory)
  • /displayec - 展示玩家末影箱(需要权限:ChatItemDisplay.command.display.enderchest)
  • /chatitemreload - 重载配置文件(需要权限:ChatItemDisplay.command.reload)
  • /generatedebuglogs - 生成调试日志(需要权限:ChatItemDisplay.command.debug)

权限列表

  • ChatItemDisplay.* - 所有插件权限的父节点
  • ChatItemDisplay.command.* - 所有指令权限
  • ChatItemDisplay.command.debug - 生成调试日志权限
  • ChatItemDisplay.command.reload - 重载配置文件权限
  • ChatItemDisplay.command.display.* - 所有展示指令权限
  • ChatItemDisplay.display.* - 所有展示权限
  • ChatItemDisplay.cooldownbypass - 绕过冷却时间权限
  • ChatItemDisplay.blacklistbypass - 展示黑名单物品权限

⚙️ 配置文件

以下是默认的 config.yml 配置示例:

disable-update-checking: false
auto-update: true

display-types:
  item:
    command: "displayitem"
    command-enabled: true
    aliases:
      - "displayitems"
      - "showitem"
      - "display"
    triggers:
      - "[i]"
      - "[item]"
      - "[itemdisplay]"
      - "[displayitem]"
    missing-permission: "&cYou do not have permission to display items"
    too-much-nbt: "&cThe item you are trying to display has too much nbt data to be displayed"
    inventory-title: "%player%'s %name%"

  inventory:
    command: "displayinventory"
    command-enabled: true
    aliases:
      - "displayinv"
      - "showinv"
    triggers:
      - "[inv]"
      - "[inventory]"
      - "[invdisplay]"
      - "[displayinv]"
    missing-permission: "&cYou do not have permission to display your inventory"
    too-much-nbt: "&cThe inventory you are trying to display has too much nbt data to be displayed"
    inventory-title: "%player%'s Inventory"

  enderchest:
    command: "displayenderchest"
    command-enabled: true
    aliases:
      - "displayec"
      - "showendenderchest"
    triggers:
      - "[ec]"
      - "[enderchest]"
      - "[displaychest]"
      - "[displayec]"
    missing-permission: "&cYou do not have permission to display your Ender Chest"
    too-much-nbt: "&cThe EnderChest you are trying to display has too much nbt data to be displayed"
    inventory-title: "%player%'s EnderChest"

disable-gui: false
message-command:
  - "/msg"
  - "/t"
  - "/w"
  - "/pc"
  - "/message"
  - "/tell"
  - "/whisper"
  - "/bc"
  - "/broadcast"
  - "/tellall"

messages:
  missing-permission: "&cYou do not have permission to do that"
  too-large-display: "§cYour message is too long, try displaying less things"
  blacklisted-item: "&cYou cannot display this at item as it is blacklisted"
  player-not-displaying-anything: "&cThat player isn't displaying anything"
  invalid-id: "&cThis display id has expired"
  cooldown: "&cYou cannot do that right now, please wait %seconds% more seconds."
  feature-disabled: "&cThis feature has been disabled"
  map-notification: "&eDrop or click on the map to receive your item back"
  empty-hand: "&cYou are not holding anything"
  force-item-colors: false
  item-color: ""
  logger-lang: "en"

display-messages:
  inchat-item-format: "&r[%item%&r]"
  inchat-item-format-multiple: "&r[%item% x%amount%&r]"
  inchat-inventory-format: "&r[%player%'s %type%&r]"
  item-display-format: "&6%player%&6 is displaying their &f%item%"
  item-display-format-multiple: "&6%player%&6 is displaying their &f%item% x%amount%"
  inventory-display-format: "&6%player%&6 is displaying their &f%type%"

use-nicks-in-display-message: true
strip-nick-colors-message: false
use-nicks-in-gui: true
strip-nick-colors-gui: false

send-to-bungee: true
display-cooldown: 0
display-expiration: 900
maximum-displays: -1

debug-mode: false
blacklisted-items:
#- "minecraft:bedrock"

🌍 支持的语言

插件支持多种语言的本地化,包括但不限于:

  • 简体中文 (中国) - zh_cn
  • 繁體中文 (台灣) - zh_tw
  • English (United States) - en
  • Español (España) - es_es
  • Français (France) - fr_fr
  • Deutsch (Deutschland) - de_de
  • 日本語 (日本) - ja_jp

📞 联系方式

如有任何问题、BUG 或需求,请联系开发者:Discord