
Cmd Notifier
make a minecraft mod for forge 1.20.1 that is: fully client side mod (that works on any server) and adds comans '/cmdnotice 1' and '/cmdnotice 0' and...
00—neoforgeClient1.20.1mod
Cmd Notifier is a client-only NeoForge 1.20.1 mod that watches incoming command feedback and surfaces it with a clear prefix so you can see who ran admin commands and what they did.
Usage
- /cmdnotice 1 — enable notifications (default state)
- /cmdnotice 0 — disable notifications
- /cmdnotice — show whether notifications are currently on or off
How it works
- Listens to client chat/system messages (including admin broadcasts, command success translations, and game mode change messages such as the F3+F4 switcher) and mirrors them back with a [CmdNotice] prefix.
- Highlights admin broadcasts by extracting the executor name when provided and showing the command result text.
- Uses only client-side hooks; it is safe to join any server without requiring server mods.
Notes and limits
- Notifications rely on messages the server actually sends to your client (admin broadcasts, command feedback, or other system messages). Commands that produce no visible output cannot be detected.
- The on/off state is kept in memory for the current session and resets when you restart the game.