Mod

Restart Detector

Quick rating

Restart Detector

No reviews yet

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

Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.3.0+26.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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.

Screenshots

Gallery

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

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~8,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync