← Назад к ресурсам

Crash Command

You just lost the game - Make a crash the game and JVM using the command

Modrinth cursed utility

Описание

# Crash Command [![Fabric](https://img.shields.io/badge/Mod%20Loader-Fabric-lightyellow?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDE4LTEyLTE2VDE2OjU0OjE3LTA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAxOS0wNy0yOFQyM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WED8B1cgwW20yfJgAvrssAsZ1cB3g/xckAxr6FmCDU5N6f488BrpCQ4rQBJkiMYh4ACmLzwOQF0CExinkCsvw7vgGikl+OotaKRwAAAABJRU5ErkJggg==)](https://fabricmc.net) [![Client or Server](https://img.shields.io/badge/Enviroment-Client_or_Server-purple)](#) [![MIT License](https://img.shields.io/github/license/No-Eul/CrashCommand)](https://github.com/No-Eul/CrashCommand/blob/main/LICENSE.txt) [![release](https://img.shields.io/github/v/release/No-Eul/CrashCommand)](https://github.com/No-Eul/CrashCommand/releases/latest) [![Modrinth](https://img.shields.io/modrinth/dt/crashcommand?logo=modrinth)](https://modrinth.com/mod/crashcommand) [![GitHub](https://img.shields.io/github/downloads/No-Eul/CrashCommand/total?logo=github)](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)