Minecraft-Server

Linux Setup Instructions

📋 Prerequisites

Install dependencies:

sudo apt update && sudo apt install -y openjdk-21-jre-headless screen curl unzip jq

🚀 Setup Instructions

  1. Clone this repository:
    git clone https://github.com/entity12208/Fabric-Server.git
    cd Fabric-Server
    
  2. Run the setup script and follow the prompts:
    chmod +x setup-server.sh
    ./setup-server.sh
    

    The script will guide you to select Fabric, Forge, or PaperMC, and set up everything automatically.


▶️ Starting the Server

Run:

./start-server.sh

This will auto-detect your server type and start the correct jar.


🔄 Updating Mods/Plugins

To update mods or plugins:

./update-mods.sh

Edits may be needed in the script to add custom mods/plugins.


🗄️ Backups


🔒 Whitelist Management

  1. Add player usernames and UUIDs to whitelist.json. Find UUIDs at MinecraftUUID.com.
  2. For a public server, set white-list=false in server.properties.