Описание
# Crash Command
[](https://fabricmc.net)
[](#)
[](https://github.com/No-Eul/CrashCommand/blob/main/LICENSE.txt)
[](https://github.com/No-Eul/CrashCommand/releases/latest)
[](https://modrinth.com/mod/crashcommand)
[](https://github.com/No-Eul/CrashCommand/releases)
[](https://www.buymeacoffee.com/NoEul)
Make a crash the game and JVM using the command.
## Requirements
* [Minecraft](https://www.minecraft.net)
* [Fabric Loader](https://fabricmc.net)
* [Fabric API](/mod/fabric-api)
## Commands
### Crash
`crash [client|server] [game|jvm]`
* `client` - Make a crash to client. This argument only works on client-side.
* `game` - Make the game crash. This argument is the same as pressing F3 C for 10 seconds on a client. Default option.
* `jvm` - Make the JVM crash. This argument is the same as pressing Ctrl F3 C for 10 seconds on a client.
* If no argument is specified, default is `game`.
* `server` - Make a crash to server. This argument only works on server-side.
* *Sub-arguments are the same as `client`*
* If no argument is specified, it will be executed depending on environment.
* When executed on client with this mod (regardless server host or player), the result will be like `crash client`.
* When executed on server console, or by server player without the mod (when has proper permission), the result will be like `crash server`.
## Known Issues
* If you join the server as player, and you have permission level `4`, the `client` argument is not suggested and the `server` argument is not executed. **This is not a Crash Command bug.** [Learn more](https://github.com/FabricMC/fabric/issues/3568)
## Notes
* The mod file name indicates the mod name, loader and version:
* `(mod name)-(mod loader)-(mod version)-mc(built minecraft version).jar`
* For example: `Fabroxy-fabric-1.0.0-mc1.19.3.jar`
* `youJustLostTheGame` method is used in this mod. Unfortunately, since I'm using Yarn mapping, the method is written `makeJvmCrash` not `youJustLostTheGame` in source. If you want to know funny topic about this method, please watch the [PhoenixSC's video](https://youtu.be/t161dx1LT8E). [Learn more](https://bugs.mojang.com/browse/MC-270510)