Package Details: minecraft-server 1.15.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: 135
Popularity: 1.05
First Submitted: 2010-11-29 15:52
Last Updated: 2020-01-23 11:09

Dependencies (8)

Required by (0)

Sources (6)

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)

[1] https://wiki.archlinux.org/index.php/Minecraft#Setup
[2] https://wiki.archlinux.org/index.php/GNU_Screen#Common_Commands

Latest Comments

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

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

@DragonX256

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.

@Wunkolo

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:

[Unit]
Description=Minecraft Server World Backup
After=local-fs.target

[Service]
Type=simple
ExecStart=/usr/bin/minecraftd backup
User=minecraft
Group=minecraft

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.

edh commented on 2019-12-19 18:09

@Wunkolo Thanks for the request! That sounds like a decent suggestion. I will add such an option with the next Minecraft release.

Wunkolo commented on 2019-12-19 03:56

Just a request: but when making the automated tar backups can there perhaps be an option to provide our own tar options? In particular. I want to be able to make the minecraft backups using zstd as opposed to the default tar options which are proving to be quite slow during the "Remove leading" step.

edh commented on 2019-07-21 16:32

@jpefxguy The server is already running as the unprivileged minecraft user! As far as I know, /usr/lib/systemd/user/ serves a different purpose and is merely used for user-services of users who can actually log into a system.

jpegxguy commented on 2019-07-21 13:23

AFAIK the server doesn't need to run as root. I suggest moving the service files to /usr/lib/systemd/user/ instead.

kylef commented on 2019-07-19 20:36

diff --git a/PKGBUILD b/PKGBUILD
index 45dc259..7371667 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
 # Contributer: sowieso <sowieso@dukun.de>

 pkgname=minecraft-server
-pkgver=1.14.3
-_nonce=d0d0fe2b1dc6ab4c65554cb734270872b72dadd6
-pkgrel=2
+pkgver=1.14.4
+_nonce=3dc3d84a581f14691199cf6831b71ed1296a9fdf
+pkgrel=1
 pkgdesc="Minecraft server unit files, script, and jar"
 arch=('any')
 url="https://minecraft.net/"
@@ -24,7 +24,7 @@ source=("minecraft_server.${pkgver}.jar"::"https://launcher.mojang.com/v1/object
        "minecraftd.conf"
        "minecraftd.sh")
 noextract=("minecraft_server.${pkgver}.jar")
-sha512sums=('67235f0bf6e47b3cc31b045ec5151bbb0b6695d351ce975bfabb3d99cac6f93671a075827bc221f550ef59f21c2901de9c7bac93e8de0ab780208c983a5c606a'
+sha512sums=('b3d2852c6fa1b996bbf2fa9fc1fb860c6bca5136bcc5ddd3d236d85789c6bce81620f6b2d69eaa10c41d020fe0bb54de2fa601b3df3093af2691853a4445e1f8'
             'c8f96bafb0ba3fd8946ac791b09e75cae54dc1a8e02822f91ca70a77a8ba45b253a83c4db30f9cfbf0658a2608b38e6de3d00f1d832ef676f329a78e69eab3e7'
             '19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418'
             '5203f6331f740ecfcea2a2cc653603ae97419baa89e08512f9d8feb63e4a52978442a69b313eccd9037b676a62ab528e2b533c0fb95a9c7177318279fe0cde79'

edh commented on 2019-06-24 18:55

@Ketchup901 I am pretty sure that I build the package in a clean environment before pushing. Can you please make sure that you have no remnant, like e.g. the previously download 1.14.3 jar file, in your folder.