Skip to content
A systemd service file for one or more vanilla Minecraft servers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
minecraft
.gitignore
.travis.yml
LICENSE
README.md
minecraft.service
setup.py

README.md

This is a systemd init script for one or more Notchian (vanilla) Minecraft servers, with some Wurstmineberg-specific extras.

This is version 4.0.6 (semver) of the init script. The versioned API includes a CLI, as found in the docstring of minecraft/__init__.py, as well as a Python API including all documented functions defined in that file.

Requirements

Configuration

  1. Clone the repository somewhere on your system.
  2. Create a symlink to the minecraft directory in your Python 3 module search path or add the repository to the module search path.
  3. Optionally, create a symlink to minecraft/__init__.py called minecraft in your PATH. This will allow you to use commands like minecraft update.
  4. To immediately start the Minecraft server, systemctl start minecraft. To automatically start the Minecraft server with the system, systemctl enable minecraft.

To make this work for another server, you may have to modify the paths and other things in the config file.

You can’t perform that action at this time.