faresno / linux-minecraft-scripts

Scripts to aid in the hosting of Minecraft servers on a Linux enviornment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux Minecraft Scripts


‼️ Notice: I've stopped actively working on these scripts and began developing a Rakefile based system instead. ‼️


Scripts to aid in the hosting of vanilla* Minecraft servers on a Linux enviornment.

Feel free to clone this repository into your server enviornment to add some much needed funciionality.

Setting up Enviornment

In order to use these scripts, you'll just have to clone the repository. Make sure you have git, screen, and java installed.

git clone https://github.com/cranstonide/linux-minecraft-scripts

Don't forget to edit the mc-config.cfg to meet your setup. The scripts won't work correctly if you don't customize the config file first.

Starting the Server

Most of the scripts in this repo require Minecraft to run inside a GNU screen. This can be done using the mc-start.sh script as follows:

./mc-start.sh

Stopping the Server

You can shut down the server (and give people a heads up) using the provided script.

./mc-stop.sh

Accessing the Console

If you need to reach the Minecraft console, you may do so by running the following command.

screen -r minecraft

Notes

These scripts are to help manage a Minecraft server running on Linux. They are bash scripts; so they won't run on your Windows installation without some major refactoring. The installation also heavily relies on a working installation of GNU Screen.

These scripts have not been tested with any third party servers. They may work, but your milage may vary.

TODO

These are some features I may add eventually.

  • Administrative interface (for starting and stopping)
  • Add submodules for rendering and log viewers.

About

Scripts to aid in the hosting of Minecraft servers on a Linux enviornment


Languages

Language:Shell 100.0%