/stoprun command is an administrative command that allows operators to immediately stop the current speedrun session. This is useful for server management and moderation purposes.
Syntax
This command takes no parameters
Permissions
- Permission Level: 2 (Gamemaster/Operator)
- Can be used by: Operators and console
- Operator required: Yes
Behavior
When executed by an operator, the/stoprun command:
- Checks if there’s an active run
- Triggers game over to end the run immediately
- Sends feedback confirming the run was stopped
- Does not automatically start a new run
Examples
Error Messages
The mod failed to initialize properly.Solution: Restart the server or check logs for initialization errors.
There is no currently active run to stop.Solution: This is not an error condition - simply indicates no run is in progress.
The player executing the command does not have operator permissions.Solution: Grant operator status with
/op <player> or use /reset instead (no OP required).Use Cases
Server Management
- Emergency stop during server maintenance
- Resolving conflicts or disputes
- Testing and debugging
Player Reset Alternative
For players without operator permissions, use/reset instead, which provides similar functionality without requiring elevated permissions.
Comparison with /reset
| Feature | /stoprun | /reset |
|---|---|---|
| Permission Level | 2 (Operators) | 0 (All players) |
| Purpose | Administrative stop | Quick restart |
| Broadcast | Sends feedback | Broadcasts to all |
| Typical Use | Server management | Practice runs |
Source Code Reference
Implemented inCommandRegistry.java:95-116
Requires permission check via CommandManager.requirePermissionLevel(CommandManager.GAMEMASTERS_CHECK) at CommandRegistry.java:36-38
For non-operator players who need to restart runs, use
/reset instead.