
xChat - 你的终极聊天解决方案
〢使用 ProtocolLib
xChat - 高级且专业的聊天格式化插件
厌倦了基础过时的聊天插件?xChat 旨在彻底改变你服务器上的交流方式。这个插件不仅仅是对聊天进行格式化;它将聊天转变为一个互动、现代且完全可定制的体验。
从基于排名的格式、悬停时显示的互动文本,到拥有快速回复和社交间谍功能的完整私聊系统,xChat 被设计为你唯一需要的聊天工具。
⭐ 主要功能 ⭐
✅ 专业聊天格式化
Hex/RGB 颜色:使用完整的 Minecraft 调色板!(&#RRGGBB)。
完整的 PlaceholderAPI 支持:直接在聊天中显示任何玩家统计数据。
基于排名的格式(通过 Vault):与 LuckPerms 和其他权限插件完美集成,以显示前缀和组格式。
互动悬停文本:只需将鼠标悬停在玩家名字上,即可显示详细的玩家数据(金钱、游戏时长等)。
点击耳语:在聊天中点击玩家的名字,即可立即开始私聊。
✅ 高级私聊系统
可定制格式:设置发送和接收消息的样式。
快速回复命令 (/r):通过一条命令回复上一条私聊消息。对你的用户来说至关重要!
通知声音:收到消息时播放一小段声音,确保不会错过。
✅ 员工和服务器工具
社交间谍 (/socialspy):允许拥有权限的员工监控私聊消息,以维护社区安全。
忽略系统 (/ignore):允许用户持续忽略其他玩家。
反垃圾信息:通过配置消息之间的冷却时间来防止聊天刷屏。
更新通知器:当 Modrinth 上有 xChat 的新版本可用时,在控制台中发出警报。
✅ 优化和兼容性
轻量级且经过优化:基于 Paper API 构建,并使用 ProtocolLib 数据包以实现最大性能。
100% 可定制:所有生成的 config.yml 中的消息、格式和功能都可以调整。
匿名统计信息与 bStats:帮助我们了解插件的使用情况并改进它。
?️ 插件预览

? 命令和权限
命令 别名 权限 描述
/xchat reload /xc reload xchat.reload 重新加载插件配置。
/xchat help /xc help (无) 显示主帮助。
/msg <player> /tell, /w (无) 发送私聊消息。
/reply <msg> /r <msg> (无) 回复上一条私聊消息。
/ignore /ign (无) 管理你的忽略列表。
/socialspy /spy xchat.socialspy 开启/关闭私聊间谍模式。
(Bypass Spam) - xchat.antispam.bypass 允许跳过聊天冷却时间。
导出到电子表格
? 所需依赖
为了让 xChat 发挥其全部潜力,你需要安装以下三个插件:
Vault:用于权限和经济插件集成。
PlaceholderAPI:使用数千个可用的占位符。
ProtocolLib:用于高级功能。
?Config.YML
# ___ _ _
# __ __ / __\ |__ __ _| |_
# \ \/ // / | '_ \ / _` | __| Plugin by
# > </ /___| | | | (_| | |_ xPlugins inc
# /_/\_\____/|_| |_|\__,_|\__|
#
# ? Wiki: http://xchat.willfry.net/
# ? Discord: https://discord.gg/9khbRDhPCS
# 如果玩家没有特定的组格式,则使用此默认聊天格式。
# 支持 PlaceholderAPI: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
chat-format: "%vault_rank% %player_name%&7 ▸ &f%message%"
# 按 LuckPerms 组格式(通过 Vault)。
# 组名(例如 'vip')必须与你的权限插件中的名称相同。
groups:
vip: "&b&lVIP &b%player_name% &7▸ &f%message%"
# 带有 HOVER 的格式,当鼠标悬停在名字上时显示。
# 此格式优先于 'groups' 和 'chat-format' 格式。
hover-format:
default:
description: "&7▸ MC3FFPlayer stats &n%player_name%&r"
lines:
- "&8▸ Personal information ◂"
- ""
- "&fPlayer name: "D399%player_name% ✔"
- "&fJoined: "D399%player_first_join_date%"
- ""
- "&8 • &fTotal coins: "D399%vault_eco_balance_formatted%"
- "&8 • &fHours played: "D399%statistic_hours_played%"
- "&8 • &fCurrent guild: &#FCA5A5None"
- "&8 • &fCurrent partner: &#FCA5A5None"
- ""
- "MC3FF!&nClickMC3FF to send message!"
click: "/msg %player_name% "
format: "&#C084FC%changeoutput_equals_input:default_matcher:{vault_rank}_ifmatch:&#FF0000Get it!_else:{vault_prefix}% &#E5E7EB%player_name%"
# 私聊消息 (/msg, /r, /socialspy)
#
# /\/\ ___ __ _
# / \/ __|/ _` | Idea by
# / /\/\ \__ \ (_| | xPlugins
# \/ \/___/\__, |
# |___/
pm:
# 双方看到的格式。占位符会根据发送者和接收者进行调整。
# %player_name% 将是发送者,%essentials_nickname% 将是接收者(反之亦然)。
format:
sender: "&#FCD05C✉ Messages! &8▸ &fFrom &#FCD05C%sender_name% &fa &#FCD05C%receiver_name%&7 ▸ &f%message%"
receiver: "&#FCD05C✉ Messages! &8▸ &fFrom &#FCD05C%sender_name% &fa &#FCD05C%receiver_name%&7 ▸ &f%message%"
# 接收者在收到消息时听到的声音。
# 声音列表: https://jd.papermc.io/paper/1.20/org/bukkit/Sound.html
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
# 员工查看私聊消息的系统。
social-spy:
enabled: true
format: "&8[&cSPY&8] &#FCD05C%sender_name% &8▸ &#FCD05C%receiver_name% &8▸ &f"
# 用于 MSG / Pm 系统的可配置消息。
messages:
usage: "&c使用方法:/{label} <玩家> <消息>"
reply_usage: "&c使用方法:/{label} <消息>"
player-not-found: "&c该玩家不在线。"
cannot-message-self: "&c你不能给自己发消息。"
no-reply-target: "&c你没有可以回复的对象。"
social-spy-on: "&a社交间谍已启用。你现在可以看到私人消息了。"
social-spy-off: "&c社交间谍已禁用。"
# 帮助消息 (/xchat help, /ignore help)
# /\/\ ___ __ _
# / \/ __|/ _` | 灵感来自
# / /\/\ \__ \ (_| | xPlugins
# \/ \/___/\__, |
# |___/
help-message:
xchat:
- "&7-------&f xChat 帮助 &7------"
- ""
- "&#AEC6CF> /xchat help 󖣃➛&f 显示此帮助信息。"
- "&#AEC6CF> /xchat reload 󖣃➛&f 重新加载插件配置。"
- ""
- "&7---------------------------------------"
ignore:
- "&7-----------------&f Ignore 帮助 &7--------------------"
- ""
- "&#AEC6CF /ignore help 󖣃➛&f 显示此帮助信息。"
- "&#AEC6CF /ignore list 󖣃➛&f 查看你正在屏蔽的玩家列表。"
- "&#AEC6CF /ignore add <player> 󖣃➛&f 开始忽略该玩家。"
- "&#AEC6CF /ignore remove <player> 󖣃➛&f 停止忽略该玩家。"
- ""
- "&7---------------------------------------"
# 忽略系统 (/ignore)
# _____
# \_ \__ _ _ __ ___ _ __ ___
# / /\/ _` | '_ \ / _ \| '__/ _ \ 创意来自
# /\/ /_| (_| | | | | (_) | | | __/ xPlugins
# \____/ \__, |_| |_|\___/|_| \___|
# |___/
ignore:
enabled: true
storage: "ignores.yml"
messages:
added: "&a你现在正在忽略 &f%target%。"
removed: "&e你不再忽略 &f%target%。"
not_found: "&c未找到玩家。"
usage: "&e用法: /ignore <help|list|add|remove|toggle> [player]"
cannot_ignore_self: "&c你不能忽略自己。"
list_empty: "&7你没有忽略任何人。"
list_header: "&6被忽略的玩家:"
list_format: "&7- &f%target%"
# 反垃圾信息
# _ _ _ __
# /_\ _ __ | |_(_) / _\_ __ __ _ _ __ ___
# //_\\| '_ \| __| |_____\ \| '_ \ / _` | '_ ` _ \ 创意来自
# / _ \ | | | |_| |_____|\ \ |_) | (_| | | | | | | xPlugins
# \_/ \_/_| |_|\__|_| \__/ .__/ \__,_|_| |_| |_|
# |_| 1.0.0
anti-spam:
enabled: true
delay-seconds: 3
message: "&#ff0000 ⚠ 慢点!你必须等待 %time% 秒后才能再次聊天。"
# 通用插件消息
# /\/\ ___ __ _
# / \/ __|/ _` | 创意来自
# / /\/\ \__ \ (_| | xPlugins
# \/ \/___/\__, |
# |___/
plugin-messages:
reload: "Ke25f ✔ 嘿!xChat 配置已重新加载!"
no-permission: "&#ff2c2c ☀ 哎呀!你没有权限执行此命令!"
# 更新通知器
# _ _
# /\ /\ _ __ __| | __ _| |_ ___
# / / \ \ '_ \ / _` |/ _` | __/ _ \
# \ \_/ / |_) | (_| | (_| | || __/
# \___/| .__/ \__,_|\__,_|\__\___|
# |_| 1.0.0
update-checker:
enabled: true
⚙️ 安装
下载 xChat .jar 文件。
确保已安装上述的 3 个依赖项。
将所有 .jar 文件放入服务器的 plugins 文件夹中。
启动或重启服务器。
在生成的 config.yml 文件中按照你的喜好进行配置!
❤️ 支持与致谢
由 WillfryDev (xPlugins inc.) 用心制作。

xChat - Your Ultimate Chat Solution
〢Use ProtocolLib
xChat - Advanced and Professional Chat Formatting
Tired of basic and outdated chat plugins? xChat is here to completely transform communication on your server. This plugin doesn't just format the chat; it turns it into an interactive, modern, and fully customizable experience.
From rank-based formats and interactive text when hovering over to a complete private messaging system with quick replies and socialspy, xChat is designed to be the only chat tool you'll ever need.
⭐ Main Features ⭐
✅ Professional Chat Formatting
Hex/RGB Colors: Use the full Minecraft color palette! (&#RRGGBB).
Full PlaceholderAPI Support: Show any player statistics directly in the chat.
Rank-based Formats (via Vault): Perfect integration with LuckPerms and other permission plugins to show prefixes and group formats.
Interactive Hover Text: Show detailed player stats (money, hours played, etc.) just by hovering over their name.
Click to Whisper: Click on a player's name in the chat to instantly start a private message.
✅ Advanced Private Messaging System
Customizable Formats: Set how the sent and received messages look.
Quick Reply Command (/r): Reply to the last private message with a single command. Essential for your users!
Notification Sounds: A small sound when receiving a message to ensure it doesn't get missed.
✅ Staff and Server Tools
Social Spy (/socialspy): Allows staff members with permissions to monitor private messages to keep the community safe.
Ignore System (/ignore): Allows users to persistently ignore other players.
Anti-Spam: Prevents chat flooding with a configurable cooldown between messages.
Update Notifier: Alerts in the console when a new version of xChat is available on Modrinth.
✅ Optimization and Compatibility
Lightweight and Optimized: Built on the Paper API and using packets with ProtocolLib for maximum performance.
100% Customizable: Absolutely all messages, formats, and functions can be adjusted from the generated config.yml.
Anonymous Statistics with bStats: To help us understand how the plugin is used and improve it.
?️ Plugin Previews

? Commands and Permissions
Comando Alias Permiso Descripción
/xchat reload /xc reload xchat.reload Recarga la configuración del plugin.
/xchat help /xc help (Ninguno) Muestra la ayuda principal.
/msg <jugador> /tell, /w (Ninguno) Envía un mensaje privado.
/reply <msg> /r <msg> (Ninguno) Responde al último mensaje privado.
/ignore /ign (Ninguno) Gestiona tu lista de ignorados.
/socialspy /spy xchat.socialspy Activa/desactiva el espía de PMs.
(Bypass Spam) - xchat.antispam.bypass Permite saltarse el cooldown del chat.
Export to Spreadsheets
? Required Dependencies
To make xChat work with its full potential, you need to install these three plugins:
Vault: For permission and economy plugin integration.
PlaceholderAPI: To use the thousands of available placeholders.
ProtocolLib: For advanced feature functionality.
?Config.YML
# ___ _ _
# __ __ / __\ |__ __ _| |_
# \ \/ // / | '_ \ / _` | __| Plugin by
# > </ /___| | | | (_| | |_ xPlugins inc
# /_/\_\____/|_| |_|\__,_|\__|
#
# ? Wiki: http://xchat.willfry.net/
# ? Discord: https://discord.gg/9khbRDhPCS
# This is the default chat format if a player doesn't have a specific group format.
# Works with PlaceholderAPI: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
chat-format: "%vault_rank% %player_name%&7 ▸ &f%message%"
# Format by LuckPerms groups (via Vault).
# The group name (e.g., 'vip') must be the same as in your permissions plugin.
groups:
vip: "&b&lVIP &b%player_name% &7▸ &f%message%"
# Format with HOVER when hovering over the name.
# This format takes priority over 'groups' and 'chat-format' formats.
hover-format:
default:
description: "&7▸ MC3FFPlayer stats &n%player_name%&r"
lines:
- "&8▸ Personal information ◂"
- ""
- "&fPlayer name: "D399%player_name% ✔"
- "&fJoined: "D399%player_first_join_date%"
- ""
- "&8 • &fTotal coins: "D399%vault_eco_balance_formatted%"
- "&8 • &fHours played: "D399%statistic_hours_played%"
- "&8 • &fCurrent guild: &#FCA5A5None"
- "&8 • &fCurrent partner: &#FCA5A5None"
- ""
- "MC3FF!&nClickMC3FF to send message!"
click: "/msg %player_name% "
format: "&#C084FC%changeoutput_equals_input:default_matcher:{vault_rank}_ifmatch:&#FF0000Get it!_else:{vault_prefix}% &#E5E7EB%player_name%"
# PRIVATE MESSAGES (/msg, /r, /socialspy)
#
# /\/\ ___ __ _
# / \/ __|/ _` | Idea by
# / /\/\ \__ \ (_| | xPlugins
# \/ \/___/\__, |
# |___/
pm:
# Format that both players see. Placeholders adapt to the sender and receiver.
# %player_name% will be the sender, %essentials_nickname% will be the receiver (or vice versa).
format:
sender: "&#FCD05C✉ Messages! &8▸ &fFrom &#FCD05C%sender_name% &fa &#FCD05C%receiver_name%&7 ▸ &f%message%"
receiver: "&#FCD05C✉ Messages! &8▸ &fFrom &#FCD05C%sender_name% &fa &#FCD05C%receiver_name%&7 ▸ &f%message%"
# Sound the receiver hears when receiving a message.
# List of sounds: https://jd.papermc.io/paper/1.20/org/bukkit/Sound.html
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
# System for staff to view private messages.
social-spy:
enabled: true
format: "&8[&cSPY&8] &#FCD05C%sender_name% &8▸ &#FCD05C%receiver_name% &8▸ &f"
# Configurable messages for the MSG / Pm system.
messages:
usage: "&cUse it like this: /{label} <player> <message>"
reply_usage: "&cUse it like this: /{label} <message>"
player-not-found: "&cThat player is not online."
cannot-message-self: "&cYou cannot message yourself."
no-reply-target: "&cYou have no one to reply to."
social-spy-on: "&aSocialSpy enabled. You will now see private messages."
social-spy-off: "&cSocialSpy disabled."
# HELP MESSAGES (/xchat help, /ignore help)
# /\/\ ___ __ _
# / \/ __|/ _` | Idea by
# / /\/\ \__ \ (_| | xPlugins
# \/ \/___/\__, |
# |___/
help-message:
xchat:
- "&7-------&f xChat Help &7------"
- ""
- "&#AEC6CF> /xchat help 󖣃➛&f Displays this help message."
- "&#AEC6CF> /xchat reload 󖣃➛&f Reloads plugin configuration."
- ""
- "&7---------------------------------------"
ignore:
- "&7-----------------&f Ignore Help &7--------------------"
- ""
- "&#AEC6CF /ignore help 󖣃➛&f Displays this help."
- "&#AEC6CF /ignore list 󖣃➛&f See who you are ignoring."
- "&#AEC6CF /ignore add <player> 󖣃➛&f Start ignoring them."
- "&#AEC6CF /ignore remove <player> 󖣃➛&f Stop ignoring them."
- ""
- "&7---------------------------------------"
# IGNORE SYSTEM (/ignore)
# _____
# \_ \__ _ _ __ ___ _ __ ___
# / /\/ _` | '_ \ / _ \| '__/ _ \ Idea by
# /\/ /_| (_| | | | | (_) | | | __/ xPlugins
# \____/ \__, |_| |_|\___/|_| \___|
# |___/
ignore:
enabled: true
storage: "ignores.yml"
messages:
added: "&aYou are now ignoring &f%target%."
removed: "&eYou are no longer ignoring &f%target%."
not_found: "&cPlayer not found."
usage: "&eUsage: /ignore <help|list|add|remove|toggle> [player]"
cannot_ignore_self: "&cYou cannot ignore yourself."
list_empty: "&7You are not ignoring anyone."
list_header: "&6Ignoring:"
list_format: "&7- &f%target%"
# Anti Spam
# _ _ _ __
# /_\ _ __ | |_(_) / _\_ __ __ _ _ __ ___
# //_\\| '_ \| __| |_____\ \| '_ \ / _` | '_ ` _ \ Idea by
# / _ \ | | | |_| |_____|\ \ |_) | (_| | | | | | | xPlugins
# \_/ \_/_| |_|\__|_| \__/ .__/ \__,_|_| |_| |_|
# |_| 1.0.0
anti-spam:
enabled: true
delay-seconds: 3
message: "&#ff0000 ⚠ Slow down! You must wait %time% second(s) before chatting again."
# GENERAL PLUGIN MESSAGES
# /\/\ ___ __ _
# / \/ __|/ _` | Idea by
# / /\/\ \__ \ (_| | xPlugins
# \/ \/___/\__, |
# |___/
plugin-messages:
reload: "Ke25f ✔ Hey! xChat configuration has been reloaded!"
no-permission: "&#ff2c2c ☀ Oops! You don't have permission to run this command!"
# UPDATE NOTIFIER
# _ _
# /\ /\ _ __ __| | __ _| |_ ___
# / / \ \ '_ \ / _` |/ _` | __/ _ \
# \ \_/ / |_) | (_| | (_| | || __/
# \___/| .__/ \__,_|\__,_|\__\___|
# |_| 1.0.0
update-checker:
enabled: true
⚙️ Installation
Download the xChat .jar file.
Make sure you have the 3 dependencies above installed.
Place all the .jar files in your server's plugins folder.
Start or restart the server.
Configure everything to your liking in the generated config.yml file!
❤️ Support and Credits
Created with love by WillfryDev (xPlugins inc.).
评论 0
登录后参与评分
还没有评论,来抢沙发吧