跳到正文

UPNP for dedicated servers

作者:Panzimy

This is a rework of dedicated UPNP by pigcart for 1.21.11 and 26.X. Neoforge supported

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This is remake of UPNP for dedicated servers

WARNING, because I’m COMPLETE dumb person and I forgot about 26.1 that has NO MAPPINGS, ALL RELEASES before 4.0.0 DON’T SUPPORT 26.1/26.2

UPNP for dedicated Minecraft servers

UPNP for dedicated Fabric/NeoForge Minecraft Servers (as opposed to LAN servers, which there are plenty of other equivalent mods for).
Opens ports when the server starts, and closes them when it stops.

The forwarded ports are configurable in the config file at config/upnp.txt.
Both UDP and TCP ports can be opened. By default, only TCP port 25565 will be opened (the default port for minecraft). If you are using mods such as Simple Voice Chat or Geyser, you must add the relevant ports to the config.

You can use an online port checker to check if a port is open.

This primarily just wraps the WaifUPnP library as a minecraft mod,
binding the functions of the library to the server lifecyle and a command. The library has been modified slightly to log errors and implement some of the pending PRs on the original project as well as bugfixes from its forks.

常见问题

UPNP for dedicated servers 支持哪些 Minecraft 版本?

UPNP for dedicated servers 支持 Minecraft Java 版 1.21.11–26.2,共 5 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

UPNP for dedicated servers 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Panzimy 的其他作品

查看全部 →