A simple Python script for automatically updating Minecraft profiles in MultiMC/Prism Launcher.
This script ensures your instance always runs the latest release or snapshot version of Minecraft.
Download the script from one of the following sources:
- Python installed on your system
- MultiMC or Prism Launcher installed
- Ensure you have a Minecraft instance created in MultiMC/Prism Launcher.
- Place the script in the root directory of your instance.
This folder should also contain themmc-pack.json
file. - By default, the script updates to the latest release version of Minecraft.
If you prefer to use the latest snapshot,
change theUSE_LATEST_RELEASE
variable in the script fromTrue
toFalse
,
or use thesnapshot
argument during execution.
- Open MultiMC/Prism Launcher.
- Navigate to the instance settings of the instance you wish to auto update.
- Go to the
Settings
tab, then open theCustom Commands
sub-tab. - Add the following command as a pre-launch command:
- Linux/Mac:
python "$INST_DIR/mc-update.py"
- Windows:
python "$INST_DIR\\mc-update.py"
- Linux/Mac:
- To update to the latest snapshot instead of the release,
without changing the variable inside the script,
add the wordsnapshot
as argument:- Linux/Mac:
python "$INST_DIR/mc-update.py" snapshot
- Windows:
python "$INST_DIR\\mc-update.py" snapshot
- Linux/Mac:
After setup, every time you start the instance in MultiMC/Prism Launcher,
the script will automatically update Minecraft to the latest version,
for release or snapshot and launch the game as usual.