ModsFinder

LANProtect

by widz_a_

LANProtect is a Fabric utility for LAN worlds that keeps unauthorized players from joining a game exposed to the internet by other mods.

FabricClient-side onlyMIT LicenseOpen source1.21.5

What it does

Opening a world to LAN can expose it to outside connections when some mods are installed, so LANProtect checks who may join and blocks players who are not on the whitelist. Only the client needs it, so the game runs without it on any other side. The mod is published for Fabric alone, for 1.21.5, and is open source under the MIT License.

Key features

  1. Whitelist for LAN joins

    Players who are not on the whitelist are kept out of a LAN game opened to the internet.

  2. Whitelist reset on world leave

    The list of allowed players is cleared when the world is left, so every session needs players to be whitelisted again.

  3. Public issue tracker and source

    The source code and issue tracker are public, so bug reports and feature requests can be filed on GitHub.

Compatibility

Latest build for each game version and loader.

1.21.51.0
ReleaseBetaAlphaNot available

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

How it compares

Full comparison

Auto-Lan covers both client and server, under the MIT License, for 1.21 – 1.21.8 on Fabric and Quilt. LAN stuff is client-side only, is not open source, and covers 1.21.6 – 1.21.8 on Fabric and Quilt.

ModLoadersGame versionsEnvironmentUpdated
LANProtectFabric1.21.5Client-side only2025-06-02
Auto-LanFabric and Quilt1.21 – 1.21.8Client and server2025-10-04
LAN stuffFabric and Quilt1.21.6 – 1.21.8Client-side only2025-11-19

Questions

Does LANProtect need Fabric API?

No required dependency is listed for Fabric.

Does the whitelist persist between sessions?

No. The notice list is cleared when a world is left, so players must be whitelisted again before they can join the next time.

In the catalog

LANProtect is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 15,307 mods support Minecraft 1.21.5.

More from widz_a_

All projects

Similar mods

What the author says

Be notice that the list will be cleared when you leave the world, meaning you will have to re-whitelist those players when you play on it again. If you have any suggestion, you can create an issue or pull a request on my github repo) and I'll hopefully implement them.
widz_a_, on the Modrinth page

Official listing

Owner
widz_a_
Published
2025-06-02
Updated on Modrinth
2025-06-02
Facts verified
2026-10-15

Tags