ModsFinder

LANLock

by technicfan

With LANLock, a host can limit who joins a LAN world by keeping a whitelist of player names or UUIDs, the same kind of check a dedicated server applies.

FabricQuiltClient and serverMIT LicenseOpen source1.19.2 – 26.3

What it does

LANLock adds a whitelist to worlds opened to LAN, so a host can allow only chosen players to connect. Each whitelisted player is stored by name and UUID, and the UUID is what the mod checks when someone connects. Names are resolved to UUIDs in the background, so a name can be added without the player being online. A world opened to the public with e4mc is covered as well, since the mod was written against e4mc 5.4.0 and later.

The mod runs on client and server, so the host and every player who connects need it installed. Its options cover turning the whitelist off entirely, and switching the check from UUIDs to names, which is useful for testing. The same settings are reachable through the client-side command lanlock. Fabric API is required, and Cloth Config API and Mod Menu are optional; with Mod Menu and Cloth Config present, a configuration screen is available from the mod list. The mod is released under the MIT License and is open source, with files for 1.19.2 – 26.3 on Fabric and Quilt.

Key features

  1. Whitelist for LAN worlds

    Only whitelisted players can join a world opened to LAN, mirroring the whitelist of a dedicated server.

  2. UUID-based checks

    Each entry stores a player's name and UUID, and the connection check compares the UUID of the joining player.

  3. Background name lookup

    Names added to the list are resolved to UUIDs asynchronously, so adding a player does not stall the game.

  4. Whitelist toggle and name mode

    The whitelist can be switched off entirely, and the check can use names instead of UUIDs for testing.

  5. Configuration screen

    With Mod Menu and Cloth Config installed, the same options open in a configuration screen.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.31.3.71.3.7
26.21.3.71.3.7
26.1.21.3.71.3.7
26.1.11.3.71.3.7
26.11.3.71.3.7
1.21.x12 of 12 versions with builds
1.21.111.3.71.3.7
1.21.101.3.71.3.7
1.21.91.3.71.3.7
1.21.81.3.71.3.7
1.21.71.3.71.3.7
1.21.61.3.71.3.7
1.21.51.3.71.3.7
1.21.41.3.71.3.7
1.21.31.3.71.3.7
1.21.21.3.71.3.7
1.21.11.3.71.3.7
1.211.3.71.3.7
1.20.x7 of 7 versions with builds
1.19.x3 of 3 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Optional 2

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional
Cloth Config APIConfiguration Library for Minecraft Mods
Optional

How it compares

Full comparison

LAN Whitelist is a Fabric mod for 1.20.2 – 1.21.10 that also runs on client and server, under the MIT License and open source. Simple Whitelist works only on Fabric for 1.18 – 26.2 and is server-side only, so players join without installing it. LAN Properties covers a wider set of loaders, including Forge, NeoForge and Quilt, for 1.12 – 1.21.8, and is also client and server with the Apache License 2.0.

ModLoadersGame versionsEnvironmentUpdated
LANLockFabric and Quilt1.19.2 – 26.3Client and server2026-09-15
LAN WhitelistFabric1.20.2 – 1.21.10Client and server2025-10-18
Simple WhitelistFabric1.18 – 26.2Server-side only2026-07-26
LAN PropertiesFabric, Forge, NeoForge, Quilt, Legacy Fabric and Ornithe1.12 – 1.21.8Client and server2026-02-10

Questions

Does LANLock need Fabric API?

Yes. Fabric API is a required dependency, so it must be installed next to LANLock on Fabric or Quilt.

Do both sides need LANLock?

Yes. The server and every player need the mod installed.

Are Cloth Config API and Mod Menu needed?

No. They are optional. Installing both gives a configuration screen, while the lanlock command works without them.

Which game versions does LANLock cover?

The mod has files for 1.19.2 – 26.3, and the latest file for Fabric and Quilt is 1.3.7 for 26.3, published 2026-09-15.

In the catalog

LANLock is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.

More from technicfan

All projects

Similar mods

What the author says

Note: This is not needed for e4mc 5.4.0+ as they implemented a whitelist there A few days ago, I stumbled across LANGuard, a mod that achieves the same thing as this one and also contributed to it. As this was my first ever contact with Java and Minecraft Mod Development, I started to work on a new PR but soon…
technicfan, on the Modrinth page

Official listing

Owner
technicfan
Published
2025-06-03
Updated on Modrinth
2026-09-15
Facts verified
2026-10-15

Tags