Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 1.75 KB

README.md

File metadata and controls

48 lines (41 loc) · 1.75 KB

See on Modrinth - OpenToPublic See on CurseForge - OpenToPublic

OpenToPublic

With this mod, you can make "Open to LAN" button open your world to outer network

Features

  • Enable/Disable online mode
  • Enable/Disable PVP
  • You can set custom port
  • Set server MOTD (Support colors)
  • Set max player value
  • Open to WAN button to open world to outer network (Requires opened port on router if set to Manual)
  • Add additional ports to set when Open to WAN button set to UPnP using config file
  • Option to hide IP addresses when opening to WAN (Streamer mode)

Menu showcase

Open To LAN screen

MOTD placeholders

  • %owner% - server owner
  • %world% - world name

Online Mode

If ON, then Minecraft will be check players for license, else players with cracked launchers can join

More versions?

- If mod for your version doesn't exist, create an issue with request

Credits

  • to ChatGPT for helping in development my first mod
  • to Excal for testing
  • to FasT1k for testing
  • to @nicer06 for translate

config.json explanation

Config path: .minecraft/config/opentopublic/config.json
Example config:

{
  "tcp": [],
  "udp": [
    60606
  ],
  "hideIps": false
}
  • tcp - list of TCP ports to open if Open to WAN button set to UPnP
  • udp - list of UDP ports to open if Open to WAN button set to UPnP
  • hideIps - hide IP addresses when opening to WAN? (true or false)