Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

DeDiamondPro/multimc-auto-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multimc-auto-updater

release downloads license lines discord

A program to automatically update your mods!

How to setup

Setting up the config

Create a folder and put the jar from the latest release in the folder. After that create a json file called "config.json" in the same folder, the folder should now look like this:

image

Now open the JSON file, in here you will need to specify the github links for the mods that the updater should update. Here is the format to do this:

{
  "mods" : [
    {
      "github" : "https://github.com/DeDiamondPro/HyCord"
    }
  ]
}

You can add an other mod by just adding it underneath it like this:

{
  "mods" : [
    {
      "github" : "https://github.com/DeDiamondPro/HyCord"
    },
    {
      "github" : "https://github.com/TGMDevelopment/Nick-Hider-Revamped-Forge"
    }
  ]
}

There are also some extra parameters one to use a prerelease which you do like so:

{
  "mods" : [
    {
      "github" : "https://github.com/DeDiamondPro/HyCord",
      "usePre" : true
    }
  ]
}

And one to make it so in order to update to a version of a mod that mod's name needs to include something, this is usefull for when a mod puts releases for multiple versions in one release so it takes the mod for the right Minecraft version like so:

{
  "mods" : [
    {
	  "github" : "https://github.com/QuickplayMod/quickplay",
	  "includes" : "1.8.9"
    }
  ]
}

The updater also supports Modrinth: https://modrinth.com/ to use this you can do:

{
  "mods" : [
    {
      "modrinth" : "FIlZB9L0",
      "mc_version" : "1.17",
      "version_type" : "alpha",
      "loader" : "fabric"
    }
  ]
}
  • the "modrinth" paramater should be set the id of the mod which you can find on the website.

image

  • "mc_version" is optional and forces it to download a specific version.
  • "version_type" is optional and says what stage of mod it should download, it can be release, beta and alpha. Default is release.
  • "loader" is optional and is the mod loader the mod is for.
  • "includes" can be used like in the github examples

Now you have configured the updater to update all the mods you want!

Setting up with multimc

Multimc is required for this to work since multimc allows this program to run before it starts Minecraft, Multimc download: https://multimc.org/ Java is also required to run this program, to check if you have java installed you can open up a command prompt and type java -version if this that java isn't a known command please download it here: https://www.java.com/

Now open Multimc and go to the instance you want to automatically update your mods on and then click "edit instance" then on the left go the the "Settings" tab. Now go to "Custom commands" and click on the checkmark next to it, then in "Pre-launch command" type java -jar "path to jar file" "path to config file" "$INST_MC_DIR" Replace path to jar file with the absolute path to the jar file, to get this shift right click on the file and click "copy as path" Also replace path to config file with the absolute path to the config file, you get this in the same way.

Untitled

The final result should about look like this:

image

Now you're ready to start automatically updating your mods!

Question and support

If you have any questions or need support I'm willing to help you in the discord of my Minecraft mod HyCord, invite link: https://discord.gg/6v4ydWjDXu