Posted July 7, 20187 yr HI , I have a problem with forge updater : https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ . I have everything as said in the documentations but it does not work. My update.json : http://archydium.zenserv.fr/minecraft/update/update.json ArchyMod.java (Main class) : package fr.darkprod.archymod; import fr.darkprod.archymod.commands.CommandArchydium1; import fr.darkprod.archymod.commands.CommandArchydium2; import fr.darkprod.archymod.fuel.IFuelHandlerArchydium; import fr.darkprod.archymod.gen.GenOres; import fr.darkprod.archymod.gui.GuiHandler; import fr.darkprod.archymod.handlers.ArchydiumSoundHandler; import fr.darkprod.archymod.init.ModBlocks; import fr.darkprod.archymod.init.ModItems; import fr.darkprod.archymod.init.ModRecipies; import fr.darkprod.archymod.proxy.CommonProxy; import fr.darkprod.archymod.tiles.TileInventoryFurnace; import net.minecraft.client.renderer.BlockModelRenderer; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.Loader; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.CustomProperty; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.ModClassLoader; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.network.NetworkRegistry; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraftforge.oredict.OreDictionary; @Mod(modid = References.MOD_ID, name = References.MOD_NAME, version = References.VERSION, acceptedMinecraftVersions = "[1.10,1.10.2]" , updateJSON = References.updateJSON) public class ArchyMod { @SidedProxy(clientSide = References.CLIENT_PROXY, serverSide = References.SERVER_PROXY) public static CommonProxy proxy; @Mod.Instance(References.MOD_ID) public static ArchyMod instance; public static final int GUI_BACKPACK = 0; public static final int GUI_FURNACE = 1; public static CreativeTabs ArchyMod = new CreativeTabs("ArchyMod") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return ModItems.ArchydiumIngot; } }; @Mod.EventHandler public void serverLoad(FMLServerStartingEvent e) { e.registerServerCommand(new CommandArchydium1()); //e.registerServerCommand(new CommandArchydium2()); } @Mod.EventHandler public void preInit(FMLPreInitializationEvent e) { proxy.preInit(); ModItems.init(); ModItems.register(); ModBlocks.init(); GameRegistry.registerFuelHandler(new IFuelHandlerArchydium()); } @Mod.EventHandler public void init(FMLInitializationEvent e) { proxy.init(); GameRegistry.registerTileEntity(TileInventoryFurnace.class, "TileArchydiumFurnace"); NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler()); ArchydiumSoundHandler.init(); GameRegistry.registerWorldGenerator(new GenOres(), 0); OreDictionary.registerOre("oreArchydium", ModBlocks.oreArchydium); OreDictionary.registerOre("oreArpaz", ModBlocks.ArpazOre); OreDictionary.registerOre("oreArzot", ModBlocks.ArzotOre); OreDictionary.registerOre("blockBush", ModBlocks.ArchyBush); ModRecipies.init(); } @Mod.EventHandler public void postInit(FMLPostInitializationEvent e) { proxy.postInit(); } } References class : package fr.darkprod.archymod; import com.mojang.realmsclient.gui.ChatFormatting; public class References { public static final String MOD_ID = "archydium"; public static final String MOD_NAME = "Archydium Mod"; public static final String VERSION = "1.0"; public static final String CLIENT_PROXY = "fr.darkprod.archymod.proxy.ClientProxy"; public static final String SERVER_PROXY = "fr.darkprod.archymod.proxy.ServerProxy"; public static final String HoldShift = ChatFormatting.GREEN + "Hold" + ChatFormatting.RESET + ChatFormatting.BLUE + ChatFormatting.ITALIC +" <Shift>" + ChatFormatting.RESET + ChatFormatting.GREEN + " To Open" + ChatFormatting.RESET; public static final String updateJSON = "http://archydium.zenserv.fr/minecraft/update/update.json"; } Help me please
July 7, 20187 yr Despite the page name in the url it is not an updater, it is an update checker, mods with updates available are marked with emeralds in the mods list and a message is logged in console. Does this answer your question? This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy. As the most common issue I feel I should put this outside the main bulk: The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge. If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan. For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety. Spoiler Logs (Most issues require logs to diagnose): Spoiler Please post logs using one of the following sites (Thank you Lumber Wizard for the list): https://gist.github.com/: 100MB Requires member (Free) https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$) https://hastebin.com/: 400KB Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads. What to provide: ...for Crashes and Runtime issues: Minecraft 1.14.4 and newer: Post debug.log Older versions: Please update... ...for Installer Issues: Post your installer log, found in the same place you ran the installer This log will be called either installer.log or named the same as the installer but with .log on the end Note for Windows users: Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension Where to get it: Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs. Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch: Spoiler Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge) Make a launcher profile targeting this version of Forge. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it). Now launch the pack through that profile and follow the "Mojang Launcher" instructions above. Video: Spoiler or alternately, Fallback ("No logs are generated"): If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft Server Not Starting: Spoiler If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output. Reporting Illegal/Inappropriate Adfocus Ads: Spoiler Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad. Lex will need the Ad ID contained in that URL to report it to Adfocus' support team. Posting your mod as a GitHub Repo: Spoiler When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub. When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository. Open a command prompt (CMD, Powershell, Terminal, etc). Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in). Run the following commands: git init git remote add origin [Your Repository's URL] In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git git fetch git checkout --track origin/master git stage * git commit -m "[Your commit message]" git push Navigate to GitHub and you should now see most of the files. note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from) Now you can share your GitHub link with those who you are asking for help. [Workaround line, please ignore]
July 7, 20187 yr Author No because even if I change the version of the mod there is no emerald to indicate that an update is available
July 7, 20187 yr What does it say in the console during launch? It should be prefaced with forge.VersionCheck This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy. As the most common issue I feel I should put this outside the main bulk: The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge. If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan. For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety. Spoiler Logs (Most issues require logs to diagnose): Spoiler Please post logs using one of the following sites (Thank you Lumber Wizard for the list): https://gist.github.com/: 100MB Requires member (Free) https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$) https://hastebin.com/: 400KB Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads. What to provide: ...for Crashes and Runtime issues: Minecraft 1.14.4 and newer: Post debug.log Older versions: Please update... ...for Installer Issues: Post your installer log, found in the same place you ran the installer This log will be called either installer.log or named the same as the installer but with .log on the end Note for Windows users: Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension Where to get it: Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs. Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch: Spoiler Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge) Make a launcher profile targeting this version of Forge. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it). Now launch the pack through that profile and follow the "Mojang Launcher" instructions above. Video: Spoiler or alternately, Fallback ("No logs are generated"): If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft Server Not Starting: Spoiler If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output. Reporting Illegal/Inappropriate Adfocus Ads: Spoiler Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad. Lex will need the Ad ID contained in that URL to report it to Adfocus' support team. Posting your mod as a GitHub Repo: Spoiler When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub. When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository. Open a command prompt (CMD, Powershell, Terminal, etc). Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in). Run the following commands: git init git remote add origin [Your Repository's URL] In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git git fetch git checkout --track origin/master git stage * git commit -m "[Your commit message]" git push Navigate to GitHub and you should now see most of the files. note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from) Now you can share your GitHub link with those who you are asking for help. [Workaround line, please ignore]
July 8, 20187 yr Author Done i have did it but now forge version checker says UP_TO_DATE.... but no because mod version = 1.0 , update.json = 2.0
July 8, 20187 yr This is why you should always post and read your log files. Your server is returning 403 for that url when using a java client. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
July 11, 20187 yr Author Yes i changed my web site from zenserv to 000webhost and now it's work thnx all
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.