
ModsJava
Auto-Lan
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.


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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.6, 1.21.7, 1.21.8
- 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 Modrinth — 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.
Verified by MCModsHub
- Ships as auto-lan-1.21.8-v1.1.1.jar — drop this file into the mods folder
- Download size: 1.1 MB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.