Skip to content

Instantly share code, notes, and snippets.

@Specnr
Created December 8, 2021 16:51
Show Gist options
  • Save Specnr/aaa17e3a4de7cc135d543be130c6831f to your computer and use it in GitHub Desktop.
Save Specnr/aaa17e3a4de7cc135d543be130c6831f to your computer and use it in GitHub Desktop.
Starts up all instances quickly via command line
import os
mmc = "C:\MultiInstanceMC\MultiMC" # Change this to match your mmc location
instance_format = "1.16INST" # Change this to match your instance naming convention (mine is 1.16INST1, 1.16INST2, etc)
instance_count = 9 # Change to match instance count
for i in range(1, instance_count+1):
print(f"Starting instance {instance_format}{i}")
os.system(f"{mmc}\MultiMC.exe -l {instance_format}{i}")
@MrManCow55
Copy link

MrManCow55 commented Jan 22, 2022

Where do you download the script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment