A Chef cookbook for setting up and installing Minecraft.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
templates/default
README.md
metadata.rb

README.md

Description

Installs the Minecraft server.

Requirements

  • Java

Usage

This cookbook will download and install the latest minecraft server into /var/minecraft/. It will also create a user named minecraft and configure the server for you.

Databags

Create the minecraft databag with know:

knife data bag create minecraft

It utilizes the following data bags to maintain its user restriction lists:

minecraft/banned-ips

{
    "id": "banned-ips",
    "ips": [
        "127.0.0.1",
        ...
    ]
}

minecraft/banned-players

{
    "id": "banned-players",
    "users": [
        "bad-behavior-guy",
        ...
    ]
}

minecraft/ops

{
    "id": "ops",
    "users": [
        "good-guy-greg",
        ...
    ]
}

minecraft/white-list

{
    "id": "white-list",
    "users": [
       "graham",
        ...
    ]
}