LAN Server Properties
by rikka0w0
LAN Server Properties lets a player set the port, PvP rule and player cap when opening a singleplayer world to LAN, in the vanilla Open to LAN screen.
What it does
The mod extends the Open to LAN screen with fields for a listening port, an option to turn off online mode, a switch for PvP and a limit on the number of players. Each setting applies only to the LAN session that the player opens, so a singleplayer world keeps its own defaults afterward.
When offline mode is active, an optional setting prefers the UUID issued by Microsoft or Mojang where one is available. Players who move between online and offline mode keep their inventory contents, since the same identifier is reused. The mod is client-only, so a dedicated server has no use for it. It is published for Forge and NeoForge across six release versions, 1.20.5 – 1.21.3, under the GNU General Public License v3.0 or later, which makes it open source.
Key features
Port selection for LAN
The Open to LAN screen accepts a specific port, so the hosted world can be reached at a known address.
Online mode toggle
Online mode can be switched off in the same screen, allowing players without a Microsoft account to join.
PvP and player limit
Player-versus-player combat can be enabled or disabled, and the maximum number of players can be set before opening.
Stable player identifiers
With offline mode on, an option keeps the Microsoft or Mojang UUID so inventory survives a switch between modes.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players who host singleplayer worlds over LAN and want control over the port, PvP and player limit. Players who only join other people's worlds need nothing from the mod.
Questions
Does LAN Server Properties need to be installed on a dedicated server?
Which loaders does LAN Server Properties support?
Does the UUID option keep inventory when switching modes?
In the catalog
LAN Server Properties is one of 3,545 Optimization mods on ModsFinder, and one of 1,441 Optimization mods for Forge. 13,252 mods support Minecraft 1.21.3.
Similar mods
What the author says
This mod is client-only, installing it on a dedicated server does nothing. When this mod is installed, it will add a few new things to the "Open to LAN" Gui, which then allows the user to start the LAN game on a specific port, and also provides an option to disable the "online mode".
Official listing
- Modrinth page
- modrinth.com/mod/lan-server-properties
- Owner
- rikka0w0
- Published
- 2024-11-10
- Updated on Modrinth
- 2024-11-10
- Facts verified
- 2026-10-15
