Fabric: Fabric Loader, Fabric API.
Quilt: Quilt Loader, QFAPI/QSL.
Forge: Forge.
NeoForge: NeoForge.
CurseForge : https://www.curseforge.com/minecraft/mc-mods/mcwifipnp
Modrinth : https://modrinth.com/mod/mcwifipnp
MC百科 : https://www.mcmod.cn/class/4498.html
GitHub : https://github.com/Satxm/mcwifipnp
This Branch is for Minecraft [1.20.5, 1.21.4]!
Uses the vanilla Minecraft GUI style, Uses the official mojang mappings.
- Modified from TheGlitch76/mcpnp
- UPnP module from adolfintel/WaifUPnP.
Online Mode
andUUID Fix
fromRikka0w0/LanServerProperties.
- The
Online Mode
button has three options:
Enable
: verify login information against the Mojang server database, only allow players with genuine Microsoft account to join.Disable
: no verification, allows anyone, including offline players to join.Disable + UUID Fixer
: Similar to above, but if a player has his name on the Mojang server, the official unique UUID will be used, just like in the "Online Mode". Exceptions can be added using the/forceoffline add
command. This mode can be useful to preserve backpacks and inventories when switching from "Online Mode" to "Offline Mode".
- The command
/forceoffline
controls a list of players who are forced into offline mode. Use in conjunction withDisable + UUID Fixer
to setup exceptions.
- command
/forceoffline list
can list players who in the force offline list, - command
/forceoffline add
can add players to the force offline list, - command
/forceoffline remove
can remove players from the force offline list.
-
Allows you to change server's port number and you can choose whether to map this port to the public network using UPnP (if your router supports UPnP).
-
Allows you to enable or disable pvp.
-
Allows you to change server motd (The message displayed below the server name in the server list).
-
Allows you control other players' permissions when they join your world. Use
/op
and/deop
commands to manipulate the OP list. You can also use command/whitelist
to build a whitelist and use it to control players who can join your world. -
You can use command
/ban
to blacklist players. Use command/ban-ip
to add IP addresses to the blacklist. Use command/banlist
to list blacklisted players. Use command/pardon
to remove players from the blacklist, use command/pardon-ip
to remove IP addresses from the blacklist -
Your settings will be recorded in a file, and it will be automatically loaded next time.
-
This mod can get your IP address, and you can choose whether to copy the IP address (such as local IPv4, globe IPv4 or IPv6) to the clipboard. in order to provide the IP address to your friends. The command
/ip
can retrieve more IP information. -
You can change most of the above settings once the server starts, but some options are only applied to newly joined players.
-
You can also go back to the vanilla
Open to Lan
screen by clicking in the button on the bottom-left corner.
git clone git@github.com:Satxm/mcwifipnp.git
cd mcwifipnp
.\gradlew.bat :fabric:runClient
Replace fabric
with forge
, neoforge
, or quilt
to build the corresponding artifacts.
Import the root folder as a gradle project in Eclipse to start the development.
You may want to disable some targets in settings.gradle
to speed up the initial porting/development.