Minecraft

From Bitpost wiki
Revision as of 02:09, 15 March 2021 by M (talk | contribs) (→‎port forward)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Server on Ubuntu 20.04

sudo apt install openjdk-8-jre-headless screen
# get server jar from https://www.minecraft.net/en-us/download/server/
# replace the url and version, below:
wget https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar
mv server.jar minecraft_server_1.16.5.jar
# create screen script, see start_minecraft_server.sh
# TODO set up a systemd service ala rtorrent (on same machine)

port forward

https://gist.github.com/cmer/e58e90dbf820a850ff4f136f85697be0

https://www.journaldev.com/34113/opening-a-port-on-linux