Jump to content

Declare Mod as Singleplayer only in 1.8


Bedrock_Miner

Recommended Posts

I have no error message. A normal Mod seems to be disabled when joining a Server with the mod not installed. (For instance: You have two Mods installed, maybe Thaumcraft and a Minimap and join a vanilla server, Thaumcraft is completely disabled while you still have your Minimap)

Link to comment
Share on other sites

I have no error message. A normal Mod seems to be disabled when joining a Server with the mod not installed. (For instance: You have two Mods installed, maybe Thaumcraft and a Minimap and join a vanilla server, Thaumcraft is completely disabled while you still have your Minimap)

That is likely due to the fact that Thaumcraft properly checks the server for the mod and disables itself. All mods should do this, but most of them are not written properly. In other words, the server does not disable mods, nor does Forge unless the mod requests it.

Link to comment
Share on other sites

By the way...

Mods that require a server side as well should always have a NetworkCheckHandler thusly:

class MyMod {
...
  @NetworkCheckHandler
  public static boolean nameDoesn'tMatterHere(Map<String, String> theMap, Side theSide) {
    //TODO check the map and see if you have the right mods
    return isThisMapOkay;
  }
...
}

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.