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, enables the UUID Fixer. The default behavior of UUID Fixer is that, 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/uuidfixer force
command. This mode can be useful to preserve backpacks and inventories when switching from "Online Mode" to "Offline Mode".
- The command
/uuidfixer
controls how usernames are mapped to UUIDs in theDisable + UUID Fixer
mode.
- command
/uuidfixer list
lists all mapping rules. - command
/uuidfixer force
adds a new rule or update an existing rule. - command
/uuidfixer remove
removes an existing rule. - command
/uuidfixer test
allows you to check the policy applied to a username.
-
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. -
When installed to a dedicated server, only the
UUID Fixer
function is available. It can only be enabled ifuuid_fixer.json
exists in the root server folder. The/uuidfixer
command is available on the dedicated server side. This mod does nothing otherwise.
git clone [email protected]: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.