Minecarft Server Install on Debian
From KlavoWiki
Refer to MinecraftServerControlScript for more specific information.
Prerequisites
sudo apt-get -y install make vim git default-jre perl python wget rdiff-backup socat
Overviewer Installation
sudo vi /etc/apt/sources.list
Add the following line
deb http://overviewer.org/debian ./
sudo wget -O - http://overviewer.org/debian/overviewer.gpg.asc | sudo apt-key add - sudo apt-get update sudo apt-get -y install minecraft-overviewer
Minecarft Server Script Install
cd /usr/src sudo git clone https://github.com/sandain/MinecraftServerControlScript.git cd MinecraftServerControlScript sudo make sudo make install
NOTE: As of 2015-09-05 when I tried to install the current branch mscs keep failing with missing files. Cloning a previous branch fixed this problem.
sudo git clone -b version-15.08 https://github.com/sandain/MinecraftServerControlScript.git
World Locations
cd /opt/mscs/worlds
Commands
sudo mscs start sudo mscs stop sudo mscs add myworld 25565 sudo mscs add mysecond 25566 sudo mscs delete mysecond sudo mscs backup world sudo mscs list-backups world sudo mscs restore-backup world 2015-08-21T20:19:06+10:00 sudo mscs console world