Jump to content

Server setup script


4L3AF

Recommended Posts

I was looking to try a bunch of mod-packs with my siblings and I'd really like to script finding and installing mod-packs onto my Ubuntu Linux server from Linode. I don't want to use the built in Linode Minecraft snapshots because I would like to be able to have a couple dozen installed and the make a simple web page with some back-end scripts to shutdown and startup different mod-packs at will but still save the worlds in separate folders.

 

Has anyone done anything similar? I know there is an API to upload and maintain mod-packs, but is there an API to get a list of available mod-packs (names, download locations, mod-pack icon/images, author, number of mods included, etc.)?

Link to comment
Share on other sites

Modpacks are usually distributed by third parties. I.e. the Feed The Beast Modpacks are actually distributed by CurseForge which is a company owned by twitch, through their custom launcher. Other Modpack Distributors like Technicpack employ the same techniques. 
(Obligatory "please do not attempt to create a custom launcher")

 

None of the Distributors that I know of, have a public api to download mod-packs.  
You could of course use tools like wireshark to reverse-engineer where those launchers load their packs from, but that would be rather tedious.  

If you want to enable different modpacks on the fly, you should just write a small bash script which packs the whole server folder into a single zip file and swaps it out with another one.  
Or you can just have different folders for every mod-pack that you would like to run and only enable a single server at a time.  
You should not run different minecraft versions or even modpacks or versions of mods in the same environment, since they are usually incompatible anyways. Have them in separate folders instead.  
Zip those folders if you run into storage problems.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.