v6.3.0 及更高版本包括 1.17 支持(Bukkit/Spigot/Paper)
是的,这是另一个聊天项目插件。我之所以这样做,是因为人们要求一个独立的 NMS 版本。
此插件将允许您为config.yml中指定的关键字插入弹出窗口(默认关键字为“[item]”)。当玩家将鼠标悬停在聊天中的“[物品]”上时,他们可以看到您持有的物品的详细信息。
v6 中提供的新功能
*) RGB 支持
示例图像:
支持 RGB:
命令:
- /item2chat help :显示帮助菜单
- /item2chat reload :重新加载config.yml
许可:
- item2chat.use :允许您使用注册的关键字 ([item]) 来展示您持有的物品。
- item2chat.reload :允许您使用 reload 命令。
- item2chat.cooldown_bypass:允许您绕过冷却限制。
安装:
您必须先安装 ProtocolLIb,然后将Item2Chat.jar文件放入服务器的插件文件夹中。如果您希望在前缀中使用占位符(由 PlaceholderAPI 支持),请同时安装 PlaceholderAPI。
配置:# +------------------------------------------------------------+ #
# Item2Chat Configuration
# +------------------------------------------------------------+ #
# NOTE: Do NOT put tabs anywhere in the config!
Messages:
ErrorMsg : "&c[Item2Chat] : Some error occured."
NoItem: "&c[Item2Chat] : You must have something in your hand to use Item2Chat!"
NoPermission: "&c[Item2Chat] : You don't have a permission."
CoolDown: "&c[Item2Chat] You have to wait for &b%remaining% &aseconds."
HelpMessages:
banner:
msg: "=== &e[&aItem2Chat Commands List (%version%)&e] &r==="
help:
msg: "&a/item2chat help : displays this help menu."
reload:
msg: "&a/item2chat reload : reloads config file."
permission: "item2chat.reload"
debug:
msg: "&a/item2chat debug <true|false> : turn on / off the debug mode."
permission: "item2chat.debug"
#if this option is true, the plguin will try to send the chat packet in asynchronous fashion
AsynchronousMode: true
# if you encounter any issue with your chat plugin, try adjusting this option.
# adjust these event priority if those event processes from this plugin
# interfere with other plugins' event processes.
EventPriorityMap:
AsyncPlayerChatEvent: "LOWEST"
Cooldown: 10 # in seconds
CaseSensitive: false
Keyword:
- "[item]"
- "{item}"
- "{i}"
InlineFormat: "&r&f[%name%%INLINE_AMOUNT%&r&f]" # %INLINE_AMOUNT% will be replaced by the following parameter.
InlineAmountFormat: " (x%amount%)"
|