Gamemode Detector 1.5
Curse Maven Snippet
What's new
Gamemode Detector 1.5 - Minecraft 26.2 Update
Ported to Minecraft 26.2 (Fabric)
- Updated for MC 26.2's unobfuscated jar format (no more Mojang mappings step).
- Fixed all API changes: Fabric API command helpers, key binding registration, GameProfile accessors, chat message methods, and Cloth Config's screen API.
- Corrected mod dependency metadata so the game shows a clean "missing dependency" screen instead of crashing if Fabric API or Cloth Config aren't installed.
New: gamemode-switch duration tracking
- Switch alerts now show how long the player was in their previous gamemode before switching.
- /checkgamemode [player] now shows the player's current gamemode and how long they've been in it, live.
New: /gamemodelog command
- /gamemodelog [player] lists a player's recent gamemode switches (oldest to newest) - who, when, and how long each mode lasted.
- /gamemodelog help lists all available commands.
- History length per player is configurable (default: 10 switches remembered).
Config
- All messages (switch alert, first-seen alert, /checkgamemode status, /gamemodelog history lines) are now separately customizable templates with placeholders: %player%, %gamemode%, %previous%, %duration%, %time%.
Credits
- Authors updated, with source link back to the original project by Withicality.
This mod has no additional files

