Giter VIP home page Giter VIP logo

pi-mcserver's Introduction

Raspberry PI 3 Minecraft Server setup script

A simple script that sets up a Raspberry PI 3 for Minecraft server hosting

Running script

Un-attended

curl -s https://raw.githubusercontent.com/Phil-Venter/pi-mcserver/main/install.sh | bash

Default Settings

  • Server Purpur
  • Minecraft Version 1.19.2
  • Server install location /home/pi/mcserver
  • Initial RAM to be used by Java 1GB
  • Max RAM to be used by Java 1GB
  • Linux Page swap size 2GB

Attended

If you do not like any of the defaults, this is probably the route to go

curl -s https://raw.githubusercontent.com/Phil-Venter/pi-mcserver/main/install.sh
chmod a+x install.sh
nano install.sh

Update the defaults you do not like

  • MINECRAFT_VERSION: Minecraft version to install
  • SERVER_LOCATION: where the server will be installed
  • SERVER_JAR_URL: URL of the Minecraft Server JAR file (If not using Purpur, ensure the correct URL that matches the version is here)
  • JAVA_AVG_RAM: Java -Xms property, Starting RAM (in MB) allocated to Java.
  • JAVA_MAX_RAM: Java -Xmx property, Maximum RAM (in MB) allocated to Java.
  • SWAP_SIZE: Linux page SWAP size (in MB), default PI installaction allocates 100MB
./install.sh

pi-mcserver's People

Contributors

phil-venter avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.