
Auto-Lan
Automatically Opens To Lan Upon Loading A Minecraft World
Screenshots


About this Mod
Auto-Lan
Info:
- This mod's codes are inspired by Custom-LAN
*Requires Cloth Config Api
Functions:
- Customize more of your integrated server (Online Mode, Max Players, MOTD)
- Use ampersands (
&) for formatting codes instead of section signs (§) and variables (e.g.${username},${world}) in the MOTD - Change the settings mid-game (including the port) and stop the server without quitting the world
- Save the settings globally or per-world (they are loaded automatically with per-world settings taking priority over the global ones, which take priority over the system defaults)
- Change who can use cheats individually using the
/opand/deopcommands and cheat in singleplayer without opening to LAN (replaces the Allow Cheats button) - Manage bans with
/ban,/ban-ip,/banlist,/pardonand/pardon-ip, and whitelist players with/whitelist(use/whitelist on/offto enable/disable) - Expose your server outside your LAN without port forwarding using tunnels (currently only ngrok is supported)
Commands:
/publish [port] [onlineMode] [maxPlayers] [defaultGameMode] [tunnel] [motd]
/publish [perworld|global|system] [port] [onlineMode] [maxPlayers] [defaultGameMode] [tunnel] [motd]
/publish stop
The global settings are stored in .minecraft/config/autolan.toml, while the per-world ones are stored in data/autolan.dat in the respective world's directory.
The files used are also per-world and the same as on dedicated servers—banned-players.json, banned-ips.json, whitelist.json—though whether the whitelist is enabled is stored in data/autolan.dat.
Available Versions
How to Install Auto-Lan on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Auto-Lan". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7, 1.21.6 (+6 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Auto-Lan server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Auto-Lan compatible with fabric and quilt?
Auto-Lan officially supports fabric, quilt for Minecraft 1.21.8, 1.21.7, 1.21.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Auto-Lan – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Auto-Lan consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Auto-Lan with just one click on your server.