Package Details: minecraft-server 1.14.4-2

Git Clone URL: https://aur.archlinux.org/minecraft-server.git (read-only)
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: 134
Popularity: 0.45
First Submitted: 2010-11-29 15:52
Last Updated: 2019-09-25 08:01

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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

Svenstaro commented on 2016-04-18 18:40

I recommend setting

[Service]
Restart=always
RestartSec=5s

in the minecraftd.service file. Minecraft server likes to crash.

lesebas commented on 2016-03-29 20:59

Hello,

You're right about the use of this comments thread, sorry. I have finally solved my problem by installing the server on another computer on my local network. Everything works fine, I don't understand why I can't make it work on another similar archlinux machine. Thanks for your support.

edh commented on 2016-03-29 18:07

@lesebas
I would very much appriciate if you could open a forum thread or something similar for this discussion, since it seems to be only you having those kinds of problems. I initially thought that the strange behavior was somehow affiliated with the reports about the transition to the idle-server. However since this is probably not the case, it is best to leave the comment section. It is not the right place for this.
Concerning your problem: Please explain in detail what commands you have executed to come to this point and what the output of each command was. Your explained behaviour seems like you are leaving out some essential error messages, like insufficient sudo access. What happened when you ran the server as minecraft user with merely java -jar <main_executable>?
Have you read and understood the ArchWiki entry, I wrote about the script? It should give you a small impression of what is done.

lesebas commented on 2016-03-29 17:42

Hello I went through the initial installation process from scratch and that's OK. But when I start the server for the first time the eula.txt file is not created?

edh commented on 2016-03-29 15:55

@sowieso
This sounds like a decent plan. It really is annoying in those cases.

sowieso commented on 2016-03-29 13:20

How about not to print the countdown on shutdown when nobody is connected? This cool feature gets annoying when you have to restart several times. The code to check for an empty server is already in the idle_server_daemon() function, so it is not difficult to implement.

edh commented on 2016-03-20 19:13

@lesebas
What is your understanding of the "saved old server directory"? On an update mereley a new minecraft_server.${pkgver}.jar is added and the link pointing to that .jar gets changed. All other files, e.g. logs world-files etc., stay the same.
To me it seams like you messed up your server pretty badly: First of all the minecraft_server.${pkgver}.jar is missing a dot in its name right in front of the version. Additionally the server logs by default everything to the logs directory. Without further configuration it should always be created if it was not present.
I have tried multiple times and mimiced your state of files on my machine, however I can still not reproduce your result.
Try to start the server manually with java -jar and no further arguments and see what happens. Furthermore you should make sure that the installation of this package succeeded without errors and if not fix those problems first.

lesebas commented on 2016-03-20 18:27

@edh

Unfortunately in the saved old server directory the latest.log is empty. In the new directory, there is no sub-folder and only 3 files :

- minecraft_server1.9.jar
- minecraft_server.jar
- server.properties (empty file)

edh commented on 2016-03-18 23:15

@TheNiceGuy
I already committed a fix for this but unfortunately am unable to push it at the moment. I will update it ASAP. Sorry for the delay.

EDIT: done.

TheNiceGuy commented on 2016-03-18 23:11

Hi, you might want to change "MAIN_JAR" in /etc/conf.d/minecraft.conf to "MAIN_EXECUTABLE" (since /usr/bin/minecraftd request that variable).