Package Details: minecraft-server 26.2-1

Git Clone URL: https://aur.archlinux.org/minecraft-server.git (read-only, click to copy)
Package Base: minecraft-server
Description: Minecraft server unit files, script, and jar
Upstream URL: https://minecraft.net/
Keywords: bash minecraft official script server
Licenses: custom
Conflicts: minecraft-canary, minecraft-server-systemd
Submitter: sorcix
Maintainer: edh
Last Packager: edh
Votes: 171
Popularity: 0.27
First Submitted: 2010-11-29 15:52 (UTC)
Last Updated: 2026-06-17 02:20 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

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

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 37 Next › Last »

sowieso commented on 2016-03-29 13:20 (UTC)

How about not to print the countdown on shutdown when nobody is connected? This cool feature gets annoying when you have to restart several times. The code to check for an empty server is already in the idle_server_daemon() function, so it is not difficult to implement.

edh commented on 2016-03-20 19:13 (UTC)

@lesebas What is your understanding of the "saved old server directory"? On an update mereley a new minecraft_server.${pkgver}.jar is added and the link pointing to that .jar gets changed. All other files, e.g. logs world-files etc., stay the same. To me it seams like you messed up your server pretty badly: First of all the minecraft_server.${pkgver}.jar is missing a dot in its name right in front of the version. Additionally the server logs by default everything to the logs directory. Without further configuration it should always be created if it was not present. I have tried multiple times and mimiced your state of files on my machine, however I can still not reproduce your result. Try to start the server manually with java -jar and no further arguments and see what happens. Furthermore you should make sure that the installation of this package succeeded without errors and if not fix those problems first.

lesebas commented on 2016-03-20 18:27 (UTC)

@edh Unfortunately in the saved old server directory the latest.log is empty. In the new directory, there is no sub-folder and only 3 files : - minecraft_server1.9.jar - minecraft_server.jar - server.properties (empty file)

edh commented on 2016-03-18 23:15 (UTC) (edited on 2016-03-20 13:54 (UTC) by edh)

@TheNiceGuy I already committed a fix for this but unfortunately am unable to push it at the moment. I will update it ASAP. Sorry for the delay. EDIT: done.

gpol commented on 2016-03-18 23:11 (UTC)

Hi, you might want to change "MAIN_JAR" in /etc/conf.d/minecraft.conf to "MAIN_EXECUTABLE" (since /usr/bin/minecraftd request that variable).

edh commented on 2016-03-12 21:51 (UTC)

@lesebas Sorry but I can't reproduce your problem. Neither an update nor a clean install does result in such behaviour on my machine. The 'ERROR' is printed if the server was not shutdown within 3 seconds. However the stop command has been sent to the server and was received at this point. If the server is properly working it should still go down. To further investigate your problem it would be best to take a look at the log. If you share the file /srv/minecraft/logs/latest.log, e.g. post it to pastebin, I will gladly take a look.

lesebas commented on 2016-03-12 18:40 (UTC)

Since I updated to 1.9 I can't make it run at all. I'v try to reinstall all the server. I can run ''minecraftd start'' but it does not create any EULA.txt. the status is OK but I can't stop the server ('ERROR'). Even if the status is ''running'' I can't connected to the server.

edh commented on 2016-03-05 11:46 (UTC)

With the very recent commit I am confident that the server should work as expected. I will further test it and update it if necessary.

edh commented on 2016-03-05 09:52 (UTC) (edited on 2016-03-11 08:22 (UTC) by edh)

Many many thanks guys for the bug reporting, I appreciate that! I am sorry for the poorly tested installation files I released. I rushed to push the changes with the minecraft 1.9 release which probably was not a good idea since unfortunately I did not had access to a host where I can test the package. I am now testing the server and will probably release bugfixes and updates pretty soon. Until then please consider the idle_server experimental!!!