Better Chat
你是否曾渴望拥有一个无需安装 5 个不同插件就能满足你所有需求的聊天系统?提及、标签、本地聊天、全局聊天、私聊、敏感词过滤、可点击链接、自定义加入/离开消息、颜色代码、冷却时间以及完整的 moderation(管理)工具,全部集成在一个插件中?
幸运的是,我的插件让这一切成为可能!
我最初是为 Paper 1.21.1 版本的服务器制作这个插件的,但我认为它也应该适用于更高版本。
因此,该插件包含以下内容:
简单配置
配置文件允许您:
- 通过单一选项在 SIMPLE(简单)、LOCAL(本地)和 GLOBAL(全局)聊天模式之间切换
- 为本地聊天设置半径并为全局消息设置自定义触发器
- 个性化每种格式、颜色和布局以匹配您的服务器风格
- 在不接触代码的情况下启用或禁用各个功能
- 轻松设置冷却时间、消息限制和半径值
带声音的提及通知
当有人提及玩家时,他们会收到通知:
- 为每个被提及的玩家提供可自定义的声音提醒
- 消息中高亮显示昵称
- 完整支持 PlaceholderAPI 以实现彩色/渐变名称
- 可调节音量和音调
聊天标签
动态信息触手可及:
{item} — 显示当前手持物品及其悬停详情(附魔、数量)
{online} — 服务器在线玩家数量
{random} — 随机数生成器
{premium} — 可点击的捐赠链接
{cords} — 坐标并支持复制到剪贴板
{exp} — 经验等级显示
{ping} — 玩家延迟信息
敏感词过滤
保持您的聊天环境适合全年龄观看:
- 自动替换不适当词汇
- 可自定义的违禁词列表和替换内容
- 当消息被过滤时向发送者发出通知
URL 短链接器
聊天中的任何 URL 都会变成可交互形式:
- 自动检测链接
- 自定义显示文本和悬停消息(可配置)
- 点击即可打开 URL
- 安全且用户友好
私聊
- 支持
/msg、/tell、/w、/pm、/message
- 可点击的玩家昵称,方便快速回复
- 收到消息时播放提示音
- 通过 PlaceholderAPI 实现彩色玩家昵称
- 点击任意消息即可将其复制到剪贴板
- 完全支持 SuperVanish —— 隐身状态下的玩家在私聊中不可见
自定义加入/离开消息
玩家可以个性化自己的加入提示:
/enter <带有 * 作为昵称的消息>
/exit <带有 * 作为昵称的消息>
- 完全支持颜色代码
- 基于权限的高级访问
点击操作
- 点击任意聊天消息以将其复制到剪贴板
- 点击玩家名称以打开私聊建议
- 悬停在名称上可查看玩家信息
颜色代码
- 允许拥有权限的玩家在聊天中使用
& 颜色代码
- 在配置文件中为所有玩家切换颜色
聊天冷却与防刷屏保护
- 消息之间的冷却时间可配置
- 自定义冷却提示信息,显示剩余秒数
- 为工作人员提供绕过权限
- 最大消息长度限制
- 阻止发送空消息或仅含空白字符的消息
- 自动截断过长的消息
SUPERVANISH 集成
- 隐身状态的玩家完全不可见
- 隐藏状态的玩家不显示加入/离开消息
- 无法向隐身玩家发送私信,也无法接收来自隐身玩家的私信
- 无缝兼容
日志记录
- 完整聊天日志输出至控制台
- 自定义日志格式,包含模式、玩家名称和消息内容
- 本地、全局和私信分别记录日志
命令
| 命令 |
描述 |
/enter <message> |
设置你的自定义加入消息 |
/exit <message> |
设置你的自定义离开消息 |
/betterchat reload |
重新加载配置 |
/betterchat addmat <word> |
将单词添加到脏话过滤器 |
/betterchat status |
查看当前设置 |
权限
| 权限 |
描述 |
BetterChat.admin |
访问管理员命令 |
BetterChat.join.use |
使用自定义加入/离开消息 |
BetterChat.color |
在聊天中使用颜色代码 |
BetterChat.chat.global |
使用全局聊天 |
BetterChat.chat.local |
使用本地聊天 |
BetterChat.chat.bypass |
绕过本地聊天范围限制 |
BetterChat.mention.use |
使用提及功能 |
BetterChat.tag.use |
使用聊天标签 |
如果遇到任何问题,请通过 Telegram 联系我!@AlexsandrDeveloper
(如果您对购买该插件的源代码感兴趣,也欢迎私信我)
Better Chat
Have you ever wanted a chat system that actually does everything you need without installing 5 different plugins? Mentions, tags, local chat, global chat, private messages, profanity filter, clickable links, custom join/leave messages, color codes, cooldowns, and full moderation tools all in one?
Luckily for you, there's my plugin that makes it possible!
I originally made this for my Paper server on version 1.21.1, but I think it should work on higher versions too.
So, the plugin includes:
EASY CONFIGURATION
The config allows you to:
- Switch between SIMPLE, LOCAL, and GLOBAL chat modes with a single option
- Toggle radius for local chat and set custom trigger for global messages
- Personalize every format, color, and layout to match your server style
- Enable or disable individual features without touching the code
- Set cooldowns, message limits, and radius values effortlessly
MENTIONS WITH SOUND
Players get notified when someone mentions them:
- Customizable sound alert for each mentioned player
- Nickname highlighting in the message
- Full PlaceholderAPI support for colored/gradient names
- Adjustable volume and pitch
CHAT TAGS
Dynamic information at your fingertips:
{item} — shows current held item with hover details (enchantments, amount)
{online} — server player count
{random} — random number generator
{premium} — clickable donate link
{cords} — coordinates with copy-to-clipboard
{exp} — experience level display
{ping} — player ping information
PROFANITY FILTER
Keep your chat family-friendly:
- Automatic replacement of inappropriate words
- Customizable word list and replacements
- Sender notification when messages are filtered
URL SHORTENER
Any URL in chat becomes interactive:
- Automatic link detection
- Custom display text and hover messages (configurable)
- Click to open URL
- Safe and user-friendly
PRIVATE MESSAGES
/msg, /tell, /w, /pm, /message support
- Clickable nicknames for quick replies
- Sound notification on message receipt
- Colorized nicknames via PlaceholderAPI
- Click on any message to copy it to clipboard
- Full SuperVanish support — vanished players are invisible in PM
CUSTOM JOIN/LEAVE MESSAGES
Players can personalize their arrival:
/enter <message with * as nickname>
/exit <message with * as nickname>
- Full color code support
- Premium permission-based access
CLICK ACTIONS
- Click on any chat message to copy it to clipboard
- Click on player name to open private message suggestion
- Hover over name for player information
COLOR CODES
- Allow players with permission to use
& color codes in chat
- Toggle color for all players in config
CHAT COOLDOWN & SPAM PROTECTION
- Configurable cooldown between messages
- Custom cooldown message with remaining seconds
- Bypass permission for staff
- Maximum message length limit
- Block empty or blank messages
- Auto-truncate long messages
SUPERVANISH INTEGRATION
- Vanished players stay completely invisible
- No join/leave messages from hidden players
- No private messages to/from vanished players
- Seamless compatibility
LOGGING
- Full chat logging to console
- Custom log format with mode, player name, and message
- Separate logs for local, global, and private messages
COMMANDS
| Command |
Description |
/enter <message> |
Set your custom join message |
/exit <message> |
Set your custom leave message |
/betterchat reload |
Reload configuration |
/betterchat addmat <word> |
Add word to profanity filter |
/betterchat status |
View current settings |
PERMISSIONS
| Permission |
Description |
BetterChat.admin |
Access to admin commands |
BetterChat.join.use |
Use custom join/leave messages |
BetterChat.color |
Use color codes in chat |
BetterChat.chat.global |
Use global chat |
BetterChat.chat.local |
Use local chat |
BetterChat.chat.bypass |
Bypass local chat range |
BetterChat.mention.use |
Use mentions |
BetterChat.tag.use |
Use chat tags |
If you run into any issues, contact me on Telegram! @AlexsandrDeveloper
(Also message me if you're interested in buying the plugin's source code)
评论 0
登录后参与评分
还没有评论,来抢沙发吧