Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Auto-Lan

Auto-Lan

Automatically Opens To Lan Upon Loading A Minecraft World

245
5
Utility

Compatibility

Minecraft: Java Edition

1.21.x

Platforms

Fabric
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source

Creators

WhiteSmileingMan
WhiteSmileingMan Member

Details

Licensed MIT
Published 2 months ago
Updated last month
DescriptionGalleryChangelogVersions

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 /op and /deop commands and cheat in singleplayer without opening to LAN (replaces the Allow Cheats button)
  • Manage bans with /ban, /ban-ip, /banlist, /pardon and /pardon-ip, and whitelist players with /whitelist (use /whitelist on/off to 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.

Modrinth is open source.

main@acf2694

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.