Jump to content

Technic Modpack Server Utility


GenPage

Recommended Posts

Hey guys,

 

I've been working on a little project to make updating Technic Modpack Servers a little easier. 

 

https://github.com/GenPage/ServerCore

 

This will allow server owners to directly download or "install" (unzip) modpacks to a specified directory on their servers.

 

Its currently in a beta state. I thought now would be a good time to release it and get some feedback on it.

 

Here are some examples of the program:

 

Listing Modpacks

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore -ls

Modpacks:
===========
Voltz ==> voltz
Tekkit Classic ==> tekkit
Yogbox ==> yogbox
Hexxit ==> hexxit
Tekkit ==> tekkitmain
Hack Slash Mine ==> hackslashmine
Big Dig ==> bigdig
Attack of the B-Team ==> attack-of-the-bteam
Tekkit Lite ==> tekkitlite
Vanilla ==> vanilla


Mirror URL: http://mirror.technicpack.net/Technic/

Displaying Pack Info:

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore tekkit

Selected Pack Info:
===========
Name: Tekkit Classic
Slug: tekkit
URL: http://www.technicpack.net/tekkit-classic

Builds:
-----------
Recommended: 3.1.2
Latest: 3.1.3
Builds: 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.5, 3.0.3, 3.0.2, 3.0.1, 3.0.0

Downloading all packs (default recommended builds)

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore all --download
Downloading all available packs...

Downlading build: 2.0.4 of Voltz

Creating directory: /home/genpage/TechnicServerCore/serverZips/voltz
voltz-v2.0.4.zip: 100% |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:01  27.24 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/voltz/voltz-v2.0.4.zip


Downlading build: 3.1.2 of Tekkit Classic

Creating directory: /home/genpage/TechnicServerCore/serverZips/tekkit
tekkit-v3.1.2.zip: 100% ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:01   9.55 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/tekkit/tekkit-v3.1.2.zip

Yogbox has been retired from the Technic Launcher and is no longer available.

Downlading build: 1.0.10 of Hexxit

Creating directory: /home/genpage/TechnicServerCore/serverZips/hexxit
hexxit-v1.0.10.zip: 100% |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:01  31.61 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/hexxit/hexxit-v1.0.10.zip


Downlading build: 1.2.9e of Tekkit

Creating directory: /home/genpage/TechnicServerCore/serverZips/tekkitmain
tekkitmain-v1.2.9e.zip: 100% |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:02  33.50 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/tekkitmain/tekkitmain-v1.2.9e.zip

Hack Slash Mine has been retired from the Technic Launcher and is no longer available.

Downlading build: 1.3.9 of Big Dig

Creating directory: /home/genpage/TechnicServerCore/serverZips/bigdig
bigdig-v1.3.9.zip: 100% ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:02  22.53 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/bigdig/bigdig-v1.3.9.zip


Downlading build: 1.0.10b of Attack of the B-Team

Creating directory: /home/genpage/TechnicServerCore/serverZips/attack-of-the-bteam
attack-of-the-bteam-v1.0.10b.zip: 100% |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:02  50.88 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/attack-of-the-bteam/attack-of-the-bteam-v1.0.10b.zip


Downlading build: 0.6.5 of Tekkit Lite

Creating directory: /home/genpage/TechnicServerCore/serverZips/tekkitlite
tekkitlite-v0.6.5.zip: 100% ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:01  13.12 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/tekkitlite/tekkitlite-v0.6.5.zip

Vanilla has been retired from the Technic Launcher and is no longer available.
Downloading Complete.

Downloading a specific pack

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore tekkit --download

Downlading build: 3.1.2 of Tekkit Classic

Zip already downloaded. Do you wish to re-download? [y/N] y
tekkit-v3.1.2.zip: 100% ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:01  14.53 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/tekkit/tekkit-v3.1.2.zip

Downloading latest build of a specific pack

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore tekkit --download latest

Downlading build: 3.1.3 of Tekkit Classic

tekkit-v3.1.3.zip: 100% ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:00  15.18 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/tekkit/tekkit-v3.1.3.zip

Downloading a specific version of a pack

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore tekkit --download 3.0.2

Downlading build: 3.0.2 of Tekkit Classic

tekkit-v3.0.2.zip: 100% ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Time: 0:00:00   7.67 MB/s
Download complete! Downloaded to: /home/genpage/TechnicServerCore/serverZips/tekkit/tekkit-v3.0.2.zip

Checks if build exists in the list

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore tekkit --download creeper
Build creeper does not exist for Tekkit Classic

Checks if the modpack is still available

genpage@pagefortress:~/Coding/Repos/ServerCore$ TechnicServerCore yogbox --download
Yogbox has been retired from the Technic Launcher and is no longer available.

Let me know what you think!

If you have any issues with the program, please post them here:

https://github.com/GenPage/ServerCore/issues

Link to comment
Share on other sites

Does this work with the Technic Platform/Solder, or just with the Technic Team packs?

Currently, this only works with Technic Modpacks. However, I do wish to implement this with Platform/Solder. I started this project with that frame in mind. This will require changes to Solder which I have not had time to look into.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...