AutoRejoin

Quick rating

AutoRejoin

No reviews yet

A small client-side Fabric mod for people who restart their dev server twenty times an hour.

QoL & Tweaks
Mod Loaders
Fabric
Minecraft

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

About

Project Details

Type
Mod
Latest Version
autojoin-1.0.0_1.21-fabric.jar
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

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

A small client-side Fabric mod for people who restart their dev server twenty times an hour.

It adds two buttons to the vanilla **disconnected** screen:

Button What it does
`Reconnect` Rejoins the last server immediately.
`Auto-Reconnect: ON / OFF` Persistent toggle. While it is on **and the disconnected screen is open**, the mod checks every few seconds whether the server is back up, and starts the normal join cycle the moment it is.

A status line under the buttons shows what it is doing (`Checking again in 3s (attempt 4)`, `Server is up - joining!`, …).

So the plugin workflow becomes: `/stop` → rebuild → start server → you are already back in the world.

## Behaviour

- **Only runs on the disconnected screen.** Pressing the vanilla button, hitting Escape or going anywhere else cancels the retry loop instantly. Nothing runs in the background while you are in a menu or in another world.
- **The check is a real Server List Ping**, the same handshake the multiplayer server list uses, so a server whose port is open but which is still starting up is not counted as ready. DNS `SRV` records and the client's blocked-server list are resolved exactly like a normal join.
- **The server it retries is captured while you are still connected**, because Minecraft clears the current server entry during disconnect. Direct Connect and LAN servers work; Realms is skipped, since Realms addresses are temporary.
- Checks run on their own daemon thread, so a hanging DNS lookup or a firewalled host never freezes the game.
- Being kicked is not treated differently from a crash: if you were kicked, the server is up, so it will rejoin. Turn the toggle off, or set `maxAttempts`, if that is not what you want.

## Settings

`config/autojoin.json`, written on first launch:

```json
{
  "autoReconnect": false,
  "pingIntervalSeconds": 3,
  "maxAttempts": 0,
  "pingTimeoutMillis": 3000,
  "requireStatusResponse": true,
  "playSoundOnReconnect": true
}
```

- `autoReconnect` — same value the in-game button toggles.
- `pingIntervalSeconds` — delay between checks, minimum 1.
- `maxAttempts` — `0` keeps retrying forever.
- `pingTimeoutMillis` — connect/read timeout for a single check.
- `requireStatusResponse` — when `false`, an open TCP port is enough. Only useful behind a proxy that accepts connections before it can answer a status request; it can make the client rejoin too early.
- `playSoundOnReconnect` — small ping sound when the rejoin fires, so you notice while alt-tabbed.

Screenshots

Gallery

This project has no gallery images yet.

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

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works