
Minecraft server installer (linux)
♾️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
- ■
--debugmode with clean script logging - ■
--uninstallmode (including screen session cleanup) - ■ No Python
- ■ No hardcoded Java
- ■ No broken JSON parsing
Supported Server Types
| Type | Source / Method |
|---|---|
| Vanilla | Mojang version manifest |
| Forge | Official Forge installer (--installServer) |
| Fabric | Fabric Meta API (loader + installer) |
| Spigot | BuildTools (legally compliant) |
| Paper | PaperMC REST API |
| Bungeecord | Official BungeeCord artifact |
Requirements
Operating System
- Debian / Ubuntu
- Root or sudo privileges
Automatically installed:
curljqscreenca-certificatesdefault-jre- additionally depending on type:
- Spigot →
git,default-jdk - Forge →
default-jdkYou do not need to prepare anything manually.
Installation
chmod +x mc-installer.sh
./mc-installer.sh
License
- You can find the license here