Chat-Stats
? 聊天消息统计追踪
Chat-Stats 是一款全面的插件,用于追踪玩家在聊天中的活动情况,并展示最活跃参与者的排名。非常适合社区服务器、角色扮演服务器以及任何希望监控聊天互动情况的服务器。
✨ 核心功能
消息追踪
- 自动统计每位玩家发送的每条消息
- 持久化统计数据保存到 YAML 文件
- 实时追踪,无性能影响
顶级玩家排名
- 精美的前 10 名排行榜,带有奖牌表情符号(???)
- 格式化的显示方式,包含玩家名称和消息数量
- 易于所有玩家阅读的界面
多语言支持
- 完整的俄语支持
- 完整的英语支持
- 易于添加更多语言
- 管理员可以即时切换语言
自定义选项
- 7 种不同的界面配色方案(金色、黄色、绿色、青色、紫色、白色、红色)
- 管理员无需重启即可更改颜色
- 可配置的防垃圾信息设置
反垃圾信息保护
- 防止聊天中快速刷屏
- 可配置的冷却时间(时间间隔)
- 可调整每个时间间隔内的消息限制
- 管理员可以启用/禁用
- 保护服务器聊天质量
- 被拦截的消息不计入统计数据
- 每位玩家拥有独立的消息计数器
- 管理员不受反垃圾信息规则影响
简易管理
- 基于简单命令的配置
- 无需重启服务器即可更改设置
- 全面的帮助系统
- 详细的错误提示
? 可用命令
玩家命令:
/chatstats stats - 查看您的个人消息统计
/chatstats top - 查看前 10 名最活跃的玩家
/chatstats help - 显示帮助信息
管理员命令:
/chatstats stats <player> - 检查任意玩家的统计
/chatstats setlang <ru|en> - 更改插件语言
/chatstats setcolor <code> - 自定义界面颜色
/chatstats antispam on|off - 启用/禁用反垃圾信息
/chatstats antispam cooldown <seconds> - 设置防刷屏冷却时间
/chatstats antispam maxmsg <count> - 设置每个间隔的最大消息数
? 颜色自定义
从 7 种颜色选项中任选:
6 - 金色(默认)
e - 黄色
a - 绿色
b - 青色
d - 紫色
f - 白色
c - 红色
⚙️ 配置
插件会创建一个包含以下选项的 config.yml 文件:
language: ru # 语言:ru 或 en
bar-color: "&6" # 界面颜色代码
# 反垃圾信息设置
anti-spam:
enabled: false # 启用/禁用反垃圾信息
cooldown-seconds: 5 # 消息组之间的时间间隔
max-messages-per-interval: 3 # 每个间隔允许的最大消息数
? 反垃圾信息系统
反垃圾信息功能通过防止快速消息泛滥来帮助维护聊天质量。
工作原理:
- 追踪每位玩家的消息发送速度
- 在时间间隔内允许最大数量的消息
- 拦截超过限制的消息
- 向被拦截的玩家显示警告消息
- 被拦截的消息不计入统计数据
- 每位玩家拥有独立的消息计数器
- 管理员不受反垃圾信息规则影响
配置:
anti-spam:
enabled: false # 启用/禁用反垃圾信息
cooldown-seconds: 5 # 时间间隔(秒)
max-messages-per-interval: 3 # 每个间隔允许的最大消息数
命令示例:
启用反垃圾信息:
/chatstats antispam on
设置严格保护(10 秒,2 条消息):
/chatstats antispam cooldown 10
/chatstats antispam maxmsg 2
设置中等保护(5 秒,3 条消息):
/chatstats antispam cooldown 5
/chatstats antispam maxmsg 3
设置宽松保护(3 秒,5 条消息):
/chatstats antispam cooldown 3
/chatstats antispam maxmsg 5
查看当前设置:
/chatstats antispam help
保护级别:
| 级别 |
冷却时间 |
最大消息数 |
适用场景 |
| 严格 |
10 秒 |
2 |
严重的刷屏问题 |
| 中等 |
5 秒 |
3 |
标准保护 |
| 宽松 |
3 秒 |
5 |
活跃的社区 |
玩家体验:
当玩家超出限制时,他们会看到:
⚠ 你打字太快了!请在发送下一条消息前等待。
关键特性:
- ✅ 管理员不受反垃圾信息影响
- ✅ 设置立即生效,无需重启
- ✅ 每位玩家拥有独立的消息计数器
- ✅ 可随时开启/关闭
- ✅ 阈值完全可自定义
? 统计数据存储
- 所有统计数据均以 YAML 格式保存
- 数据在服务器重启间保持持久
- 服务器关闭时自动保存
- 易于备份和恢复
? 使用场景
社区服务器
- 追踪最活跃的社区成员
- 奖励发言最多的玩家以获得认可
- 监控互动水平
角色扮演服务器
- 追踪角色活动
- 识别最活跃的角色扮演者
- 使用反垃圾信息管理聊天质量
游戏社区
活动服务器
- 监控活动期间参与度
- 追踪互动指标
- 识别关键社区成员
?? 作者
SHTUKA
使用 Chat-Stats 提升您服务器的聊天体验!
Chat-Stats
? Chat Message Statistics Tracking
Chat-Stats is a comprehensive plugin that tracks player activity in chat and displays rankings of the most active participants. Perfect for community servers, roleplay servers, and any server where you want to monitor chat engagement.
✨ Core Features
Message Tracking
- Automatically counts every message sent by each player
- Persistent statistics saved to YAML files
- Real-time tracking without performance impact
Top Players Ranking
- Beautiful top 10 leaderboard with medal emojis (???)
- Formatted display with player names and message counts
- Easy-to-read interface for all players
Multi-Language Support
- Full Russian language support
- Complete English language support
- Easy to add more languages
- Administrators can switch languages on-the-fly
Customization Options
- 7 different color schemes for interface (Gold, Yellow, Green, Cyan, Purple, White, Red)
- Administrators can change colors without restarting
- Customizable anti-spam settings
Anti-Spam Protection
- Prevents rapid message spam in chat
- Configurable cooldown periods (time intervals)
- Adjustable message limits per interval
- Can be enabled/disabled by administrators
- Protects server chat quality
- Blocked messages don't count toward statistics
- Each player has their own message counter
- Administrators are not affected by anti-spam rules
Easy Administration
- Simple command-based configuration
- No need to restart server for changes
- Comprehensive help system
- Detailed error messages
? Available Commands
Player Commands:
/chatstats stats - View your personal message statistics
/chatstats top - See the top 10 most active players
/chatstats help - Display help information
Administrator Commands:
/chatstats stats <player> - Check any player's statistics
/chatstats setlang <ru|en> - Change plugin language
/chatstats setcolor <code> - Customize interface color
/chatstats antispam on|off - Enable/disable anti-spam
/chatstats antispam cooldown <seconds> - Set spam cooldown
/chatstats antispam maxmsg <count> - Set max messages per interval
? Color Customization
Choose from 7 color options:
6 - Gold (default)
e - Yellow
a - Green
b - Cyan
d - Purple
f - White
c - Red
⚙️ Configuration
The plugin creates a config.yml file with these options:
language: ru # Language: ru or en
bar-color: "&6" # Interface color code
# Anti-spam settings
anti-spam:
enabled: false # Enable/disable anti-spam
cooldown-seconds: 5 # Time between message groups
max-messages-per-interval: 3 # Max messages allowed per interval
? Anti-Spam System
The anti-spam feature helps maintain chat quality by preventing rapid message flooding.
How it works:
- Tracks message sending speed for each player
- Allows a maximum number of messages within a time interval
- Blocks messages that exceed the limit
- Shows warning message to blocked players
- Blocked messages don't count toward statistics
- Each player has their own message counter
- Administrators are not affected by anti-spam rules
Configuration:
anti-spam:
enabled: false # Enable/disable anti-spam
cooldown-seconds: 5 # Time interval in seconds
max-messages-per-interval: 3 # Max messages allowed per interval
Command Examples:
Enable anti-spam:
/chatstats antispam on
Set strict protection (10 seconds, 2 messages):
/chatstats antispam cooldown 10
/chatstats antispam maxmsg 2
Set moderate protection (5 seconds, 3 messages):
/chatstats antispam cooldown 5
/chatstats antispam maxmsg 3
Set relaxed protection (3 seconds, 5 messages):
/chatstats antispam cooldown 3
/chatstats antispam maxmsg 5
View current settings:
/chatstats antispam help
Protection Levels:
| Level |
Cooldown |
Max Messages |
Use Case |
| Strict |
10 sec |
2 |
Heavy spam problems |
| Moderate |
5 sec |
3 |
Standard protection |
| Relaxed |
3 sec |
5 |
Active communities |
Player Experience:
When a player exceeds the limit, they see:
⚠ You are writing too fast! Wait before your next message.
Key Features:
- ✅ Administrators are not affected by anti-spam
- ✅ Settings apply immediately without restart
- ✅ Each player has their own message counter
- ✅ Can be toggled on/off anytime
- ✅ Fully customizable thresholds
? Statistics Storage
- All statistics are saved in YAML format
- Data persists between server restarts
- Automatic saving on server shutdown
- Easy to backup and restore
? Use Cases
Community Servers
- Track most active community members
- Reward top chatters with recognition
- Monitor engagement levels
Roleplay Servers
- Track character activity
- Identify most active roleplayers
- Manage chat quality with anti-spam
Gaming Communities
- See who's most engaged
- Create friendly competitions
- Maintain healthy chat environment
Event Servers
- Monitor participation during events
- Track engagement metrics
- Identify key community members
?? Author
SHTUKA
Enhance your server's chat experience with Chat-Stats!
评论 0
登录后参与评分
还没有评论,来抢沙发吧