ModsFinder

LAN Whitelist

by OffsetMonkey538

LAN Whitelist lets a singleplayer world opened to LAN accept only the players on its whitelist.

FabricClient and serverMIT LicenseOpen source1.20.2 – 1.21.10

What it does

Opening a singleplayer world to LAN normally lets anyone on the same network join. LAN Whitelist adds a whitelist to such worlds, so the owner can allow only chosen friends, which is useful when running a LAN world alongside mods like e4mc that make it reachable beyond the local network. The whitelist command behaves like the vanilla one, and the list is stored in whitelist.json in the world's lan-whitelist folder. Fabric API is required. The mod runs on client and server, so both sides need it, and it is published for Fabric across 16 release versions, 1.20.2 – 1.21.10, under the MIT License and as open source.

Key features

  1. Whitelisted LAN worlds

    Singleplayer worlds opened to LAN accept only players who appear on the whitelist.

  2. Vanilla-style whitelist command

    The whitelist command works the same way it does on a vanilla server.

  3. Separate whitelist storage

    The list is kept in whitelist.json and enabled.json inside the world's lan-whitelist folder.

Compatibility

Latest build for each game version and loader.

1.21.x11 of 11 versions with builds
1.21.101.0.2+1.21.10
1.21.91.0.2+1.21.10
1.21.81.0.2+1.21.8
1.21.71.0.2+1.21.8
1.21.61.0.2+1.21.8
1.21.51.0.2+1.21.8
1.21.41.0.2+1.21.8
1.21.31.0.2+1.21.8
1.21.21.0.2+1.21.8
1.21.11.0.2+1.21.8
1.211.0.2+1.21.8
1.20.x5 of 5 versions with builds
1.20.61.0.2+1.21.8
1.20.51.0.2+1.21.8
1.20.41.0.2+1.21.8
1.20.31.0.2+1.21.8
1.20.21.0.2+1.21.8
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

How it compares

Full comparison

LANLock is open source under the MIT License, runs on client and server, and works on Fabric and Quilt for 1.19.2 – 26.3. Autoopen-lan is client-side only under the Apache License 2.0, with Fabric files for 1.18.2 – 1.21.11, and is not open source.

ModLoadersGame versionsEnvironmentUpdated
LAN WhitelistFabric1.20.2 – 1.21.10Client and server2025-10-18
LANLockFabric and Quilt1.19.2 – 26.3Client and server2026-09-15
Autoopen-lanFabric1.18.2 – 1.21.11Client-side only2026-03-05

In the catalog

LAN Whitelist is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 15,569 mods support Minecraft 1.21.10.

More from OffsetMonkey538

All projects

Similar mods

What the author says

Allows whitelist to be enabled in Singleplayer worlds. This is useful for only allowing your friends (who hopefully aren't griefers) to join your lan worlds, with mods like e4mc. Just use the /whitelist command, which works exactly like the vanilla one!
OffsetMonkey538, on the Modrinth page

Official listing

Owner
OffsetMonkey538
Published
2025-05-28
Updated on Modrinth
2025-10-18
Facts verified
2026-10-15

Tags