Package Details: minecraft-server 1.16.3-1

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: 140
Popularity: 1.04
First Submitted: 2010-11-29 15:52
Last Updated: 2020-10-03 09:47

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). This will detach your input from the server console. The attaching and detaching is done with 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)


Latest Comments

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

GraphZal commented on 2020-10-03 13:17

@edh Thanks for the quick answer! I'm glad that I wasn't just incompetent and could help find that bug. Great work maintaining this package, by the way!

edh commented on 2020-10-03 09:51

@BrokenPhysics Oh, that's bad and unfortunately is due to the new way users are created. I have fixed it in the new release of the package but for servers already featuring a minecraft user, manual intervention is needed: If you happen to encounter the error message This account is currently not available., you will need to update the login shell such that you can interact with the console again by running usermod -s /bin/bash minecraft as root.

GraphZal commented on 2020-10-03 01:29

When I try to connect to the console using minecraftd console, I get a message saying This account is currently not available. Am I missing something obvious or am I doing something wrong?

edh commented on 2020-06-24 07:21

@Wunkolo Luckily there already is an option to pin the minecraft version via the config. The corresponding entry is called MAIN_EXECUTABLE and defaults to minecraft_server.jar. I am not sure whether it makes sense to add a command line option for that. As a last resort one can always use the same option as an environment variable to achieve the same effect but without touching the config.

P.s. I will hopefully be able to update the package to 1.16 today.

Wunkolo commented on 2020-06-23 21:13

@syntheorem thanks!

I made the "minecraft_server.jar" symlink point to a manually downloaded .jar file temporarily while I wait for this package to update to 1.16.

I wish there was a way to point to and supply our own target .jar version with the minecraftd command(something like designating the minecraftd server version to 1.15.2 or 1.16 and such). There might be people that want to stick to 1.15.2 for a while longer but this package forces users to have the latest.

syntheorem commented on 2020-06-23 20:40

Here's a patch for 1.16 that's working for me :)

diff --git a/PKGBUILD b/PKGBUILD
index 00b012e..16d75fb 100644
@@ -3,8 +3,8 @@
 # Contributer: sowieso <>

 pkgdesc="Minecraft server unit files, script, and jar"
@@ -24,7 +24,7 @@ source=("minecraft_server.${pkgver}.jar"::"

edh commented on 2020-01-15 07:05

@DragonX256 That's because I made a mistake :D The other service files from the various other Minecraft servers indeed have Type=oneshot, see this commit.

DragonX256 commented on 2020-01-15 00:39

@edh But you've changed to simple. I don't understand :D

edh commented on 2020-01-14 19:44


Thanks for the bug report! I just read you updated comment after having already pushing a fix. I changed the Type=forking line to Type=oneshot as to more clearly differentiate between a running service serving requests and a thing which is alive for usually just a couple of seconds. Feel free to stick to your solution. It seems just fine too.


Take a look at the BACKUP_FLAG variable in the configuration file ;D

DragonX256 commented on 2020-01-14 14:14

Backup service cuts archives, when tar can't compress world fast enough. Even when I using pigz instead of gzip.

I'm using this service instead of yours:

Description=Minecraft Server World Backup

ExecStart=/usr/bin/minecraftd backup

Type=simple allows backup process to finish compression completely, and with systemctl status minecraftd-backup.service it looks running, until compression is done. Once it finished, service looks stopped correctly. As for [Install] section - there's no need in using it, since service starts by timer.