
ModsJava
chatstral
Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthChatstral
AI-powered chat moderation for Paper/Purpur servers. Every message is checked against a blacklist first, then against Shieldstral-1.0-3B, a local language model that judges messages against a plain-language moderation policy instead of a fixed keyword list.
Features
- Local LLM moderation: runs Shieldstral-1.0-3B through llama-server on your own machine, no chat text leaves the server
- Instant blacklist filter: plain words and regex patterns, checked before the AI runs
- Batched AI scoring: messages are batched and scored via logprob analysis on the model's yes/no answer
- Two filter modes:
blockcancels flagged messages,loglets everything through while still logging what would have been flagged, useful for tuning your threshold against real traffic - Configurable policy: the instruct/query text the model judges messages against lives in
config.yml, not hardcoded - Auto-downloads llama-server and the model on first boot, no manual setup
Requirements
- Paper or Purpur, API version 26.1
- Java 25
- ~2GB free RAM for the model (CPU only, no GPU required)
- Outbound internet access on first boot to download llama-server and the model (a few GB combined)
Configuration
plugins/chatstral/config.yml:
filter-mode: block # block or log
ai-filter-enabled: true
ai-threshold: 0.5
cooldown-ms: 1000
llama-port: 8734
llama-context-size: 2048
policy-instruct: "..."
policy-query: "..."
plugins/chatstral/blacklist.txt supports plain words and regex:-prefixed patterns.
Commands
- /chatstral (aliases /cs, /cfilter) — status
- /chatstral reload — reloads config and blacklist
- /chatstral status — model/download state
chatstral.bypass and chatstral.admin both default to op.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 26.1, 26.1.1, 26.1.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as chatstral-1.0-SNAPSHOT.jar — drop this file into the mods folder
- Download size: 29 KB
- Download link checked 23 Oct 2026 — working
These come from our own check of the pack file, not from the source page.