ChatItemDisplay 聊天物品展示 | |
---|---|
![]() |
在聊天中显示物品、库存等 |
作 者 | BingoRufus |
发布时间 | 2020年4月9日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.13,1.14,1.15,1.16,1.17,1.18 |
插件详细介绍
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
en
es_es
fr_fr
de_de
ja_jp
如有任何问题、BUG 或需求,请联系开发者:Discord