LAN Whitelist
LAN Whitelist lets a singleplayer world opened to LAN accept only the players on its whitelist.
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
Whitelisted LAN worlds
Singleplayer worlds opened to LAN accept only players who appear on the whitelist.
Vanilla-style whitelist command
The whitelist command works the same way it does on a vanilla server.
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.20.x5 of 5 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
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.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| LAN Whitelist | Fabric | 1.20.2 – 1.21.10 | Client and server | 2025-10-18 |
| LANLock | Fabric and Quilt | 1.19.2 – 26.3 | Client and server | 2026-09-15 |
| Autoopen-lan | Fabric | 1.18.2 – 1.21.11 | Client-side only | 2026-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
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!
Official listing
- Modrinth page
- modrinth.com/mod/lan-whitelist
- Owner
- OffsetMonkey538
- Published
- 2025-05-28
- Updated on Modrinth
- 2025-10-18
- Facts verified
- 2026-10-15
