PremiumComes with the add-on reqad-minecraft. Installing add-ons

Minecraft server

The Minecraft add-on installs and runs one Minecraft Java Edition server on the machine: it picks the Java version the server needs, runs it as a service, and gives you its status, a live console, the main settings and an editor for its config files.

Premium add-on. Package reqad-minecraft, see installing an add-on. It adds Minecraft to the menu and a tile on the dashboard.

Install a server

Choose the version (the list comes from Mojang; type a number if it cannot be reached), the memory (JVM heap, 2048 MB by default) and the port (25565), accept the Minecraft End User License Agreement, and press Install server. The install runs in the background, so you can leave the page. It:

  • creates the minecraft system user and /opt/minecraft;
  • downloads the official server jar from Mojang;
  • reads from the jar which Java it needs and installs that OpenJDK if it is missing;
  • creates and starts minecraft.service;
  • opens the port in firewalld when firewalld is running. With csf, add the port to TCP_IN yourself.
Java on EL8. Rocky Linux, AlmaLinux and RHEL 8 offer Java up to 21, which runs Minecraft up to 1.21.x. Newer Minecraft versions need a newer Java: use an EL9 server for them.

Running it

The page shows the status, uptime, players online, memory used, disk and whether it starts with the server, with Start, Stop and Restart. Below is the server log (the last 200 lines of /opt/minecraft/logs/latest.log, refreshed by itself).

The console sends a command to the running server, such as list, op <player>, whitelist add <player> or save-all; the reply appears in the log. A leading / is optional. Commands go to the server's own console, so no RCON port is opened.

Settings and config files

Settings changes the memory and the common entries of server.properties: MOTD, max players, difficulty, game mode, world name, view distance, spawn protection, PvP, online mode, whitelist, hardcore, command blocks, flight and the Nether. Most changes need a restart. A new world name starts a new world; the old one stays on disk.

Config files edits the files at the top of /opt/minecraft (.properties, .json, .yml, .txt, .conf, .cfg, up to 1 MB) once the server has started once. The previous version is kept as <file>.bak.

Removing it

The panel never deletes the server or its world. Removing the add-on leaves /opt/minecraft and the service as they are. To remove the server itself, run /usr/local/reqad/scripts/minecraft/mc-helper.sh uninstall as root, after copying the world somewhere if you want to keep it.


Need a hand? Create a free account or contact us.