OfflineLAN:一款 Fabric 模组,通过游戏内 GUI 将在线模式服务器配置带入客户端
此模组依赖于库模组 Fabric API!
OfflineLAN 是一款 Fabric 模组,让你能够直接管理通常需在 server.properties 中访问的在线模式配置,将其应用于此前无法直接操作的客户端。
在线模式是一种服务器端配置,决定了玩家加入前是否需要向 Mojang 服务器进行身份验证。当启用在线模式时,玩家必须验证其 Minecraft 账户,以确保已登录并能访问个人资料。如果禁用在线模式,则完全跳过身份验证流程;如果你希望使用 MultiMC 以“离线模式”运行第二个 Minecraft 实例并加入你的世界,这将非常有用。
此模组兼容原版客户端! 只有在你托管世界时才需要安装此模组。
此模组不需要任何其他依赖项! 它是完全独立的,并且我会像 SyncedAdvancements 一样为旧版本持续更新,1.18 及更早版本的更新总有一天会到来。
2.0.0 版本需要 FabricAPI 作为硬性依赖,多亏 Stonecutter,1.18 及更早版本现已可用!
使用方法:
- 只需打开局域网(Open To Lan),它就会显示选项,请务必阅读下方的注意事项!
其他信息/注意事项:
- 在线模式的切换开关默认为开启状态(与
server.properties中一致),因此你必须手动将其关闭,模组才会生效。 - 此模组仅在你“打开局域网”时生效,仅仅安装它并不会使你的世界变得不安全。
- 其行为与专用服务器上的表现完全一致(如果进行了端口转发,或使用 e4mc/e4mcbiat)
- 请注意,切换在线模式是一个危险的操作,如果你的世界被恶意玩家破坏,我概不负责。请始终备份你的世界,并做好安全防护准备。
- 如果在线模式被关闭,外部玩家的数据将根据本地生成的 UUID 进行识别,这意味着一个在在线模式开启时游玩的玩家,如果在突然关闭在线模式的情况下继续游戏,可能会丢失其在世界中的全部进度。为了缓解这一问题,你可以将旧的玩家数据迁移到新的 UUID 上(是的,这是可行的,连我那位不太懂技术的同伴都能搞定,这并不需要什么高深的技术)。这不会影响主机,因为主机的玩家数据存储于
level.dat中,无论 UUID 如何,该玩家数据都是持久化的。重新开启在线模式后,系统将再次解析为其账户 UUID,从而恢复其进度。
OfflineLAN: a Fabric mod that brings the online-mode server config into the client via in-game GUI
This mod depends on the library mod Fabric API!
OfflineLAN is a Fabric mod that gives you the power to manage your online-mode configuration directly that is usually accessed from server.properties to your client where it was previously inaccessible.
Online-mode is a sever-side config that dictates whether players need to authenticate with Mojang's servers before joining. When online mode is enabled, players must verify their Minecraft accounts, ensuring they have logged in and can access their profile. If online mode is disabled, the authentication process is skipped entirely, useful if you want a second minecraft instance to join your world that is ran with "offline mode" in MultiMC.
This mod works with vanilla clients!, you would only need the mod if you're hosting the world.
This mod DOES NOT need any other dependencies!, its completely standalone and i will keep it updated for older versions just like SyncedAdvancements, version 1.18 and prior is coming someday.
2.0.0 Requires FabricAPI as a hard dependency, Version 1.18 and prior is finally available thanks to Stonecutter!
How to use:
- Just.. Open To Lan and it'll show you the options, and make sure you read the Caveats below!
Additional Infos/Caveats:
- The toggle for the Online-mode DEFAULTS TO ON (just like in server.properties), So you have to deliberately turn it OFF for the mod to take effect.
- This mod takes effect ONLY when you Open To Lan, it wouldn't make your world insecure just by having it installed.
- This works exactly like it would work on dedicated servers (if port-forwarded, or using e4mc/e4mcbiat)
- BE wary that Online-mode is a dangerous option to toggle, i am not responsible if your world gets griefed by malicious actors. Always have a backup of your world and have a security layer ready.
- if Online-mode is toggled OFF, External playersdatas will be identified with a locally generated UUID, which means a player who was playing with Online-mode toggled ON, might lose their entire progress on the world if Online-mode was suddenly toggled OFF. to mitigate this, you can migrate the old playerdata to the new UUID (yes this is possible, my friend who wasn't as tech savvy could figure it out, it doesnt need rocket science). This does not affect the host, as playerdata of the host is stored in level.dat, and that playerdata is presistent regardless of UUID. Turning Online-mode back ON will make it resolve to their account UUID again, restoring their progress.
下载 OfflineLAN
下载 OfflineLAN
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 OfflineLAN
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 OfflineLAN
下载 OfflineLAN
下载 OfflineLAN
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 OfflineLAN
下载 OfflineLAN
下载 OfflineLAN
下载 OfflineLAN
- 新版本拆分
维护更新!
- 从 26.2+ 移植了聊天消息通知功能,以便你更清楚地了解世界是否处于不安全状态。
本次更新后,OfflineLAN 已迁移至 Stonecutter!简而言之,Stonecutter 是一套工具链,使开发者能够更方便地开发面向不同版本和模组加载器的模组。
我从六月到八月一直在试用 Stonecutter,这套工具链让我觉得非常顺手。因此,今后我的模组都将通过它来分发!
特别感谢 Kikugie 提供了如此出色的工具链!
以上就是全部内容,感谢使用 OfflineLAN!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧