Restart Detector

Restart Detector

Stop sensitive farms and flying machines from breaking on server restarts.

by
8.7K Downloads
fabricgame-mechanicsmanagementtechnology
Rent Server with this Mod

Screenshots

A Restart Detector in the world
A flying machine with a Restart Detector to make it restartproof

About this Mod

Restart Detector

This fully server-side mod adds Restart Detectors, a new block that will output a redstone signal before server shutdowns.

These new blocks can be used to disable sensitive redstone contraptions to prevent expensive breakages, and can even be used on flying machines due to their lightweight design™! (no blockentity required)

By default, this mod hijacks the behaviour of the /stop command to use a countdown before actually shutting down the server, giving restart detectors time to activate. It also adds a few subcommands to manage this behaviour.

Visuals

The Restart detector uses the model of a daylight sensor,
but distinguishes itself by having a fake command block hovering above it.
This allows it to work fully server-side, while still being visually distinct.

A Restart Detector ingame

Functionality

All Restart Detectors that are loaded will output a redstone signal when the server is about to shut down,
starting at strength 1, and slowly increasing to 15 until the actual shutdown.
When the server comes back online, the signal will slowly decay back to 0
to makes sure the world has time to load before contraptions are started back up.

Restart Detectors CAN be moved by pistons.
This lets you make use of them on flying machines and other moving contraptions!

A Restart Detector on a flying machine

Commands

The /stop command is modified by this mod to wait a configurable amount of time before actually shutting down the server,
it is within this window that all Restart Detectors will output a signal.
It also adds a /stop cancel and /stop now command to cancel and bypass the countdown respectively.

Configuration

This mod creates a config file at config/restart_detector.json with the following options:

  • hijackStopCommand (default: true): Whether to hijack the vanilla /stop command to add a countdown.
  • stopCountdownTicks (default: 600 (30s)): The amount of ticks to wait before actually shutting down the server.

The server must be restarted for changes to the config to take effect.

Available Versions

1.2.7 for 1.21.11release
MC 1.21.11fabric
February 4, 2026
1.2.7 for 1.21.10release
MC 1.21.9, 1.21.10fabric
October 13, 2025
1.2.7 for 1.21.6release
MC 1.21.6, 1.21.7, 1.21.8fabric
July 11, 2025
1.2.6 for 1.21.6release
MC 1.21.6, 1.21.7fabric
July 1, 2025
1.2.5 for 1.21.6release
MC 1.21.6fabric
June 21, 2025

How to Install Restart Detector on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Restart Detector". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+17 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Restart Detector server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is Restart Detector compatible with fabric?

Restart Detector officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Restart Detector – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Restart Detector consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Restart Detector with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+10 more