- update and upgrade,
- install Java, git, screen
- creates setup, start and systemd scripts
- sets up 2GB swap file and makes swappiness 60
- download and run Spigot BuildTools
tested on ubuntu Ubuntu 18.04.3 (LTS) on DigitalOcean
tail -f /var/log/cloud-init.log
tail -f /var/log/cloud-init-output.log
systemctl start minecraft-server
sudo -Hu minecraft nano /home/minecraft/server1/server.properties
sudo -u minecraft screen -r
thanks Adam!!!!!! 💞💞💓