
SpyFilter
Toggle visibility of SPY-chat messages
Screenshots


About this Mod
SpyFilter-RU
Простой мод, позволяющий переключать видимость SPY-чата.
Сделан в частности под сервер MineToday, для модерации.
Использование
По умолчанию на клавишу J, но может быть переназначена в настройках управления — раздел SpyFilter.
Изначально при запуске игры SPY-чат виден, и по нажатию включается фильтр, который позволяет не отображать в чате все сообщения, которые соответствуют некому паттерну.

Что фильтруется?
- По Regex:
^SPY:.*?:.*$ - Простыми словами:
SPY: ник: сообщение - Также все сообщения, в которых содержатся
[SPY BOOK]&[SPY SIGN]. Их поиск не реализован по Regex паттерну из-за технических особенностей отображения на сервере, где может быть несколько строк с разделениями через\n.
- По Regex:
Конфиг с настройками хранится в
assets/spyfilter.yml. Там можно настроить фильтрацию под себя.Есть-ли проблемы?
- Да. Из-за специфики майнкрафта мод может вызывать краш игры, если заходить на некоторые сервера с текстурами в чате (кастомные префиксы и т.п.) Я не стал перезгружать мод и ставить зависимость от других библиотек для исправления этого, так-как в актуальный момент в этом особо нет нужды.
SpyFilter-EN
A simple mod that allows toggling the visibility of SPY-chat messages.
Originally made for the MineToday server to assist with moderation.
Usage
By default, the toggle key is J, but it can be changed in the control settings under the SpyFilter category.
When the game launches, SPY-chat is visible. Pressing the toggle key activates a filter that hides all messages matching certain patterns.
What gets filtered?
- By Regex:
^SPY:.*?:.*$ - In plain terms:
SPY: username: message - Also filters any messages containing
[SPY BOOK]or[SPY SIGN]. These are not detected using Regex due to technical limitations — on the server, such messages may span multiple lines separated by\n.
- By Regex:
The configuration file is stored in
assets/spyfilter.yml. You can customize the filtering here.Are there any issues?
- Yes. Due to Minecraft's specifics, the mod may cause the game to crash on some servers with custom chat textures (custom prefixes, etc.). I chose not to overload the mod or add extra library dependencies to fix this, since currently there isn't much need for it.
GitHub
Available Versions
How to Install SpyFilter on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "SpyFilter". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+9 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
SpyFilter server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is SpyFilter compatible with fabric?
SpyFilter officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with SpyFilter – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SpyFilter consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install SpyFilter with just one click on your server.