AutoReconnect [1.19][Fabric][Client]
Description
This mod will automatically try to reconnect you back to a server if you got disconnected.
By default, it will make 4 attempts after 3, 10, 30 and 60 seconds.
Features
General:
- Additional button on the Disconnect Screen which will reconnect you without having to go back to the menu first
- Works for Multiplayer, Realms and even for Singleplayer!
AutoReconnect:
- Automatically reconnect after getting disconnected
- Multiple attempts
- Individual delays
- Infinite attempts (Optional, repeats last attempt)
- Manual reconnect still possible
- Countdown is showing and can be canceled
AutoMessages:
- Automatically send messages after reconnecting, e.g. to join a certain lobby or just say hi to your friends ;P
- Delay between messages and before the first one
- Can target multiple (NEW!) specific servers, realms or singleplayer worlds identified by their name (for details see below)
- Only executed after automatic reconnects and not if you reconnect manually or just joined
Extras:
- In-game configuration through Mod Menu
- Support Mod Menu and AuthMe (for details see below)
- Disconnect Screen (like many other screens) can be exited by pressing escape
- After being disconnected from a singleplayer world, you won't end up on the Multiplayer Screen (Bug MC-46502)
Installation/Requirements
This mod requires ClothConfig and ModMenu is recommended.
1. Download and install Fabric and set up the profile the way you want
2. Download the following mods and put them in the mod folder:
- Fabric API
- AutoReconnect (this mod)
- ClothConfig
- ModMenu (optional)
Compatibility/Support
ModMenu
- Properly shows the mod icon, name and author and provides a link for the curseforge project page and the github issues page
- Graphical user interface to configure the mod in-game
AuthMe
- Countdown for automatic reconnect will stop if you're re-authenticating to revalidate your session
Details
Automatic reconnects
- Attempts can be configured by adding strictly positive values (delay in seconds) to the list of delays. For each value in that list a delayed attempt will be made to reconnect you.
- Can be disabled by simple not configuring any attempts. Only manual reconnects are possible then.
Automatic messages
- Will only be executed if an automatic reconnect attempt has been made, so you didn't click on the reconnect button yourself.
- Can target multiple (NEW!) specific servers, realms or singleplayer worlds. For each object in the list enter the name of the server, realm or singleplayer in the configuration.
- A delay can be configured (in milliseconds). This delay will be the same between every message and between the first one and the moment you joined.
Future plans
- Reconnect from being kicked into a lobby (feature request issue #22)
- I'm not planning to port this mod to forge
Feedback, Suggestions, Bugs & Issues
- For feedback and suggestions please write a comment on curseforge
- If you found a bug or an issue, please write a comment on curseforge or open an issue on github. Make sure to give a detailed description of the issue and post the latest logs or a potential crash report, preferably by using something like pastebin
Screenshots
(Last one outdated)
Licence
This mod and its code is available under the GNU General Public Licence. Feel free to learn from it and to incorporate ideas into your own projects.
If you use the code or use this mod in a mod pack I would appreciate it if you would mention me by linking this page or my github page.