in Minecraft

Minecraft Debian AMP

As root


apt-get install lib32gcc1 coreutils screen tmux socat unzip git wget libsqlite3-dev openjdk-8-jre openjdk-8-jdk
/sbin/service iptables save
adduser minecraft - set a strong password
open port 25565 - -A INPUT -p tcp –dport 25565 -j ACCEPT
open port 8080 - -A INPUT -p tcp –dport 8080 -j ACCEPT

As user minecraft

mkdir ~/AMP
cd ~/AMP
rm -i

To install and start

Run this command

./ampinstmgr CreateInstance McMyAdmin MCMA 8080 [LicenceKey] [Password] +Core.Login.Username [Username]

Replace with your ip adress [LicenceKey], [Username] and [Password] with your McMyAdmin licence key, a username, and a password to login with.

To start

./ampinstmgr StartInstance MCMA

Start on boot

As root

crontab -e


@reboot su minecraft -c "cd /home/minecraft/AMP/ && screen -dmS minecraft ./ampinstmgr -s MCMA"

Problem with Login

As user minecraft


./ampinstmgr -ResetLogin MCMA [Username] [Password]

Replace [Username] [Password] with your username and password.