
jar inside tmux and detach from the current session - this will result in the server continuing to run since the terminal session is not closed. The port itself gives two options: STANDALONE or DAEMONĭAEMON pulls in tmux - which is terminal multiplexer. Update the FreeBSD base system if needed. Pre-compiled (binary) packages are not available to due the software license prohibiting distribution. The Minecraft dedicated server software is available from the FreeBSD Ports tree: games/minecraft-server. You can use su or sudo or your preferred method to execute root commands. In the commands below, # means as the root user, $ means as a normal (unprivileged) user.

Minecraft can be pretty resource hungry! Make sure to provide at least a couple of GB's of RAM and a not too low end CPU. This can enable running a Minecraft server on popular devices such as Raspberry Pi's, which are supported by FreeBSD.

These instructions were tested on FreeBSD 13.1-RELEASE amd64 with 2 Virtual CPU's, 2Gb memory, though it should be possible to run a Minecraft server on any platform that supports Java, either natively or via poudriere/qemu.
