Skip to content

Instantly share code, notes, and snippets.

@hexparrot
hexparrot / mineos_monitor
Created June 17, 2014 22:22
Minecraft Server Status Monitor
#!/usr/bin/env python2.7
"""A python script to manage minecraft servers
Designed for use with MineOS: http://minecraft.codeemo.com
Will start servers based on the [onreboot][start] value in server.config
"""
__author__ = "William Dizon"
__license__ = "GNU GPL v3.0"
__version__ = "0.6.0"
__email__ = "wdchromium@gmail.com"
@hexparrot
hexparrot / install_mineos
Last active August 29, 2015 13:58 — forked from hexparrot/install_mineos
Downloads, installs and configures components required for the MineOS Web User Interface on pacman based systems.
#!/bin/sh
# download the necessary prerequisite components for mineos
pacman -S --noconfirm screen wget git rsync rdiff-backup python2-pip jre7-openjdk
pip2 install cherrypy==3.2.3
# download the most recent mineos web-ui files from github
mkdir -p /usr/games
cd /usr/games
git clone git://github.com/hexparrot/mineos minecraft
@hexparrot
hexparrot / install_mineos
Last active September 8, 2018 05:04 — forked from hexparrot/install_mineos
Downloads, installs and configures components required for the MineOS Web User Interface on yum based systems.
#!/bin/sh
# download the necessary prerequisite components for mineos
yum -y install screen git wget java-1.7.0-openjdk.x86_64 openssl openssl-devel
yum -y groupinstall "Development tools"
# download rdiff-backup rpm
mkdir -p ~/mineos-setup
cd ~/mineos-setup
wget http://pkgs.repoforge.org/rdiff-backup/rdiff-backup-1.2.8-4.el6.rf.x86_64.rpm
@hexparrot
hexparrot / install_mineos
Last active March 17, 2020 22:03
Downloads, installs and configures components required for the MineOS Web User Interface on apt-get based systems.
#!/bin/sh
# update repositories
apt-get update
# download the necessary prerequisite components for mineos
apt-get -y install screen python-pip rdiff-backup git openjdk-7-jre-headless
pip2 install cherrypy==3.2.3
# download the most recent mineos web-ui files from github