Package Details: minecraft-server 1.20.6-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: 163
Popularity: 1.39
First Submitted: 2010-11-29 15:52 (UTC)
Last Updated: 2024-04-30 09:10 (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 2 3 4 5 6 7 .. 37 Next › Last »

edh commented on 2021-10-18 16:00 (UTC)

@DragonX256 hmm I changed the login shell about a year ago to /bin/bash in the corresponding .sysusers file. The commit is from 3 October 2020 11:48 UTC+2 to be precise. However, I have to admit I forgot why I made this change.

You may safely edit /etc/passwd and adapt the shell. The sysusers entry should already be correct.

DragonX256 commented on 2021-10-18 15:51 (UTC)

Well okay, I had to delete package and minecraft user and reinstall package again to let systemd correctly create user with proper uid and gid. Issue is resolved to me...

DragonX256 commented on 2021-10-18 15:42 (UTC) (edited on 2021-10-18 15:43 (UTC) by DragonX256)

Okay, it's definitely odd why minecraft user gets nologin shell on my installation. I'll will look into that deeply... Maybe I just need to delete user.

DragonX256 commented on 2021-10-18 15:33 (UTC)

@edh I changed minecraft user shell from /usr/bin/nologin to /bin/bash and it started working...

edh commented on 2021-10-18 14:21 (UTC)

@DragonX256 Please try to produce a minimal example e.g. in a clean container.

First of all please verify that the minecraft server starts if you execute the necessary java commands from within a shell as the minecraft user. Second, please validate that your tmux setup is working, i.e. that you can spawn a session as the minecraft user. If both work then the management script should also work.

DragonX256 commented on 2021-10-18 14:14 (UTC)

@rvolvrwest It never comes to starting the server. Some kind of problem with tmux. I use it often, but this problem occurs even if tmux not running.

rvolvrwest commented on 2021-10-18 14:08 (UTC)

DragonX265 does the Minecraft log give you any idea why?

DragonX256 commented on 2021-10-18 14:03 (UTC)

Cannot start server:

dx37@raspi4 ~ % minecraftd start
Starting server...no server running on /tmp/tmux-973/minecraft

edh commented on 2021-10-03 18:38 (UTC)

@InFerNo

The list displayed in the AUR seems to not take version requirements into account. pacman will of course check for version requirements upon installation though.