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.26
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 .. 14 15 16 17 18 19 20 21 22 23 24 .. 37 Next › Last »

ainola commented on 2015-01-11 15:01 (UTC)

A note on something I noticed: Minecraft as of 1.8 (IIRC) splits up the world/ folder to a bukkit-like structure instead of the cryptic world/DIM1/ and world/DIM-1/ folders, the Nether and The End are now saved in world_nether/ and world_the_end/ alongside world/, not inside it. The mc_backup() function only backs up world/ which now omits the two dimensions!

Chais commented on 2015-01-11 14:18 (UTC)

Thanks for the flowers but I only adopted the package. I made some improvements here and there but mostly kept it up to date. The previous maintainers all did their part, too.

ainola commented on 2015-01-11 14:13 (UTC)

Hi, Chais - wanted to let you know that this is a really well-done package. I've adapted many of the ideas/files for my Debian Jessie server - good job on making such an effective package!

Chais commented on 2014-11-30 14:09 (UTC)

@niehmann: The solution is right there. Somehow you changed the access rights of /srv/minecraft/logs so that your minecraft user may not access the directory. By default that dir has 755 and every file below it has 644. All owned by minecraft:minecraft by default. user and group may need to be changed if you deviated from the default.

nlehmann commented on 2014-11-28 21:34 (UTC)

When I run systemctl start minecraftd the proccess start but it terminated after a few seconds. When I tried to run the minecraft server directly from the console, not screen, as user minecraft it throws the following exception Cannot access RandomAccessFile {}) java.io.FileNotFoundException: logs/latest.log (Permission denied)

Chais commented on 2014-11-27 14:52 (UTC)

Fixed. That's not actually new to this version, though. Guess nobody actually puts quotes in their world names. Well spotted, though. Thanks.

sylverpyro commented on 2014-11-27 14:32 (UTC)

There appears to be a bug in the minecraftctl script in this package. Worlds that have space characters " " in their names are not handled correctly by the mc_backup() function inside mincraftctl due to a set of missing \" characters: "tar -h -C \"$_SRVDIR\" -cf \"$BACKUP_FILE\" $WORLD" Should be: "tar -h -C \"$_SRVDIR\" -cf \"$BACKUP_FILE\" \"$WORLD\"" The same problem exists in the tar command for the "service" backup as well: "tar -h -C \"$_SRVDIR\" -rf \"$BACKUP_FILE\" $SERVICE" Should be: "tar -h -C \"$_SRVDIR\" -rf \"$BACKUP_FILE\" \"$SERVICE\""

Chais commented on 2014-10-22 20:00 (UTC)

Nice catch. I've also finally come around to put the PKGBUILD and all source files except for the minecraft_server.jar on github. https://github.com/Chais/minecraft-server-pkgbuild

Hellrespawn commented on 2014-10-22 19:44 (UTC)

In conf.minecraft, you can change $MCUSER, but minecraftd has "su minecraft" hardcoded.

namru commented on 2014-09-12 20:28 (UTC)

hi Chais, sry but now i can't reproduce the error. after remove of jre7-openjdk minecraft are startable again. i don't know why i will try to reboot the server within the next days if there are no active users :) and try again. sry and thanks for your time