跳到正文

OfflineLAN

作者:Aeroshide

A mod that adds a toggle in the "Open To Lan" / "Multiplayer" menu to disable online-mode on the integrated server

收藏

截图

介绍

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

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 支持哪些 Minecraft 版本?

OfflineLAN 支持 Minecraft Java 版 1.14–26.3,共 48 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

OfflineLAN 怎么安装?

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

评论

登录后评论和评分

Aeroshide 的其他作品

查看全部 →