Auto Install Minecraft Bedrock Server on Ubuntu/Debian

Feeling worn out from setting up your Minecraft Bedrock Edition server on Ubuntu or Debian Linux? I get it. That’s why I’ve crafted a nifty script to make your life easier. Let’s break down how this tool can transform setting up your server into a walk in the park.

Key Features

  1. User, Port, and Installation Directory Setup
    • The script initializes variables for the server name, port, user under which the Minecraft server will run, and the directory where the server will be installed. This customization ensures that your server is set up exactly as you need it.
  2. Sudo Privilege Check
    • It checks that the script is being run with sudo privileges to perform the necessary system-level operations, ensuring everything is set up correctly.
  3. Operating System Check
    • The script verifies that it’s running on a supported Ubuntu or Debian Linux system to ensure compatibility and smooth operation.
  4. Existing Installation Check
    • Before proceeding, it checks for any existing Minecraft server installation to prevent accidental overwrites, safeguarding your previous setup.
  5. Dependency Installation
    • The script updates package lists and installs required dependencies such as wget, unzip, and supervisor, ensuring that all necessary tools are available.
  6. Minecraft Server Download and Setup
    • It retrieves the latest Minecraft Bedrock Edition server from the official website, downloads it, extracts it to the installation directory, and sets up the necessary permissions for a seamless setup.
  7. Supervisor Configuration
    • Configures Supervisor to monitor and control the Minecraft server process, making sure it runs as a background service for continuous operation.
  8. Firewall Configuration
    • Checks if iptables is installed and ensures that UDP ports specified in the variables are open to allow Minecraft server traffic, ensuring smooth connectivity.
  9. Final Checks and Confirmation
    • The script verifies that the Minecraft server is successfully running and listening on the designated UDP port, providing feedback about the installation status.

Customization Required

Get Started

To simplify your Bedrock server setup, visit my GitHub repository for the Bedrock Server Install Script. Follow the provided instructions to get your server up and running effortlessly.

Explore the Bedrock Install Script on GitHub

For ongoing server maintenance, don’t forget to check out my Bedrock Server Update Script. Together, these tools provide a comprehensive solution for managing your Minecraft Bedrock server with ease.

With these scripts, setting up and maintaining your Bedrock server becomes a breeze. Enjoy a hassle-free experience and spend more time enjoying your game!