Package Details: minecraft-server 1.17.1-3

Git Clone URL: (read-only, click to copy)
Package Base: minecraft-server
Description: Minecraft server unit files, script, and jar
Upstream URL:
Keywords: bash minecraft official script server
Licenses: custom
Conflicts: minecraft-canary, minecraft-server-systemd
Submitter: sorcix
Maintainer: edh
Last Packager: edh
Votes: 148
Popularity: 0.80
First Submitted: 2010-11-29 15:52
Last Updated: 2021-10-20 20:36

Dependencies (8)

Required by (0)

Sources (8)

Pinned Comments

edh commented on 2016-06-18 18:24

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] [2]

Latest Comments

1 2 3 4 5 6 ... Next › Last »

edh commented on 2021-10-18 16:00

@DragonX256 hmm I changed the login shell about a year ago to /bin/bash in the corresponding .sysusers file. The commit is from 3 October 2020 11:48 UTC+2 to be precise. However, I have to admit I forgot why I made this change.

You may safely edit /etc/passwd and adapt the shell. The sysusers entry should already be correct.

DragonX256 commented on 2021-10-18 15:51

Well okay, I had to delete package and minecraft user and reinstall package again to let systemd correctly create user with proper uid and gid. Issue is resolved to me...

DragonX256 commented on 2021-10-18 15:42

Okay, it's definitely odd why minecraft user gets nologin shell on my installation. I'll will look into that deeply... Maybe I just need to delete user.

DragonX256 commented on 2021-10-18 15:33

@edh I changed minecraft user shell from /usr/bin/nologin to /bin/bash and it started working...

edh commented on 2021-10-18 14:21

@DragonX256 Please try to produce a minimal example e.g. in a clean container.

First of all please verify that the minecraft server starts if you execute the necessary java commands from within a shell as the minecraft user. Second, please validate that your tmux setup is working, i.e. that you can spawn a session as the minecraft user. If both work then the management script should also work.

DragonX256 commented on 2021-10-18 14:14

@rvolvrwest It never comes to starting the server. Some kind of problem with tmux. I use it often, but this problem occurs even if tmux not running.

rvolvrwest commented on 2021-10-18 14:08

DragonX265 does the Minecraft log give you any idea why?

DragonX256 commented on 2021-10-18 14:03

Cannot start server:

dx37@raspi4 ~ % minecraftd start
Starting server running on /tmp/tmux-973/minecraft

edh commented on 2021-10-03 18:38


The list displayed in the AUR seems to not take version requirements into account. pacman will of course check for version requirements upon installation though.

InFerNo commented on 2021-10-03 18:33

Hi, @edh, yes starting the server manually led me to the error, but that issue is resolved.

I think I am misunderstanding the dependencies on this package because java-runtime-headless>=16 has a list of possible packages to satisfy the dependency. However jre8-openjdk-headless is listed but does not work with the latest version of Minecraft (which is what I was using). I don't know how the large list with possible dependency candidates above is composed, perhaps this is out of your control.