Code Monkey home page Code Monkey logo

server-installer's Introduction

Minecraft Server Installer License Build Status Downloads

If this project is useful, please give a star :)

Releases Page

Introduction

This is a minecraft server online installer

You can use this cli to easily install minecraft server.
We also support some types of servers and modpacks

Server Type Support
Vanilla true
Fabric true
Forge true
Quilt true
Spigot true
PaperMC TODO
ArcLight TODO
Modpack Type Support
Modrinth true
Curseforge plan/no

Warn: For spigot server, you must install suitable openjdk (not only jre) and git.
See https://www.spigotmc.org/wiki/buildtools/#prerequisites

Flags

Flags:
  -h, -help
        Show this help page
  -name string
        the executable name, without suffix such as '.sh' or '.jar' (default "minecraft")
  -output string
        the path need to be installed (default ".")
  -version string
        the version of the server need to be installed, default is the latest (default "latest")
Args:
  <server_type> string
        type of the server [fabric forge quilt spigot vanilla] (default "vanilla" )
  <modpack_file> filepath | URL
        the modpack's local path or an URL. If it's an URL, installer will download the modpack first

Examples

Install pure servers

# Install minecraft 1.7.10 vanilla server into minecraft.jar
minecraft_installer -name minecraft -version 1.7.10
# Install minecraft 1.19.2 forge server into current directory and the executable is minecraft_server.sh or minecraft_server.bat for windows
minecraft_installer -name minecraft_server -version 1.19.2 -server forge
# Hint: forge installer will make run scripts for the minecraft version that higher or equal than 1.17
#       for version that less than 1.17, you still need to use 'java -jar' to run the server

# Install minecraft 1.16.5 forge server into minecraft_server.jar
minecraft_installer -name minecraft_server -version 1.16.5 -server forge
# Install minecraft 1.19.2 fabric server into server/minecraft_server.jar
minecraft_installer -name minecraft_server -version 1.19.2 -server fabric -path server

Install modpacks

# Install the modpack from local to the current directory
minecraft_installer -name modpack_server modpack /path/to/modrinth-modpack.mrpack
# Hint: Only support modrinth modpack for now, curseforge is in progress
# Install the modpack from internet to the current directory
minecraft_installer -name modpack_server modpack 'https://cdn-raw.modrinth.com/data/sl6XzkCP/versions/i4agaPF2/Automation%20v3.3.mrpack'
# Hint: if you want to install modpack from the internet,
#       you must add the prefixs [https://, http://]

List server avaliable versions

minecraft_installer versions
minecraft_installer -version snapshot versions

TODO

  • PaperMC
  • Search modpacks from modrinth
  • Configurable proxy

server-installer's People

Contributors

zyxkad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.