Package Details: minecraft-server 1.21.3-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: 164
Popularity: 0.066142
First Submitted: 2010-11-29 15:52 (UTC)
Last Updated: 2024-10-23 19:51 (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 .. 20 21 22 23 24 25 26 27 28 29 30 .. 37 Next › Last »

pepijndevos commented on 2013-03-14 12:15 (UTC)

There was a minecraft-server-systemd, have these been merged? As the other one is gone.

SirPenguins commented on 2013-02-26 22:00 (UTC)

@iscrow -- I will add the patch in a few @C5OK5Y -- No other init systems are officially supported on arch. However, since systemd has been moved to base, I will remove the dependency.

smp commented on 2013-02-26 21:46 (UTC)

I think that systemd shouldn't be in the dependencies because it isn't actually required to use the Minecraft server.

<deleted-account> commented on 2013-01-29 20:58 (UTC)

There is an error in minecraftctl. When it's called with status, it uses a variable $USERNAME which is never defined. I'm guessing this should be $MCUSER in stead of $USERNAME. Here's a patch: --- /usr/sbin/minecraftctl.orig 2013-01-29 15:50:42.246738928 -0500 +++ /usr/sbin/minecraftctl 2013-01-29 15:50:59.270077368 -0500 @@ -96,7 +96,7 @@ mc_backup ;; status) - if pgrep -u $USERNAME -f $SERVICE > /dev/null + if pgrep -u $MCUSER -f $SERVICE > /dev/null then echo "$SERVICE is running." else

SirPenguins commented on 2013-01-14 21:28 (UTC)

@skymera RUN ALL OF THIS AS ROOT: To start minecraft server: ~ # systemctl start minecraftd To run minecraft server automatically upon bringing up the system: ~ # systemctl enable minecraftd To look at minecraft console: ~ # screen -r minecraft If there is no active screen session running (check to see if any processes are attached to the service with `systemctl status minecraft`) then minecraft exited with an error. cd to /srv/minecraft and run /usr/sbin/minecraftd-diag to see what's going wrong.

SirPenguins commented on 2013-01-14 21:26 (UTC)

@UnsolvedCypher -- Sure! I've added /usr/sbin/minecraftd-diag which will do the same thing as minecraft-server used to. I've renamed it to prevent confusing people who don't read comments. :)

UnsolvedCypher commented on 2013-01-14 21:18 (UTC)

Could we possible retain the minecraft-server command from the old package, which launches the server in the current directory with a GUI?