AntiSpam
一款轻量级、完全可配置的聊天反垃圾邮件插件,适用于 Paper 服务器,并可选集成 EssentialsX。
✨ 功能特性
-
? 聊天冷却
通过设置消息间的最小间隔时间,防止玩家刷屏。
-
⚠️ 渐进式惩罚
根据可配置阈值自动升级处罚:警告 → 禁言 → 踢出。
-
? EssentialsX 集成
使用 EssentialsX 的 /mute 和 /kick 命令,将处罚历史和日志集中管理。
-
?️ 内置备用系统
不使用 EssentialsX?该插件自带内部禁言和踢出系统。
-
⚙️ 完全可配置
可独立启用或禁用警告、禁言、踢出或整个插件。
-
? 权限绕过
允许工作人员或受信任的玩家绕过所有反垃圾保护。
-
? 热重载
无需重启服务器即可重新加载配置。
? 命令
| 命令 |
描述 |
权限 |
/antispam reload |
重新加载插件配置 |
antispam.reload |
/antispam unmute <player> |
移除内部禁言状态 |
antispam.unmute |
? 权限
| 权限 |
描述 |
默认值 |
antispam.reload |
重新加载配置 |
OP |
antispam.unmute |
解除内部禁言 |
OP |
antispam.bypass |
绕过所有垃圾检查 |
False |
⚙️ 示例配置
enabled: true
cooldown-seconds: 1.5
warn:
enabled: true
message: "&c你发送消息太快了!"
mute:
enabled: true
threshold: 5
use-essentials: true
essentials-duration: "2h"
internal-duration-minutes: 120
reason: "在聊天中刷屏"
message: "&c你因刷屏被禁言。"
kick:
enabled: false
threshold: 10
use-essentials: true
reason: "因刷屏被踢出"
message: "&c你因刷屏被踢出。"
? 依赖要求
- Paper 1.21+
- Java 21+
- EssentialsX (可选 - 仅在启用
use-essentials 时必需。)
❤️ 支持
如果发现错误或有任何功能建议,请在 GitHub 上提交 Issue,或在 Modrinth 页面留言。
AntiSpam
A lightweight, fully configurable chat spam protection plugin for Paper servers with optional EssentialsX integration.
✨ Features
-
? Chat Cooldown
Prevent players from flooding chat with a configurable delay between messages.
-
⚠️ Escalating Punishments
Automatically escalate from Warn → Mute → Kick based on configurable thresholds.
-
? EssentialsX Integration
Use EssentialsX's /mute and /kick commands to keep punishment history and logs in one place.
-
?️ Built-in Fallback System
Don't use EssentialsX? The plugin includes its own internal mute and kick system.
-
⚙️ Fully Configurable
Enable or disable warnings, mutes, kicks, or the entire plugin independently.
-
? Bypass Permission
Allow staff or trusted players to bypass all spam protection.
-
? Hot Reload
Reload the configuration without restarting your server.
? Commands
| Command |
Description |
Permission |
/antispam reload |
Reload the plugin configuration |
antispam.reload |
/antispam unmute <player> |
Remove an internal mute |
antispam.unmute |
? Permissions
| Permission |
Description |
Default |
antispam.reload |
Reload the configuration |
OP |
antispam.unmute |
Unmute internally muted players |
OP |
antispam.bypass |
Bypass all spam checks |
False |
⚙️ Example Configuration
enabled: true
cooldown-seconds: 1.5
warn:
enabled: true
message: "&cYou're sending messages too fast!"
mute:
enabled: true
threshold: 5
use-essentials: true
essentials-duration: "2h"
internal-duration-minutes: 120
reason: "Spamming chat"
message: "&cYou have been muted for spam."
kick:
enabled: false
threshold: 10
use-essentials: true
reason: "Kicked for spam"
message: "&cYou have been kicked for spam."
? Requirements
- Paper 1.21+
- Java 21+
- EssentialsX (Optional - only required when
use-essentials is enabled.)
❤️ Support
If you find a bug or have a feature request, please open an issue on GitHub or leave a comment on the Modrinth page.
评论 0
登录后参与评分
还没有评论,来抢沙发吧