GameplayJava
/stopwatch
Manages named real-time (wall-clock) stopwatches you can start, pause, and read — useful for timing players in maps and challenges independently of game ticks. A newer Java debugging/utility command.
Syntax
Parameters
- action
- literal
- start / stop / pause / resume / query / list.
- nameoptional
- string
- Stopwatch name.
Examples
Start a stopwatch named 'run1'.
Read the elapsed time on 'run1'.
Permission level
/stopwatch requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.