TimeOutFix
A simple Minecraft Fabric mod for version 1.21.7 that allows you to change the default server-side connection timeout time. This solution helps players with slow internet connections or heavy modpacks avoid disconnections during resource loading.
How to Use
- Place the
.jarmod file in your server'smodsfolder. - Start and stop the server (to create the configuration file) or create it manually before restarting.
- Edit the configuration file (
config/TimeOutFixConfig.properties) to set your desired timeout time in server ticks. Example:login_time_out=1800(default value is 600, which corresponds to 30 seconds) - Start/restart the server.
Compatibility
- Tested only on Fabric 1.21.7 server.
Creation Story
This mod was created in approximately 1-2 hours, despite the author never having written Java before. The code might not be perfect, but the important thing is that it works.
The problem arose due to a friend with poor internet connection. Our server uses many mods (for example, Emotecraft with server-side emotes), which means connection can take significant time. Without this mod, players with slow downloads would receive "Timed Out" error before completing connection. TimeOutFix solves this problem by allowing the server to wait longer.