@Grelek Minecraft server logs are important though! Previously a similar error which has since been fixed was due to the server already running and the screen session therefore failing to start properly. Those kind of anomalies can be investigated if the server logs are present. Furthermore my very first request was not about the server logs at all and you disregarded that completely.
Pinning down the problem with merely the information which you provided until now is simply impossible as I can not reproduce your error! The systemd service should simply execute the script using the minecraft user as seen here and until now has not caused any problems itself AFAIK. Regarding the script, I can merely tell you that the error originated from somewhere around here.
If you do not want to investigate the problem in a reproducible way yourself (e.g. using a clean chroot), then I am afraid you have to provide more details.
Pinned Comments
edh commented on 2016-06-18 18:24 (UTC) (edited on 2021-10-02 08:19 (UTC) by edh)
To get an overview of the available options provided by the management script, be sure to have a look at the help page or read the according section on the ArchWiki article [1].
You can quit the console without shutting down the server by press ctrl+a d (first ctrl+a and after releasing the buttons press d; ctrl+b also works). This will detach your input from the server console. The attaching and detaching is done with tmux (previously GNU screen) since it lets you view and type into the console, send single commands to it and keep it alive without a connected user. Take a look at the the command overview at the ArchWiki [2] to get a feel for its power. (@carmelo12341)
[1] https://wiki.archlinux.org/title/Minecraft#Setup [2] https://wiki.archlinux.org/title/Tmux