Created
December 8, 2021 16:51
-
-
Save Specnr/aaa17e3a4de7cc135d543be130c6831f to your computer and use it in GitHub Desktop.
Starts up all instances quickly via command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}") |
Where do you download the script?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You also need the latest version of multimc :)