Crash Command
The Crash Command mod provides a convenient way to force Minecraft to shut down using commands. With it, you can cause crashes of both the game and the Java Virtual Machine depending on your needs.
System Requirements
To use the mod, you need an installed version of Minecraft with Fabric loader and Fabric API.
Available Commands
Crash command
The main command has the following format: crash [client|server] [game|jvm]
Client options:
game- causes game crash (similar to holding F3+C keys for 10 seconds)jvm- causes Java Virtual Machine crash (similar to holding Ctrl+F3+C)
Server options: Supports the same parameters as for client, but works on the server side.
Automatic detection: If arguments are not specified, the command automatically detects the environment:
- On client executes as
crash client - On server executes as
crash server
Known Features
When connecting to a server with permission level 4, the client argument may work incorrectly, and server does not execute. This is related to Fabric features, not the mod itself.
Technical Details
The mod file name indicates its name, loader and version in the format: (name)-(loader)-(version)-mc(minecraft version).jar
The mod uses the makeJvmCrash method, which in original mappings was called youJustLostTheGame.