
Command History Context
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthCommand History Context
Command History Context is a mod that manages Minecraft command history using custom profiles.
In vanilla Minecraft, command history is shared across all environments, including single-player worlds and multiplayer servers. While this is convenient, it can become problematic when frequently switching between different purposes, such as development, testing, building, and regular gameplay, as commands from unrelated contexts can get mixed together.
This mod allows you to create custom profiles and assign servers or environments to them. Each profile maintains its own command history, allowing related environments to share history while keeping unrelated commands separated.
Features
- Create custom command history profiles
- Manage command history by purpose or environment
- Share command history between servers in the same profile
- Separate development, testing, and regular gameplay commands
- Automatically switch the active history context based on the connected environment
Examples
Building Profile
- build.example.com
- test-build.example.com
Use the same command history across multiple building servers.
Development Profile
- localhost:25565
- dev.example.com
Share development-related commands between a local environment and a test server.
Personal Gameplay Profile
- survival.example.com
Keep regular gameplay commands separate from development commands.
Why Command History Context?
In vanilla Minecraft, all command history is stored together across every environment.
However, when using multiple servers or worlds for different purposes, there are situations where you want to organize commands based not on which server you are connected to, but on what purpose the environment serves.
CommandHistoryContext organizes Minecraft's shared command history into separate contexts based on environments and use cases, providing a more flexible way to manage your commands.
Disclaimer
Some English text related to this project including parts of the Modrinth description and in-game messages was created with the help of machine translation tools.
Translation accuracy is not guaranteed.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.9
- 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.
- Ships as commandhistorycontext-1.0.0+1.21.9.jar — drop this file into the mods folder
- Download size: 624 KB
- Download link checked 1 Nov 2026 — working
These come from our own check of the pack file, not from the source page.