HolaAlerts
HolaAlerts 是什么?
HolaAlerts 是一款专为基于 Velocity 的 Minecraft 服务器设计的强大聊天监控插件。它提供高级的聊天过滤和警报功能,以维护安全且专业的服务器环境。通过 HolaAlerts,服务器管理员可以有效地监控和管理玩家聊天,通过检测并屏蔽不恰当的用语和广告,确保符合社区标准。
功能特性
-
?️ 聊天过滤:自动屏蔽玩家聊天中预定义的脏话和广告模式,支持自定义替换字符。
-
✅ 广告白名单:允许特定域名或模式(例如 example.com)绕过广告过滤,为服务器推广提供灵活性。
-
⏲️ 实时警报:当检测到不当内容时,向拥有相应权限(holaalerts.notify)的工作人员发送游戏内和控制台警报,并对脏话和广告采用不同的格式显示。
-
? Discord Webhook 集成:通过可定制的 Webhook 将详细警报发送到 Discord 服务器,包括对脏话和广告警报均支持的标题、颜色、字段名称、页脚和时间戳选项。
-
❓ 基于权限的控制:支持跳过权限(holaalerts.bypass),使特定玩家免于接受聊天过滤;以及重载权限(holaalerts.reload),用于配置管理。
-
⚒️ 可重载的配置:使用 /holaalerts reload 或 /ha reload 命令轻松重载插件配置,无需重启服务器即可实现动态更新。
-
⛏️ 可定制的警报:提供高度可配置的警报格式,支持 MiniMessage,允许丰富的文本格式、悬停事件以及点击复制玩家姓名的功能。
? 要求
- Velocity 3.3.0+
- Java 17+
⚙️ 配置
HolaAlerts 提供了全面的 config.yml 以供完全自定义。
词语过滤:
Words configuration
filters:
# List of words that will be censored in chat
# You can add/remove words as needed
swear-words:
- example
- test
- badword
# List of advertisement patterns to censor
# These patterns will trigger advertisement alerts unless whitelisted
ads:
- .com
- .net
- example.org
# List of advertisement patterns to exclude from censorship
# Messages containing these patterns will not be censored for advertisements
# Example: Add allowed domains like 'myserver.com' to prevent censorship
ads-whitelist:
- exmaple.com
- example.net
Discord webhook 设置:
Discord webhook configuration
discord:
# Discord webhook URL for sending alerts
# Obtain this from your Discord server: Server Settings > Integrations > Create Webhook
webhook-url: ""
# Enable or disable Discord webhook notifications
enabled: false
# Title for bad word alerts in Discord embeds
bad-word-title: "⚠️ BAD WORD ALERT ⚠️"
# Title for advertisement alerts in Discord embeds
advertise-title: "?️ ADVERTISEMENT ALERT ?️"
# Color for bad word alerts in Discord embeds (hex or decimal, e.g., "FF0000" or "16711680" for red)
bad-word-color: "FF0000"
# Color for advertisement alerts in Discord embeds (hex or decimal, e.g., "AA00FF" or "11141120" for purple)
advertise-color: "FFF700"
# Field name for the player in Discord embeds
player-field-name: "Player"
# Field name for the message in Discord embeds
message-field-name: "Message"
# Footer text for Discord embeds (e.g., server name or branding)
footer: ""
# Show timestamp in Discord embeds
show-timestamp: true
? 命令
/holaalerts 或 /ha:显示插件信息。
/holaalerts reload 或 /ha reload:重载配置(需要 holaalerts.reload 权限)。
? 权限
holaalerts.notify:接收检测到的内容的游戏内警报。
holaalerts.bypass:绕过聊天过滤。
holaalerts.reload:重载插件配置。
? 为什么选择 HolaAlerts?
HolaAlerts 是寻求轻量级但功能强大的聊天审核解决方案的服务器管理员的理想选择。其与 Discord 的无缝集成、灵活的配置以及强大的权限系统使其适用于各种规模的服务器,从小型社区到大型网络皆宜。
由 M0_kii 开发,HolaAlerts 将功能性与精致的用户体验相结合,确保您的服务器保持一个友好且受控的环境。
HolaAlerts
What is HolaAlerts?
HolaAlerts is a robust chat monitoring plugin designed for Velocity-powered Minecraft servers. It provides advanced chat filtering and alert functionalities to maintain a safe and professional server environment. With HolaAlerts, server administrators can effectively monitor and moderate player chat, ensuring compliance with community standards by detecting and censoring inappropriate language and advertisements.
Features
-
?️ Chat Filtering: Automatically censors predefined swear words and advertisement patterns in player chat, with customizable replacement characters.
-
✅ Advertisement Whitelisting: Allows specific domains or patterns (e.g., example.com) to bypass advertisement filtering, ensuring flexibility for server promotion.
-
⏲️ Real-Time Alerts: Sends in-game and console alerts to staff with configurable permissions (holaalerts.notify) when inappropriate content is detected, with distinct formatting for swear words and advertisements.
-
? Discord Webhook Integration: Delivers detailed alerts to a Discord server via customizable webhooks, including options for titles, colors, field names, footers, and timestamps for both bad word and advertisement alerts.
-
❓ Permission-Based Controls: Supports bypass permissions (holaalerts.bypass) for exempting certain players from chat filtering and reload permissions (holaalerts.reload) for configuration management.
-
⚒️ Reloadable Configuration: Easily reload the plugin’s configuration using /holaalerts reload or /ha reload commands, enabling dynamic updates without server restarts.
-
⛏️ Customizable Alerts: Offers highly configurable alert formats with MiniMessage support, allowing for rich text formatting, hover events, and click-to-copy functionality for player names.
? Requirements
- Velocity 3.3.0+
- Java 17+
⚙️ Configuration
HolaAlerts provides a comprehensive config.yml for full customization.
Word Filtering:
Words configuration
filters:
# List of words that will be censored in chat
# You can add/remove words as needed
swear-words:
- example
- test
- badword
# List of advertisement patterns to censor
# These patterns will trigger advertisement alerts unless whitelisted
ads:
- .com
- .net
- example.org
# List of advertisement patterns to exclude from censorship
# Messages containing these patterns will not be censored for advertisements
# Example: Add allowed domains like 'myserver.com' to prevent censorship
ads-whitelist:
- exmaple.com
- example.net
Discord webhook settings:
Discord webhook configuration
discord:
# Discord webhook URL for sending alerts
# Obtain this from your Discord server: Server Settings > Integrations > Create Webhook
webhook-url: ""
# Enable or disable Discord webhook notifications
enabled: false
# Title for bad word alerts in Discord embeds
bad-word-title: "⚠️ BAD WORD ALERT ⚠️"
# Title for advertisement alerts in Discord embeds
advertise-title: "?️ ADVERTISEMENT ALERT ?️"
# Color for bad word alerts in Discord embeds (hex or decimal, e.g., "FF0000" or "16711680" for red)
bad-word-color: "FF0000"
# Color for advertisement alerts in Discord embeds (hex or decimal, e.g., "AA00FF" or "11141120" for purple)
advertise-color: "FFF700"
# Field name for the player in Discord embeds
player-field-name: "Player"
# Field name for the message in Discord embeds
message-field-name: "Message"
# Footer text for Discord embeds (e.g., server name or branding)
footer: ""
# Show timestamp in Discord embeds
show-timestamp: true
? Commands
/holaalerts or /ha: Displays the plugin information.
/holaalerts reload or /ha reload: Reloads the configuration (requires holaalerts.reload permission).
? Permissions
holaalerts.notify: Receive in-game alerts for detected content.
holaalerts.bypass: Bypass chat filtering.
holaalerts.reload: Reload the plugin configuration.
? Why Choose HolaAlerts?
HolaAlerts is ideal for server administrators seeking a lightweight yet powerful solution for chat moderation. Its seamless integration with Discord, flexible configuration, and robust permission system make it suitable for servers of all sizes, from small communities to large networks.
Developed by M0_kii, HolaAlerts combines functionality with a polished user experience, ensuring your server remains a welcoming and controlled environment.
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 HolaAlerts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
HolaAlerts v1.6
⚡ 性能与代码质量
- 重构了整个插件,将原先单个超过 700 行的文件拆分为 6 个清晰、模块化的类
- 缓存正则表达式模式——脏话和广告过滤器现在在启动时编译一次,而不是在每条聊天消息时重新编译
- 静态 Leet-speak 映射表——不再每次调用时重建 HashMap
- 基于 Gson 的 Discord Webhook——用规范的 Gson 序列化替换了手动 StringBuilder 构建 JSON 的方式
? Bug 修复
- 修复了版本不匹配的问题,更新检查器此前对比的是 "1.4.2" 而非插件的实际版本
- 为
player.getCurrentServer()添加了空值安全检查,以防止潜在的崩溃
? 清理
- 移除了重复的
censorOriginalMessage()方法——已合并至censorMessage() - 整合了冗余的启动日志消息
- 更新了 velocity-api 依赖至 3.5.0-SNAPSHOT
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧