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, 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".
  1. The command /forceoffline controls a list of players who are forced into offline mode. Use in conjunction with Disable + 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.
  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.

For Developers

Compile Fabric Artifacts

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.

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.