Just Chat Range
This mod lets you add proximity chat for text! (works on advancements, kills/deaths, text messages)
Chat Range
A server-side Fabric mod for Minecraft 1.21.11 that limits chat visibility to a configurable block radius. Players only see messages from others who are nearby — including chat, death messages, notifications, and advancement announcements.
Requirements
- Minecraft 1.21.11
- Fabric Loader 0.18.0+
- Fabric API 0.141.3+1.21.11
Installation
- Install Fabric Loader for Minecraft 1.21.11.
- Download Fabric API for 1.21.11 and place it in your
mods/folder. - Place
chatrange-1.0.0.jarin your server'smods/folder. - Start the server.
The mod is server-side only — clients do not need to install anything.
Commands
All commands require operator permissions (gamemaster level).
| Command | Description |
|---|---|
/chatrange set <blocks> | Enable range-limited chat with the given radius |
/chatrange on | Re-enable with the last configured radius |
/chatrange off | Disable — all messages are broadcast globally |
/chatrange status | Show whether the mod is enabled and the current radius |
The radius is in blocks. Example: /chatrange set 100 limits chat to a 100-block radius.
What is filtered
When enabled, the following messages are limited to players within the configured radius of the source:
- Player chat — messages typed in chat
- Command messages —
/say,/me, etc. - Death messages — only nearby players see when someone dies
- Advancement announcements — only nearby players see advancement completions
Messages from the server console are always broadcast globally.
Configuration
Settings are saved automatically to config/chatrange.json on your server:
{
"enabled": true,
"range": 64.0
}
You can edit this file directly while the server is stopped, or use the in-game commands while it's running.
The default radius is 64 blocks. The mod starts disabled on first install — use /chatrange set <blocks> or /chatrange on to activate it.
