这是 用于专用服务器的 UPNP 的重制版
警告,由于我完全是个笨蛋,忘记了 26.1 版本没有映射表,所有 4.0.0 之前的发布版本都不支持 26.1/26.2
用于专用 Minecraft 服务器的 UPNP
适用于专用 Fabric/NeoForge Minecraft 服务器的 UPNP(与局域网服务器相对,后者已有许多其他等效模组)。 在服务器启动时打开端口,并在服务器停止时关闭它们。
转发端口可在配置文件 config/upnp.txt 中进行配置。
可以打开 UDP 和 TCP 端口。默认情况下,仅打开 TCP 端口 25565(Minecraft 的默认端口)。如果您使用了 Simple Voice Chat 或 Geyser 等模组,则必须在配置文件中添加相关端口。
您可以使用 在线端口检查工具 来检查某个端口是否已开放。
此模组主要将 WaifUPnP 库封装为 Minecraft 模组, 将该库的功能绑定到服务器生命周期和一个命令上。该库经过轻微修改,以记录错误并实现原始项目中待处理的 PR,同时也修复了其分支中的一些 bug。
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
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UPNP for dedicated servers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UPNP for dedicated servers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UPNP for dedicated servers
下载 UPNP for dedicated servers
下载 UPNP for dedicated servers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 UPNP for dedicated servers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复 mixin 问题 问题链接
NeoForge 版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧