Minecraft server installer (linux)

Minecraft server installer (linux)

Wiki
Featured
Aktiv
♾️universal

Minecraft Server Auto-Installer

A fully automated Bash script for installing, starting, and managing Minecraft servers on Linux.

Table of Contents

  • Overview
  • Features
  • Supported Server Types
  • Requirements
  • Installation
  • Start & Usage
  • Java Selection & Recommendation
  • Fabric Logic (important)
  • Debug Mode
  • Uninstaller
  • Directory Structure
  • Common Errors & Solutions
  • Production Notes

Overview

This script installs Minecraft servers interactively and always starts them inside a screen seYou choose:

  • Server type
  • Minecraft version
  • RAM & port
  • specific Java version the server should use The script does not modify your system Java, but stores the selected Java binary locally per serv---

Features

  • ■ Server types:
  • Vanilla
  • Forge
  • Fabric
  • Spigot
  • Paper
  • Bungeecord
  • ■ Automatic installation of all requirements (apt)
  • ■ Server always runs inside screen
  • ■ Selection of an installed Java version (update-alternatives)
  • ■ Java recommendation matching the Minecraft version
  • --debug mode with clean script logging
  • --uninstall mode (including screen session cleanup)
  • ■ No Python
  • ■ No hardcoded Java
  • ■ No broken JSON parsing

Supported Server Types

TypeSource / Method
VanillaMojang version manifest
ForgeOfficial Forge installer (--installServer)
FabricFabric Meta API (loader + installer)
SpigotBuildTools (legally compliant)
PaperPaperMC REST API
BungeecordOfficial BungeeCord artifact

Requirements

Operating System

  • Debian / Ubuntu
  • Root or sudo privileges

Automatically installed:

  • curl
  • jq
  • screen
  • ca-certificates
  • default-jre
  • additionally depending on type:
  • Spigot → git, default-jdk
  • Forge → default-jdk You do not need to prepare anything manually.

Installation

chmod +x mc-installer.sh
./mc-installer.sh

License

  • You can find the license here

Releases

1.0 (stable)