/runinfo command displays detailed information about the current speedrun session, including game state, elapsed time, and shared health/hunger statistics.
Syntax
This command takes no parameters
Permissions
- Permission Level: 0 (All players)
- Can be used by: Players and console
- Operator required: No
Behavior
When executed, the/runinfo command displays:
- State: Current game state (e.g.,
RUNNING,LOBBY,GAME_OVER) - Time: Formatted elapsed time (HH:MM:SS or MM:SS)
- Health: Current shared health value
- Hunger: Current shared hunger value
Output Format
The command outputs a single formatted message:Examples
Output Fields
The current game state:
LOBBY- Waiting for run to startRUNNING- Run is activeGAME_OVER- Run has endedPAUSED- Run is paused (if applicable)
Formatted elapsed time since run started:
- Format:
MM:SSfor runs under 1 hour - Format:
HH:MM:SSfor runs over 1 hour - Shows
00:00when no run is active
Current shared health value:
- Range: 0.0 to 20.0
- Displayed with one decimal place (e.g.,
17.5) - Represents half-hearts (20.0 = 10 full hearts)
Current shared hunger value:
- Range: 0 to 20
- Represents half-drumsticks (20 = 10 full drumsticks)
Error Messages
The mod failed to initialize properly.Solution: Restart the server or check logs for initialization errors.
Use Cases
During Speedrun
- Quick check of current run status
- Monitoring shared health/hunger without opening inventory
- Checking elapsed time
Debugging
- Verifying run state
- Confirming timer is running
- Checking shared stat synchronization
Spectating
- Observers can check run progress
- Streamers can display run info
Source Code Reference
Implemented inCommandRegistry.java:118-153
Retrieves data from:
RunManager.getGameState()- Current stateRunManager.getFormattedTime()- Elapsed timeSharedStatsHandler.getSharedHealth()- Health valueSharedStatsHandler.getSharedHunger()- Hunger value