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: 0.98
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

zosodk69 commented on 2011-12-16 14:14

This really is the most elegant minecraft server script I've seen. A couple of modifications that I'd recommend:

The socket (/var/run/minecraft-server), which is chmod 700 should be 770 so members of the minecraft group can administer the server.

The logs under /var/log/minecraft-server, should be chmod 750 and chgrp log, which seems to be the convention in archlinux.

Anonymous comment on 2011-12-15 09:31

@MessedUpHare: Yes when you execute minecraft-server it stores its data into the current working directory.
But be careful though because your modification breaks the rc script.

MessedUpHare commented on 2011-12-15 08:51

Works nicely - my only modification has been to add the following to /usr/bin/minecraft-server before execution:
cd $HOME/.minecraft-server
This prevents it from making a mess of your home directory

SirPenguins commented on 2011-12-15 02:27

If you are looking to run a CanaryMod server instead of an official Minecraft server, my aur/minecraft-canary package will handle the custom server exactly like this package does.

SirPenguins commented on 2011-12-15 00:46

I've sort of semi-forked this package in minecraft-server-systemd. It uses screen instead of attachtty, and it supports only systemd, not the regular rc init system. I borrowed parts of minecraft-server.install in my package. If anyone's looking for a systemd version of this package, it's out now.

Anonymous comment on 2011-11-04 09:12

So, just to be clear, I will not package versions of the server that are not compatible with the current version of the client available through the autoupdate feature, that means no prerelease versions.
The next version of the package will most likely be the "final" 1.0 release.

Zom commented on 2011-10-30 10:18

@killermoehre:
Comment by: fleger on Fri, 23 Sep 2011 17:09:58 +0000
@zachtib: I will wait for the final beta 1.9 release to update this package since clients are not automatically updated.
Feel free to post your own package if you want the latest pre-release.

killermoehre commented on 2011-10-30 09:35

Server 1.9 pre 5 is out
http://assets.minecraft.net/1_9-pre5/minecraft_server.jar

Anonymous comment on 2011-10-27 10:53

Thanks. I'm glad you like it.

Synthead commented on 2011-10-27 01:25

Love it! I must say, this is a really clean package. Any faults with needing console access and strange java dependencies are really elegant. The way expect in the "stop" part of the rc.d script is definitely appropriate too since I think all of us have seen some data loss with a Minecraft server. Excellent work!