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.
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.
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
You can shut down the server (and give people a heads up) using the provided script.
./mc-stop.sh
If you need to reach the Minecraft console, you may do so by running the following command.
screen -r minecraft
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.
These are some features I may add eventually.
- Administrative interface (for starting and stopping)
- Add submodules for rendering and log viewers.