Mod Detector Plugin
Monitors plugin message channels to detect client mods and optionally kick players using blocked mods.
314
1
Список изменений
Added
-
Log All Channels Mode
- New
log-all-channelsconfig option to log ALL channel registrations to file - Tracks every mod channel a player registers, not just blocked ones
- No console logging for better performance
- New
-
/md info <player>Command- View all registered channels for a specific player
- Shows current session channels and historical data
- Color-coded output: red = blocked, green = allowed
- Displays resolved mod names alongside raw channel strings
-
/md discoveredCommand- Lists all unique channels ever discovered on the server
- Useful for documentation and discovering new mods
- Persists across server restarts
-
Discovered Channels File
- New
discovered-channels.jsonfile tracks all unique channels ever seen - JSON array format for easy parsing
- Automatically updated when new channels are registered
- New
-
Smart Mod Name Resolution
- Channel-to-mod resolution now works for ALL mods in
mods.yml, not just blocked ones - Detection logs show pretty mod names (e.g., "Simple Voice Chat" instead of "voicechat:state")
- Unknown channels remain as raw strings for identification
- Channel-to-mod resolution now works for ALL mods in
Changed
-
Consolidated Player Entries
detections.jsonnow uses one entry per player (updated in place)- Multiple channels from the same mod are grouped together
- Format changed from
"channels"to"mods"array with resolved names
-
/md playersCommand- Now shows all registered channels when
log-all-channelsis enabled - Displays channel count per player
- Added hint to use
/md info <player>for details
- Now shows all registered channels when
-
/md statusCommand- Now shows
Log All Channelssetting status
- Now shows
-
Help Command
- Updated to show all new commands
- Commands now displayed with
/mdshorthand
Example Detection Entry
{"uuid":"f999e944-a15d-4287-bff4-34f63a97832e","username":"PlayerName","mods":["AppleSkin","Simple Voice Chat","Noxesium","Flashback","civ:class_xp"],"lastSeen":"2026-01-16T12:00:00Z"}
Example Discovered Channels
[
"xaerominimap:main",
"voicechat:state",
"noxesium-v2:server_info",
"fabric:registry/sync"
]
Файлы
moddetectorplugin-1.2.0.jar(30.51 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.0
Загрузчики
Paper
Версии игры
1.21–1.21.11
Загрузок
4
Дата публикации
2 мес. назад