HyChat | 聊天格式化工具

HyChat | 聊天格式化工具

可自定义聊天格式,支持颜色代码、十六进制颜色和占位符。

杂项

HyChat 自定义游戏内聊天格式,让服务器管理员完全掌控玩家消息的显示方式。

聊天消息支持经典颜色代码,如 &b(类似 Minecraft)、十六进制颜色(如 #FFFFFF),以及 {player} 和 {message} 这样的占位符。

该插件轻量、易于配置,且无需重启服务器即可重新加载。

1769698829115.png

Luckperms + PlaceholderAPI 支持

1771957996781.png

管理员菜单 UI

1770492556850.png

标题公告 UI

向所有玩家广播一个标题 + 副标题

可选 大号显示(大型标题)

1770492422082.png

预览:

1770492431169.png

通知公告 UI

向所有人发送弹出通知

选择通知样式:SUCCESSWARNINGDANGER

1770492456528.png

预览:

1770492478933.png

聊天公告 UI 向全服发送一条完整格式化的聊天消息 支持:

1770492516756.png

预览:

1770492524639.png

🛡️ 词汇过滤器

拦截或修改包含黑名单词汇的消息

完全可配置且可开关

1769865440158.png

🗣️ 大写锁定控制

检测包含过多大写字母的消息

自动将消息转换为小写

当超过大写限制时提醒玩家

可配置的大写百分比

1769865451543.png

💬 聊天冷却

每个玩家的聊天冷却时间(例如:冷却时间:2s)

防止聊天刷屏

支持绕过权限

1769865394724.png

🛠️ 管理日志

可选的日志系统

记录所有管理操作(大写、刷屏、过滤)

存储在:HyChat/logs/

每天一个日志文件,便于清晰管理

1769865413136.png

1769865424192.png

🔔 提及系统

使用 @PlayerName 提及玩家

向被提及的玩家发送标题通知

提及时会播放音效

内置 5 秒冷却时间以防止刷屏

1769865467150.png

Config.yml:

# HyChat Configuration

# Advanced chat management plugin with formatting, moderation, and filtering

# For Support join at <https://discord.gg/nTTkMxe8Kg>

# Chat Format

# Use color codes: &c for legacy colors, #RRGGBB for hex (e.g., #FF5733)

# Placeholders: {player} = player name, {message} = chat message

# Example: "&7[#0093FFHyChat&7] &f{player} &7» #5FE2C5{message}"

format: "&7[#0093FFHyChat&7] &f{player} &7» #5FE2C5{message}"

# Word Filter

# Automatically blocks messages containing blacklisted words

# When triggered: message is blocked, player sees alert-message

# Permission to bypass: hychat.bypass.filter

word-filter:

enabled: true

words:

- "asshole"

- "fuck"

- "bitch"

alert-message: "&c[!] Your message contained inappropriate language and was filtered!"

# Caps Control

# Prevents excessive uppercase letters in messages

# threshold: 0.7 = 70% of message in caps triggers filter

# min-length: only check messages with this many characters or more

# When triggered: message is converted to lowercase, player sees alert-message

# Permission to bypass: hychat.bypass.caps

caps-control:

enabled: true

threshold: 0.7

min-length: 5

alert-message: "&e[!] Please don't abuse caps lock!"

# Chat Cooldown

# Prevents spam by requiring delay between messages

# duration: seconds players must wait between chat messages

# message: shown when player tries to chat too soon ({time} = remaining seconds)

# Permission to bypass: hychat.bypass.cooldown

cooldown:

enabled: true

duration: 2

message: "&c[x] Please wait {time} more seconds before chatting again!"

# Moderation Logging

# Records filtered messages to logs folder for staff review

# logging-enabled: master switch for all logging

# log-*: individual toggles for each filter type

moderation:

logging-enabled: true

log-word-filter: true

log-caps-control: true

log-cooldown: true

log-mentions: true

# Player Mentions

# Allows @playerName to mention players (triggers notification)

# enabled: toggles mention system

# cooldown: seconds between mentions to same player to prevent spam

# cooldown-message: shown when player tries to mention too soon ({time} = remaining, {player} = mentioned player)

mentions:

enabled: true

cooldown: 5

cooldown-message: "&c[x] You must wait {time} more seconds before mentioning {player} again!"

# Available Permissions:

# - hychat.bypass.filter: Bypass word filter

# - hychat.bypass.caps: Bypass caps control

# - hychat.bypass.cooldown: Bypass chat cooldown

# - hychat.reload: Use /hychat reload command

# - hychat.preview: Use /hychat preview command

命令:

/hychat (用于重载) /hychat preview {player} (预览特定玩家的聊天格式)

权限:

  • hychat.bypass.filter: 绕过词汇过滤器
  • hychat.bypass.caps: 绕过大写锁定控制
  • hychat.bypass.cooldown: 绕过聊天冷却
  • hychat.reload: 使用 /hychat reload 命令
  • hychat.preview: 使用 /hychat preview 命令

支持:

如需帮助、报告错误或提出建议,请加入我们的 Discord 服务器