Skip to content

Erde321/Minecraft-Server-on-Raspberry-Pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Server on Raspberry Pi

This guide will walk you through setting up a Minecraft server on your Raspberry Pi using Ngrok for port forwarding and CallMeBot to receive the server hostname on WhatsApp.

Required Software

To get started, make sure you have the following software installed:

  • Java Development Kit (JDK):
    sudo apt install default-jdk
  • Jq:
    sudo apt install jq
  • Ngrok:
    curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok

Setup Minecraft Server

  1. Download the Minecraft server JAR file from Minecraft's official website with wget.
    wget "Download Link to Server.jar"
  2. Place the downloaded minecraft_server.jar file in the same directory as the Makefile.
  3. Start the Minecraft server with the following command:
    java -Xmx1024M -Xms1024M -jar server.jar nogui
  4. Open the eula.txt file generated in the server directory and change eula=false to eula=true.

Configure CallMeBot

  1. Obtain your phone number and API key from CallMeBot's website.
  2. Edit the sendtext.py file and insert your phone number and API key.
  3. 'callmebot.py' from https://github.com/stonatm/CallMeBot-Whatsapp-Signal needs to be in the directory 'callmebot'

Starting and Stopping the Server

To start the Minecraft server, run:

make start

To stop the Minecraft server, run:

make stop

That's it! Your Minecraft server should now be up and running on your Raspberry Pi. If you have any questions or issues, feel free to reach out for assistance. Enjoy your gaming!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published