The Minecraft Vanilla (Java) server runs under the user minecraft and the service name is minecraft-server . You can start the server with sudo systemctl start minecraft.service, check its status with sudo systemctl status minecraft.service or stop it with sudo systemctl stop minecraft.service.

If you need to change the Max and Min RAM values for the Minecraft server, you can do this by editing the Minecraft service file with nano /etc/systemd/system/minecraft.service and change the -Xmx... value for Max RAM or the -Xms... value for Min RAM. Then save the file and run sudo systemctl daemon-reload and sudo systemctl restart minecraft.service.

Cette réponse était-elle pertinente? 0 Utilisateurs l'ont trouvée utile (0 Votes)