install minecraft server ubuntu 20.04
sudo apt update
sudo apt install openjdk-8-jre-headless
sudo apt install screen
sudo ufw allow 25565
#Downloading the Latest Version of Minecraft
wget https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar
mv server.jar minecraft_server_1.15.2.jar
screen
java -Xms1024M -Xmx1024M -jar minecraft_server_1.15.2.jar nogui
nano eula.txt
nano server.properties
java -Xms1024M -Xmx4G -jar minecraft_server_1.15.2.jar nogui