SimpleChatFormatter (by whynot Studio)
完全掌控服务器聊天外观!
SimpleChatFormatter 是由 whynot Studio 开发的一款现代、轻量且高性能的聊天插件,基于 Kyori Adventure & MiniMessage 构建。告别臃肿的聊天管理器,切换到这款干净且支持 Folia 的解决方案,享受交互式的聊天自定义体验。
🛠️ 主要功能
- 动态聊天格式化: 使用 MiniMessage 渐变、十六进制颜色代码和传统的
& 颜色代码,完全自定义你的聊天布局。
- 交互式聊天颜色 GUI (
/chatcolor): 玩家可以通过一个干净的、多菜单 GUI 个性化他们的聊天消息,包含 15 种纯色、8 种内置渐变、可组合的 文本样式(bold、italic、underlined)以及 实时聊天预览——异步保存,零延迟。
- 玩家提及 (
@Player): 在聊天中提及在线玩家时,其名字会被高亮显示,并播放可配置的提示音。
- 交互式悬停与点击动作: 将鼠标悬停在聊天消息上时显示自定义工具提示(例如玩家等级、统计数据),并在点击时触发命令或建议。
- 私聊自定义: 为收到的和发出的私聊定义单独的、整洁的格式。
- PlaceholderAPI 与 LuckPerms 支持: 无缝显示等级、前缀和自定义占位符(当未安装 PlaceholderAPI 时提供内置的回退机制)。
- Folia 与 Paper 优化: 采用线程安全、异步数据处理构建,兼容 Paper、Spigot 和 Folia。
⚙️ 配置示例
以下是默认的 config.yml,展示了聊天格式化、悬停/点击事件、提及功能以及聊天颜色 GUI:
# 支持 MiniMessage 和传统的 & 颜色代码。
# 当安装了 PlaceholderAPI 时,支持 PlaceholderAPI 占位符。
# 未安装 PlaceholderAPI 时,可使用 %player_name%、%player_displayname% 和 %player_uuid%。
chat-format: "&8[<gradient:#00ff88:#00aaff>SimpleChatFormatter</gradient>&8] <gradient:#d4260f:#e38b19>{player}</gradient>: <white>{message}"
hover-settings:
enabled: true
lines:
- "<gradient:#00ff88:#00aaff><bold>%player_name%</bold></gradient>"
- "<gray>Rank: <white>%luckperms_prefix%"
- ""
- "<yellow>▸ Click to send a message"
click-settings:
enabled: true
# 选项: SUGGEST_COMMAND, RUN_COMMAND, OPEN_URL
action: "SUGGEST_COMMAND"
value: "/msg %player_name% "
private-message:
sender-format: "<dark_gray>[<light_purple>You -> {target}<dark_gray>] <white>{message}"
receiver-format: "<dark_gray>[<light_purple>{player} -> You<dark_gray>] <white>{message}"
mentions:
enabled: true
allow-self-mention: false
format: "<gradient:#38bdf8:#818cf8><bold>@<player></bold></gradient>"
sound:
enabled: true
type: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.2
update-checker:
enabled: true
notify-ops: true
(完整的 chat-color GUI 选项,包括颜色、渐变、样式和音效,会自动生成在 config.yml 中。)
📋 命令与权限
命令
-
/chatcolor (别名: /cc) — 打开交互式聊天颜色与样式 GUI。
-
/chatcolor set <player> <color> — 设置另一位玩家的聊天颜色。
-
/chatcolor reset <player> — 重置另一位玩家的聊天颜色和样式。
-
/chatformatter reload — 重新加载配置文件,无需重启服务器。
权限
-
simplechatformatter.chatcolor — 访问 /chatcolor(默认: true)
-
simplechatformatter.mention — 使用 @Player 提及在线玩家(默认: true)
-
simplechatformatter.color.* — 解锁所有纯色聊天颜色(或使用 simplechatformatter.color.<name>)
-
simplechatformatter.gradient.* — 解锁所有聊天渐变(或使用 simplechatformatter.gradient.<name>)
-
simplechatformatter.style.* — 解锁所有文本样式(或使用 simplechatformatter.style.<bold|italic|underlined>)
-
simplechatformatter.minimessage — 允许在聊天消息中直接使用原始 MiniMessage 标签(默认: op)
-
simplechatformatter.chatcolor.admin — 使用管理员 /chatcolor 子命令(默认: op)
-
simplechatformatter.reload — 重新加载插件配置(默认: op)
-
simplechatformatter.update — 接收游戏内更新通知(默认: false)
🖥️ 兼容性
支持 Minecraft 版本 1.21.11 至 26.3。已在以下平台测试并流畅运行:
需要帮助、发现 Bug 或有功能请求?加入本页面链接的 Discord 并提交工单!
由 whynot Studio 提供支持
SimpleChatFormatter (by whynot Studio)
Take full control over your server's chat appearance!
SimpleChatFormatter is a modern, lightweight, and high-performance chat plugin by whynot Studio, built with Kyori Adventure & MiniMessage. Stop dealing with bloated chat managers and switch to a clean, Folia-ready solution with interactive chat customization.
🛠️ Key Features
- Dynamic Chat Formatting: Fully customize your chat layout using MiniMessage gradients, hex colors, and legacy
& color codes.
- Interactive ChatColor GUI (
/chatcolor): Players can personalize their chat messages through a clean, multi-menu GUI featuring 15 solid colors, 8 built-in gradients, combinable text styles (bold, italic, underlined), and a live chat preview—saved asynchronously with zero lag.
- Player Mentions (
@Player): Mentioning an online player highlights their name in chat and plays a configurable notification sound.
- Interactive Hover & Click Actions: Display custom tooltips (e.g., player rank, stats) when hovering over chat messages and trigger commands or suggestions on click.
- Private Message Customization: Define separate, clean formats for incoming and outgoing private messages.
- PlaceholderAPI & LuckPerms Support: Seamlessly display ranks, prefixes, and custom placeholders (with built-in fallbacks when PlaceholderAPI is not installed).
- Folia & Paper Optimized: Built with thread-safe, asynchronous data handling for Paper, Spigot, and Folia.
⚙️ Configuration Example
Here is the default config.yml showcasing chat formatting, hover/click events, mentions, and the ChatColor GUI:
# MiniMessage and legacy & color codes are supported.
# PlaceholderAPI placeholders are supported when PlaceholderAPI is installed.
# Without PlaceholderAPI, %player_name%, %player_displayname%, and %player_uuid% are available.
chat-format: "&8[<gradient:#00ff88:#00aaff>SimpleChatFormatter</gradient>&8] <gradient:#d4260f:#e38b19>{player}</gradient>: <white>{message}"
hover-settings:
enabled: true
lines:
- "<gradient:#00ff88:#00aaff><bold>%player_name%</bold></gradient>"
- "<gray>Rank: <white>%luckperms_prefix%"
- ""
- "<yellow>▸ Click to send a message"
click-settings:
enabled: true
# Options: SUGGEST_COMMAND, RUN_COMMAND, OPEN_URL
action: "SUGGEST_COMMAND"
value: "/msg %player_name% "
private-message:
sender-format: "<dark_gray>[<light_purple>You -> {target}<dark_gray>] <white>{message}"
receiver-format: "<dark_gray>[<light_purple>{player} -> You<dark_gray>] <white>{message}"
mentions:
enabled: true
allow-self-mention: false
format: "<gradient:#38bdf8:#818cf8><bold>@<player></bold></gradient>"
sound:
enabled: true
type: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.2
update-checker:
enabled: true
notify-ops: true
(Full chat-color GUI options for colors, gradients, styles, and sounds are automatically generated in config.yml.)
📋 Commands & Permissions
Commands
-
/chatcolor (Aliases: /cc) — Opens the interactive ChatColor & Style GUI.
-
/chatcolor set <player> <color> — Sets another player's chat color.
-
/chatcolor reset <player> — Resets another player's chat color and styles.
-
/chatformatter reload — Reloads the configuration file without restarting the server.
Permissions
-
simplechatformatter.chatcolor — Access to /chatcolor (default: true)
-
simplechatformatter.mention — Mention online players with @Player (default: true)
-
simplechatformatter.color.* — Unlock all solid chat colors (or simplechatformatter.color.<name>)
-
simplechatformatter.gradient.* — Unlock all chat gradients (or simplechatformatter.gradient.<name>)
-
simplechatformatter.style.* — Unlock all text styles (or simplechatformatter.style.<bold|italic|underlined>)
-
simplechatformatter.minimessage — Allow raw MiniMessage tags directly in chat messages (default: op)
-
simplechatformatter.chatcolor.admin — Use admin /chatcolor subcommands (default: op)
-
simplechatformatter.reload — Reload the plugin configuration (default: op)
-
simplechatformatter.update — Receive in-game update notifications (default: false)
🖥️ Compatibility
Supports Minecraft versions 1.21.11 through 26.3. Tested and works smoothly on:
Need help, found a bug, or have a feature request? Join my Discord linked on this page and open a ticket!
Powered by whynot Studio
评论 0
登录后参与评分
还没有评论,来抢沙发吧