Package Details: minecraft-server 1.15.2-1

Git Clone URL: (read-only, click to copy)
Package Base: minecraft-server
Description: Minecraft server unit files, script, and jar
Upstream URL:
Keywords: bash minecraft official script server
Licenses: custom
Conflicts: minecraft-canary, minecraft-server-systemd
Submitter: sorcix
Maintainer: edh
Last Packager: edh
Votes: 135
Popularity: 1.05
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)


Synthead commented on 2011-10-27 01:24

Love it! I must say, this is a really clean package. Any faults with needing console access and strange java dependencies are really elegant. Excellent work!

Anonymous comment on 2011-10-24 07:27

@Synthead: done in beta_1.8.1-3.

Synthead commented on 2011-10-23 18:55

Might be a good idea to say in the .install to Ctrl+\ out of attachtty so people don't accidentally Ctrl+C the server like I did! :)

Anonymous comment on 2011-09-23 17:09

@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.

zachtib commented on 2011-09-22 15:03

jeb_ just tweeted a link to the 1.9 prerelease

Anonymous comment on 2011-09-20 16:28

@JonnyJD: patch added in beta_1.8.1-2

JonnyJD commented on 2011-09-20 09:43

You should not rely on anything being in "/var/run" after a reboot.

My proposed change (which works on my system where I flush /var/run on reboot):

--- minecraft-server-rc.old 2011-09-20 11:13:09.000000000 +0200
+++ minecraft-server-rc 2011-09-20 11:34:51.000000000 +0200
@@ -12,6 +12,10 @@
stat_busy "Starting minecraft-server"
if [[ ! -f "$_runDir/" ]]; then
cd "$_srvDir"
+ if [[ ! -d "$_runDir" ]]; then
+ mkdir "$_runDir"
+ chown minecraft:minecraft "$_runDir"
+ fi
su minecraft -c "source /etc/profile && detachtty --dribble-file $_logDir/server_stdout.log --log-file $_logDir/detachtty.log --pid-file $_runDir/ $_runDir/socket /usr/bin/minecraft-server nogui" &&
add_daemon minecraft-server &&
stat_done || stat_fail

sonny commented on 2011-09-18 10:56

I prefer using attachtty too since it's a more generic solution.

sonny commented on 2011-09-18 10:56

I prefere using attachtty too since it's a more generic solution.

Zom commented on 2011-09-17 19:27

@yochaigal: The problem with using screen like that is that it doesn't work. You wouldn't be able to attach the screen afterwards, AFAIK.