Crashes if you take damage
Go to file
Johannes Frohnmeyer 41b9062065
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
Update to 1.19.3
2022-12-07 22:30:46 +01:00
src/main Migrate to new infrastructure 2022-12-02 18:59:18 +01:00
.gitignore Migrate to LibJF 3 for config instead of cloth 2022-08-28 16:27:55 +02:00
.woodpecker.yml Tweak build 2022-12-03 16:30:16 +01:00
LICENSE Update for 1.19 2022-06-08 12:00:57 +02:00
README.md Migrate to new infrastructure 2022-12-02 18:59:18 +01:00
build.gradle.kts Update to 1.19.3 2022-12-07 22:30:46 +01:00
gradle.properties Update to 1.19.3 2022-12-07 22:30:46 +01:00
settings.gradle.kts Migrate to new infrastructure 2022-12-02 18:59:18 +01:00

README.md

BreakMe allows configuring an event (death/taking damage) that causes minecraft to crash. It can also be configured to shut down or crash the whole OS. It uses Fabric (although porting should be trivial, most of the code is standard java & some JNI)

Please note that shutting down (or worse: crashing) an OS while things are still open might cause data loss, I am not responsible for that if you decide to enable that setting

Configuration

You can use Mod Menu to change the configuration.
The values are explained in more detail below

  • Cause:

    • Damage: The crash-event is fired once you take damage
    • Death: The crash-event is fired once you die
    • All: The crash-event is fired if any of the above apply (currently equal to Damage)
    • None: The crash-event is never fired
  • Method:

    • Unsafe_Universal_Forkbomb: Launch a self-multiplying process
    • Unsafe_Windows_WinAPI: Do some JNI-magic to instantly produce a blue-screen on windows
    • Broken_Universal_ExitCode: Exit the integrated Server. The game still displays, but you can no longer interact with the world or quit.
    • Safe_Universal_Exception: Performs an invalid operation. Behaves like every other crash and just closes the game, leaving a crash log.
    • SemiUnsafe_Universal_Exception: Throws a security exceptions. This does not work properly for 1.16.2
    • SemiUnsafe_Universal_Shutdown: Attempts to run a shutdown command. Since these are specific to some systems this might not always work.
    • None: Do nothing

Please note that all methods marked "Unsafe" as well as the shutdown method are not available in the curseforge release

Building

A prebuilt DLL is included in the source tree and will be removed once it is replaced by a panama implementation.
If you want to build it yourself, use src/main/c/build.bat to build it on a windows PC.
The mod itself is built like any other fabric mod: using gradle