Command 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.