Files
CxvqoIgnore/README.md
T

66 lines
2.1 KiB
Markdown
Raw Normal View History

2026-08-28 00:34:31 -04:00
# CxvqoIgnore
A client-side Fabric mod that ignores (hides) player and system chat messages matching the configured patterns.
2026-08-28 12:44:43 +08:00
_yes this readme is vibecoded since im not gonna bother to write one_
_and the ai hallucinated that there was 1.21.11 support, there was never_
**One jar works on Minecraft 26.2.** The mod is compiled against the version-stable Fabric API surface shared by both releases and shipped in Fabric's version-stable intermediary mappings, so a single build covers both versions.
2026-08-28 00:34:31 -04:00
By default the mod is enabled. Toggle it with:
```
/cxvqoignore enable
/cxvqoignore disable
```
## What it filters
2026-08-28 00:56:46 -04:00
When enabled, any player or system chat message matching any of the configured regex patterns (case-insensitive) is silently ignored.
The default patterns are:
2026-08-28 00:34:31 -04:00
- `/.*cxvqo.*/i`
- `/.*denisapain.*/i`
2026-08-28 00:56:46 -04:00
## Regex pattern management
Patterns can be added, removed, and listed at runtime. Each pattern is matched against the whole message, so include `.*` on both sides to ignore messages that merely contain text. Added patterns are compiled case-insensitively.
```
/cxvqoignore addregex <regex>
/cxvqoignore removeregex <index>
/cxvqoignore listregex
```
- `addregex <regex>` — adds a new pattern, e.g. `/cxvqoignore addregex .*skiddie.*`. The regex must be valid Java regex syntax, or the mod reports an error.
- `removeregex <index>` — removes the pattern at the given index (see the indexes shown by `listregex`).
- `listregex` — lists every configured pattern, each prefixed with its index for use with `removeregex`.
Example — ignore everyone whose name starts with "Foo":
```
/cxvqoignore addregex .*Foo.*
/cxvqoignore listregex
/cxvqoignore removeregex 2
```
2026-08-28 00:34:31 -04:00
## Requirements
2026-08-28 12:44:43 +08:00
- Minecraft: Java Edition **26.2**
- Fabric Loader: 0.19.3
- Fabric API: any version for 26.2+ (uses the shared `fabric-message-api-v1` / `fabric-command-api-v2` surface)
- Java: **25** or newer
2026-08-28 00:34:31 -04:00
## Building
```
./gradlew build
```
The built jar will be in `build/libs/`. Building requires a JDK 25+ toolchain (used to target Minecraft 26.2).
## License
2026-08-28 12:44:43 +08:00
Apache License 2.0 — see [LICENSE](LICENSE).