LAN World Plug-n-Play (mcwifipnp)
by satxm
Players who open a singleplayer world to others use LAN World Plug-n-Play to control how joining accounts are checked, which port the world uses and whether it is mapped through UPnP.
What it does
The mod adds an Online Mode setting with three options. Enable checks each login against the Mojang server database, so only players signed in with a genuine Microsoft account can join. Disable accepts any login, including offline players. Disable with the UUID fixer also accepts offline players, but maps their usernames to the UUIDs Mojang has issued for those names, and keeps UUIDs for Microsoft accounts, which helps preserve backpacks and inventory contents when a world switches from Enable to Disable. Two console commands set this mode up by hand.
Beyond the login setting, the mod lets the host change the LAN world port, choose whether the port is mapped to the public internet through UPnP where the router supports it, toggle PvP, edit the server MOTD shown in the multiplayer list, and decide whether joining players receive operator rights or cheat access. Whitelist and OP lists can be managed with /whitelist, /op and /deop. Fabric API or Quilted Fabric API (QFAPI) / Quilt Standard Libraries (QSL) is required, depending on the loader.
Key features
Three online mode options
The Online Mode button selects Enable, Disable or Disable with the UUID fixer for the world.
UUID fixer rules
A rule list maps offline usernames to UUIDs, and admins edit it with /uuidfixer list, force, remove and test.
Port and UPnP control
The host sets the LAN port and can map it to the internet through UPnP, via the graphical screen or the /upnp command.
PvP and MOTD settings
Hosts toggle player-versus-player combat and change the message shown under the server name in the multiplayer list.
Operator and whitelist control
Joining players can be given OP rights or cheat access, and a whitelist limits who may enter the world.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x4 of 4 versions with builds
1.15.x1 of 1 version with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Friends joining a singleplayer world
A host who wants friends with and without Microsoft accounts to join a LAN game can pick the online mode that fits the group.
Keeping inventories after a mode switch
A world moved from Enable to Disable can keep player backpacks and inventories with the UUID fixer option.
Who it’s for: Players who host LAN worlds for friends, and server owners who want fine control over offline and online login checks.
Questions
Which loader does LAN World Plug-n-Play need?
Do friends need the mod installed to join?
What does the offline-player fix change?
What the author says
1 对于正版验证按钮,现在有三个选项: - 启用:启用正版验证,将会比对Mojang服务器数据库验证登录信息,即只允许使用微软帐户登录的玩家加入; - 禁用:即不验证登录信息,允许使用离线模式登录的玩家加入; - 禁用 + 修复UUID:尝试使用离线模式登录的玩家名匹配Mojang服务器用户名称以获取唯一UUID,同时为使用微软帐户登录的用户保留UUID,它也可以防止背包和物品栏内容丢失。 - 禁用 + 修复UUID对应的控制台命令为 /onlinemode false 与 /uuidfixer enabled true 。 1 The Online Mode button has three options: …
Official listing
- Modrinth page
- modrinth.com/mod/mcwifipnp
- Owner
- satxm
- Published
- 2021-07-21
- Updated on Modrinth
- 2026-09-22
- Facts verified
- 2026-10-15
