Code Monkey home page Code Monkey logo

mcinstaller's Introduction

MCInstaller ๐Ÿ› ๏ธ

A CLI tool (currently only for Linux, but later maybe with Windows support) for easy installation of minecraft servers.

Using ServerJars .NET API.

Currently avaliable server types

  • Vanilla
  • Forge
  • Paper

Installation

1. Install .NET Core;
2. Clone repository:

$ git clone https://github.com/te9c/mcinstaller.git

3. Build:

$ cd mcinstaller
$ dotnet build

4. Run with

$ dotnet run --project MCInstaller.Console -- <arguments>

Or publish binary and run it

$ dotnet publish -o <output folder>
$ cd <output folder>
$ ./mcinstaller <arguments>

Usage

General use:

$ mcinstaller --minecraft-version <version> --type <Vanilla, Forge, Paper> <output folder>

MCInstaller requires at least two arguments to be set: --minecraft-version (-m) and output path (should be empty directory). If --type option not set it defaults to vanilla. The following command installs vanilla 1.12.2 minecraft server in current folder:

$ mcinstaller --minecraft-version 1.12.2 .

Options

Key Short Input Description
None None Empty output folder. Required. Sets output folder
--minecraft-version -m Minecraft version in format major.minor.patch or major.minor. Required. Sets minecraft version to install. Available versions are >=1.7.4.
--type -t Vanilla, Forge or Paper. Sets server type to install.
--java None Path to java. Manually specified path to java. By default, MCInstaller tries to find automatically required java version.
--forced -f None. Overrides restriction on non-empty directories. (By default you can install only in empty directories)
--verbose -v None. Sets verbose message output. Mutually exclusive with --quiet option.
--quiet -q None. Do not print information messages (errors and warns still prints though). Mutually exclusive with --verbose option.
--help None None. Shows help screen.
--version None None. Prints version.

mcinstaller's People

Contributors

te9c avatar

Stargazers

 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.