惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
A
About on SuperTechFans
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
罗磊的独立博客
J
Java Code Geeks
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Jina AI
Jina AI
F
Fortinet All Blogs
H
Help Net Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Last Week in AI
Last Week in AI
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
C
Check Point Blog
GbyAI
GbyAI

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - minecraft-server
2026-06-17 · via AUR Newest Packages

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

DragonX256 commented on 2026-03-29 09:33 (UTC)

Dozyjones commented on 2026-03-29 09:24 (UTC)

Is there any particular reason the major version was just bumped by... 25? Forgot a '1.'?

kragacles commented on 2025-07-02 15:37 (UTC) (edited on 2025-07-02 15:39 (UTC) by kragacles)

Looks like 1.21.7 is out. I had flagged the package with a PKGBUILD patch that got it running but it seems to be unstable. Crashes out after some time.

Pasting my patch that got it running for anyone else that wants to test it:

diff --git a/PKGBUILD b/PKGBUILD
index 2b2993f..2b70a94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
 # Contributer: sowieso <sowieso@dukun.de>

 pkgname=minecraft-server
-pkgver=1.21.6
-_nonce=6e64dcabba3c01a7271b4fa6bd898483b794c59b
+pkgver=1.21.7
+_nonce=05e4b48fbc01f0385adb74bcff9751d34552486c
 pkgrel=1
 _mng_ver=1.0.4
 pkgdesc="Minecraft server unit files, script, and jar"
@@ -21,7 +21,7 @@ install="${pkgname}.install"
 source=("minecraft_server.${pkgver}n${_nonce:0:8}.jar"::"https://launcher.mojang.com/v1/objects/${_nonce}/server.jar"
        "minecraft-server-${_mng_ver}.tar.gz"::"https://github.com/Edenhofer/minecraft-server/archive/refs/tags/v${_mng_ver}.tar.gz")
 noextract=("minecraft_server.${pkgver}.jar")
-sha512sums=('ec3a239c91627b156a12944744c67acdd962346fee88922d5fcfde6a9440d62cb4f32121b32b541a15186ae60a050c42550fcb54e4bb285cc0b81a4bc4f3d97f'
+sha512sums=('6aa0cee9def31a60952c39bf59ccb2cab953436d92f927a4919138f2c9e14de6efe7dd80b7a2bc9c820cd9e77ee2a4845c7047b7d347e93cf512fc8c2ece7bf1'
             'dd4d68ca061c97a1e3cb5c0bb68439f7d8d45b15092344f3c4dbd4f7f39fef433d566670ad440970061007d93055183b570c7bf98f09c111ecdf8ab0f208f556')

 _game="minecraft"

Alko89 commented on 2024-06-05 11:11 (UTC)

Yes, I was running java 8 still :) thanks

edh commented on 2024-06-05 11:00 (UTC)

@Alko89 You need to update your Java runtime. You apparently have an outdated Java version configured.

Alko89 commented on 2024-06-05 10:48 (UTC)

Tried to start my own minecraft server after a while again, but I'm getting

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 52.0

edh commented on 2023-12-09 20:02 (UTC)

@Trevelian

Thanks for the quick fix! I accidentally broke it when hardening the script :|

Trevelian commented on 2023-12-09 16:13 (UTC)

Hello,

I dont know why but since I update my system and minecraft-server today, it seems that "minecraftd idle_server_daemon" is not running the command to list the user and so stop the server after the "IDLE_IF_TIME" even if player are online. I will try to find out why ;-)

edh commented on 2022-02-19 22:01 (UTC) (edited on 2022-02-19 22:07 (UTC) by edh)

@bronze Regarding the JDK issue, I feel uncomfortable removing the version requirement. I think the best approach would be to add versions to the provides of the jdk package such that the version criteria are fulfilled for this package. What do you think?

Concerning the Minecraft server management script, yes it indeed has been moved to its own repository. However, all the configuration is done during "build" time. To be specific, make configures everything. See the corresponding Makefile. Because it currently needs to be adapted to a specific server at build time, it does not make sense to package it on its own in a separate package. The script really is just a small management script and IMHO it is not worth making some kind of pluggable library out of it that could be depended on. If you have an idea of how to provide a sensible management script package, I am happy to create and maintain it.

EDIT: In case you just want a dirty hack to not install the server but everything else, simply set /srv/minecraft to be ignored during installation by pacman, see https://wiki.archlinux.org/title/Pacman#Skip_files_from_being_installed_to_system .

bronze commented on 2022-02-19 20:48 (UTC) (edited on 2022-02-19 20:50 (UTC) by bronze)

I have JDK8 installed but this PKGBUILD still needs java-17-openjdk. I only need the script (and the minecraft user, etc. But not any of the servers). I see the management script has been moved to a dedicated repo. Is the management scrip in the AUR somewhere?