ModsJava
Auto Reconnect Mod
Java mod listed for Minecraft 1.18. Downloads from the MC Java Mods app on Android.
<h1> Auto Reconnect Mod </h1> In 1.18.1, there seems to be a bug where sometimes after ~20 seconds of joining a server, it kicks you out due to a…
⬇ Download on CurseForgeThe author built this one for Minecraft 1.18.1 on Forge. On other versions it may install and then do nothing.
<h1> Auto Reconnect Mod </h1>
In 1.18.1, there seems to be a bug where sometimes after ~20 seconds of joining a server, it kicks you out due to a ```java.net.SocketException```. I rather have to keep joining the world until it finally lets me login. I made this mod to auto-reconnect you if you end up leaving because of this.
<h3> How to use: </h3>
When you encounter a Socket Exception, a button will appear suggesting enabling auto login.

Clicking this button will immediately start the process of logging you in once you disconnect due to a SocketException
You will be asked to re-enable the Auto Login upon the first SocketException of a server session.
<h3>How it works: </h3>
When you leave a server, the code will check if the cause of disconnection was a SocketException.
If it is, it will record the ip & port. It will also record that the reason of disconnection was in fact a socket exception.
When the error screen loads, it will check if the enable auto reconnect button was clicked yet. If it wasn't it will show the button, otherwise, it will use the previously recorded address to try logging back in.
Once you go to the Join Multiplayer Screen again, it will disable the autoconnect and make you press the button again. This is so that you don't have to restart to stop the cycle.
<h3> FAQ: </h3>
* Will you update this mod for version so and so?
* Most likely, no. If I have time, or feel like it, maybe, but it seems like it only effects 1.18, so that is the version I'll stick with.
* Fabric?
* Most likely, no. I use forge. This was my first modding experience, and it was hard enough to try finding documentation for forge, I don't want to do it all again.
* Is it bug free?
* Possibly? Maybe? If you find a bug, please let me know. I'll try to fix it, but I also have schoolwork to do.
* Is it a virus?
* No malice-intent was put into this, the code is open-source, so you can see for yourself.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.18.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as autoreconnect-1.0.jar — drop this file into the mods folder
- Download size: 9 KB
- Download link checked 5 Nov 2026 — working
These come from our own check of the pack file, not from the source page.