Posted August 14, 201411 yr Heyho Guys! Just a small question: How do you declare a mod as Singleplayer only so that it is not deactivated on a server? (like a minimap) I'm using Forge for 1.7.10. http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
August 15, 201411 yr I give up. Did your mod get "deactivated" on a server somehow? What was the error message? -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
August 15, 201411 yr Author 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) http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
August 15, 201411 yr 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. -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
August 15, 201411 yr Author Ok, thank you. http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
August 15, 201411 yr 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; } ... } -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.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.