?️ AntiJoinSpam
消除噪音,保持聊天纯净。
彻底阻止加入/离开消息的刷屏行为——且对玩家无任何影响。
? 概述
AntiJoinSpam 是一款轻量级、高性能的服务端插件,旨在消除因重复加入和离开消息刷屏带来的混乱。无论是连接不稳定的玩家、不断重连的机器人,还是愤怒退出后重新登录的玩家,AntiJoinSpam 都能自动检测并抑制这些干扰信息——让你的聊天窗口保持可读性,让玩家心情愉悦。
无需记忆命令,无需配置权限。只需安装,调整配置文件,然后让它默默在后台运行即可。
✨ 特性
- ? 自动抑制:针对频繁重新连接的玩家的加入/离开消息进行抑制
- ⏱️ 滑动时间窗口检测——追踪可配置时间段内的登录行为,而非仅仅统计原始次数
- ? 插件兼容性层——与修改加入消息的插件和谐共存
- ⚡ 异步高效——不阻塞主线程,专为大规模服务器设计
- ? 支持 Folia 和 Paper——在两种调度器上均能无缝运行
- ? 配置极简——默认设置合理,易于理解
? 插件兼容性
AntiJoinSpam 旨在与任何操纵加入或离开消息的插件和平共存。它在其他插件处理完事件后挂钩到事件管道中,这意味着你的自定义加入消息得以保留——仅在检测到刷屏时被静音,而不会被替换或破坏。
已确认兼容以下插件:
| 插件 |
说明 |
| EssentialsX |
尊重并干净地抑制自定义加入/离开消息 |
| CMI |
完全兼容 CMI 的加入/离开消息系统 |
| LuckPerms |
可与基于前缀/后缀的加入消息协同工作 |
| AuthMe / NexAuth |
不会干扰登录门控插件 |
| Multiverse-Core |
正确处理按世界划分的加入消息 |
如果某个插件触发了自定义的 PlayerJoinEvent 或 PlayerQuitEvent 消息,AntiJoinSpam 将抑制该消息——而不是覆盖它。你的格式、前缀和占位符均保持不变。
?️ 兼容性
| 平台 |
支持版本 |
| Paper |
1.21.10 — 1.21.11 |
| Folia |
1.21.10 — 1.21.11 |
⚠️ Spigot/Bukkit 不受官方支持。必须使用 Paper 或 Folia。
⚙️ 配置
配置文件位于:
plugins/AntiJoinSpam/config.yml
以下是完整的默认配置:
# ────────────────────────────────────────────── #
# AntiJoinSpam — config.yml #
# ────────────────────────────────────────────── #
# 滑动时间窗口(秒)。
# 在此窗口内跟踪登录行为。
# 示例:60 表示“过去 60 秒内的登录”。
time-window: 60
# 在静默该玩家的加入/离开消息之前允许的最大登录次数。
# 示例:2 表示在窗口内的第 3 次登录将触发抑制。
max-logins: 2
配置详解
time-window —— 定义插件在统计登录时回溯的时间长度(以秒为单位)。值为 60 表示过去一分钟内发生的任何登录都会被计数。
max-logins —— 阈值。如果玩家在窗口内的登录次数超过此值,其加入和离开消息将在该事件中受到抑制。
? 安装
- 从发布页面下载最新的
.jar 文件
- 将其放入
/plugins 文件夹
- 重启服务器 (请勿使用
/reload)
- 根据需要编辑
plugins/AntiJoinSpam/config.yml
- 使用
/antijoinspam reload 应用更改,无需重启
? 许可证
AntiJoinSpam 是开源软件,根据 MIT 许可证 分发。
欢迎在项目仓库中提交贡献、问题和建议。
为那些只想要干净聊天的服务器所有者而 ❤️ 制作。作者:Discord 上的 mooshbrixa!
?️ AntiJoinSpam
Silence the noise. Keep your chat clean.
Stop join/leave message spam dead in its tracks — with zero player impact.
? Overview
AntiJoinSpam is a lightweight, high-performance server plugin designed to eliminate the chaos of repeated join and leave message spam. Whether it's a player with a flaky connection, a bot cycling through reconnects, or just someone rage-quitting and rejoining, AntiJoinSpam automatically detects and suppresses the clutter — keeping your chat readable and your players happy.
No commands to memorize. No permissions to configure. Just install, tune your config, and let it work silently in the background.
✨ Features
- ? Automatic suppression of join/leave messages for players who reconnect too frequently
- ⏱️ Sliding time-window detection — tracks logins over a configurable period, not just raw counts
- ? Plugin compatibility layer — plays nicely with plugins that modify join messages
- ⚡ Async & efficient — no main thread blocking, built for scale
- ? Folia & Paper support — runs seamlessly on both schedulers
- ? Minimal config — sensible defaults, easy to understand
? Plugin Compatibility
AntiJoinSpam is built to coexist peacefully with any plugin that manipulates join or leave messages. It hooks into the event pipeline after other plugins have had their say, meaning your custom join messages stay intact — they're just silenced when spam is detected, not replaced or broken.
Confirmed compatible with:
| Plugin |
Notes |
| EssentialsX |
Custom join/leave messages are respected and suppressed cleanly |
| CMI |
Full compatibility with CMI's join/leave message system |
| LuckPerms |
Works alongside prefix/suffix-based join messages |
| AuthMe / NexAuth |
No interference with login-gate plugins |
| Multiverse-Core |
Per-world join messages handled correctly |
If a plugin fires a custom PlayerJoinEvent or PlayerQuitEvent message, AntiJoinSpam will suppress that message — not override it. Your formatting, prefixes, and placeholders remain untouched.
?️ Compatibility
| Platform |
Supported Versions |
| Paper |
1.21.10 — 1.21.11 |
| Folia |
1.21.10 — 1.21.11 |
⚠️ Spigot/Bukkit are not officially supported. Paper or Folia is required.
⚙️ Configuration
The config file is located at:
plugins/AntiJoinSpam/config.yml
Below is the full default configuration:
# ────────────────────────────────────────────── #
# AntiJoinSpam — config.yml #
# ────────────────────────────────────────────── #
# Sliding time window (in seconds).
# Logins are tracked within this window.
# Example: 60 means "logins within the last 60 seconds".
time-window: 60
# Maximum number of logins allowed within the window
# before that player's join/leave messages are silenced.
# Example: 2 means the 3rd login within the window triggers suppression.
max-logins: 2
Config Breakdown
time-window — Defines how far back (in seconds) the plugin looks when counting logins. A value of 60 means any login within the last minute is counted.
max-logins — The threshold. If a player's login count within the window exceeds this value, their join and leave messages are suppressed for that event.
? Installation
- Download the latest
.jar from the releases section
- Drop it into your
/plugins folder
- Restart your server (not
/reload)
- Edit
plugins/AntiJoinSpam/config.yml to your liking
- Use
/antijoinspam reload to apply changes without a restart
? License
AntiJoinSpam is open-source and distributed under the MIT License.
Contributions, issues, and feature requests are welcome on the project repository.
Made with ❤️ for server owners who just want clean chat. By mooshbrixa on Discord!
评论 0
登录后参与评分
还没有评论,来抢沙发吧