@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!
Search Criteria
Package Details: minecraft-server 1.21.3-1
Package Actions
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: | 164 |
Popularity: | 0.079457 |
First Submitted: | 2010-11-29 15:52 (UTC) |
Last Updated: | 2024-10-23 19:51 (UTC) |
Dependencies (8)
- awk (gawk-gitAUR, busybox-coreutilsAUR, gawk)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- java-runtime-headless (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdg-headlessAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdk-headlessAUR, amazon-corretto-19-binAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jre-openj9-headlessAUR, jre12-openjdk-headlessAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jre19-openjdk-headlessAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jre17AUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk, jre11-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, jre21-openjdk, jre21-openjdk-headless, jre8-openjdk-headless)
- sed (busybox-coreutilsAUR, sed-gitAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- tmux (tmux-tcl-gitAUR, tmux-xdg-gitAUR, tmux-sixel-gitAUR, tmux-gitAUR)
- netcat (nmap-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat) (optional) – required in order to suspend an idle server
- tar (tar-gitAUR, busybox-coreutilsAUR) (optional) – needed in order to create world backups
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 37 Next › Last »
GraphZal commented on 2020-10-03 13:17 (UTC)
edh commented on 2020-10-03 09:51 (UTC)
@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 (UTC)
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 (UTC)
@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 (UTC)
@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 (UTC)
Here's a patch for 1.16 that's working for me :)
diff --git a/PKGBUILD b/PKGBUILD
index 00b012e..16d75fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributer: sowieso <sowieso@dukun.de>
pkgname=minecraft-server
-pkgver=1.15.2
-_nonce=bb2b6b1aefcd70dfd1892149ac3a215f6c636b07
+pkgver=1.16
+_nonce=a0d03225615ba897619220e256a266cb33a44b6b
pkgrel=1
pkgdesc="Minecraft server unit files, script, and jar"
arch=('any')
@@ -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=('21f5e77a58ac1e357425c99e259d3a688cf825483d391907403c7c9939abcf5b4a8fc73ff8d6277eaa373f376299027d6d7e0d8a5dd59d5791947efa1695490b'
+sha512sums=('c021ee07e472681655faa30dc24fc9384d44269c5960ef5dd0798a45ae2ae04b801153219e0fbd3cb07f604bdffd8940bb8dc89c47859c30ac9fcc28a76def48'
'a10e38c0e9a09c25e23e46147a8b8ce4d88a62ee780c1c0b525b9e41a563c4a4ed8e94d851abc3936bc31f3faa916ef005543129a039f66878b8f2c34853b91d'
'19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418'
'5203f6331f740ecfcea2a2cc653603ae97419baa89e08512f9d8feb63e4a52978442a69b313eccd9037b676a62ab528e2b533c0fb95a9c7177318279fe0cde79'
edh commented on 2020-01-15 07:05 (UTC)
@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 (UTC) (edited on 2020-01-15 00:39 (UTC) by DragonX256)
@edh But you've changed to simple
. I don't understand :D
edh commented on 2020-01-14 19:44 (UTC)
@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 (UTC) (edited on 2020-01-14 14:53 (UTC) by DragonX256)
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.
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