Posted March 15, 20214 yr I have a mod that can work when installed only on the server. In previous MC versions, I would use acceptableRemoteVersions="*" in @Mod but that is not available in 1.15.2. Is there a way to do this still? Possibly something in mods.toml? Without that, I can still connect to a server that has my mod with a client that doesn't have the mod, but it has a red X and states "Incompatible FML modded server. Server mod list is not compatible": Edited March 15, 20214 yr by Furgl https://i.gyazo.com/9d22a3d74363977ac76d662e7c22effb.png[/img]
March 15, 20214 yr Author Awesome - adding this line to my mod's constructor worked perfectly: //Make sure the mod being absent on the other network side does not cause the client to display the server as incompatible ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.DISPLAYTEST, () -> Pair.of(() -> FMLNetworkConstants.IGNORESERVERONLY, (a, b) -> true)); Thank you! Sorry I didn't noticed it in the docs initially. https://i.gyazo.com/9d22a3d74363977ac76d662e7c22effb.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.