Skip to content

Satxm/mcwifipnp

Repository files navigation

中文zh-cn

LAN World Plug-n-Play

1 3 5 7

Dependencies

Fabric: Fabric Loader, Fabric API.

Quilt: Quilt Loader, QFAPI/QSL.

Forge: Forge.

NeoForge: NeoForge.

Download

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

Introduction

This Branch is for Minecraft [1.20.5, 1.21.4]!

Uses the vanilla Minecraft GUI style, Uses the official mojang mappings.

Screenshots

GUI ZH-CN

Usage

  1. 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".
  1. The command /uuidfixer controls how usernames are mapped to UUIDs in the Disable + 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.
  1. 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).

  2. Allows you to enable or disable pvp.

  3. Allows you to change server motd (The message displayed below the server name in the server list).

  4. 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.

  5. 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

  6. Your settings will be recorded in a file, and it will be automatically loaded next time.

  7. 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.

  8. You can change most of the above settings once the server starts, but some options are only applied to newly joined players.

  9. You can also go back to the vanilla Open to Lan screen by clicking in the button on the bottom-left corner.

  10. When installed to a dedicated server, only the UUID Fixer function is available. It can only be enabled if uuid_fixer.json exists in the root server folder. The /uuidfixer command is available on the dedicated server side. This mod does nothing otherwise.

For Developers

Compile Fabric Artifacts

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.

Eclipse

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.