Package Details: papermc 1.15.2+b318-1

Git Clone URL: (read-only, click to copy)
Package Base: papermc
Description: Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance
Upstream URL:
Keywords: alternative craftbukkit cuberite minecraft-server paperspigot spigot
Licenses: custom
Conflicts: papermc-git
Submitter: edh
Maintainer: edh
Last Packager: edh
Votes: 6
Popularity: 0.121176
First Submitted: 2019-08-06 07:47
Last Updated: 2020-05-26 16:34

Dependencies (8)

Required by (0)

Sources (7)

Pinned Comments

edh commented on 2019-09-03 10:54

Unfortunately, upstream does not really have proper releases but instead points to build-versions of the software. Note, I will not push every new build of the package to the AUR but I will update the package upon new minecraft releases, e.g. for 1.14.4 to 1.14.5.

Latest Comments

1 2 Next › Last »

edh commented on 2020-04-11 08:22

@jhogan Yes the license did indeed change and I definitely shouldn't pull it from master. I'll push a fix later today. Thanks for the comments!

jhogan commented on 2020-04-11 08:20

Actually, I see that has changed very recently, after the last AUR update (apologies for misplaced blame):

Should that file be obtained from a specific tag rather than master branch?

jhogan commented on 2020-04-11 07:59

As of today I get:

==> Validating source files with sha512sums...
    papermc.1.15.2+b165.jar ... Passed
    papermc-backup.service ... Passed
    papermc-backup.timer ... Passed
    papermc.service ... Passed
    papermc.conf ... Passed ... Passed ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: papermc

It doesn't look like commit 67ffe26d726d updated the checksum for the LICENSE file?

edh commented on 2019-10-16 08:07

@HansCz I am sorry as well. My answer should have been more friendly! Content-wise it is still correct, though my choice of words was too harsh. I am sorry about that.

HansCz commented on 2019-10-16 01:01

Sorry for taking up your time with my bad report. I will heed your advice and do better next time.

edh commented on 2019-10-15 09:35

@HansCz Please try to reproduce your error in a clean chroot! Pasting the output of some AUR helper is no help at all! My guess would be that you are building in a dirty directory or on a miss-configured mount. Having two consecutive forward slashes is definitely not the problem /.

P.S. please make sure that you understand how the AUR works and how to interpret shell scripts (the PKGBUILD is basically one).

HansCz commented on 2019-10-14 21:57

Also, when i do an ls, I don't see a ./log in it?:

$ ls /var/cache/private/pikaur/build/papermc/pkg/papermc/srv/papermc papermc.1.14.4+b209.jar papermc_server.jar

HansCz commented on 2019-10-14 21:55

Hey, I the package fails to build for me with this error message:

==> Starting package()... install: cannot change permissions of ‘/var/cache/private/pikaur/build/papermc/pkg/papermc//srv/papermc/logs’: No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

Looks to me like there is one '/' too many in that path?

Thanks for making the package, edh

edh commented on 2019-10-08 08:26

@ShayBox I vigorously disagree with your statement!

Starting with the obvious first point that software designed for a generic platform is usually meant to be self-contained and hence generic, does not mean one should not attempt to package it. I am very glad to be able to for example install electron based apps (signal-messenger, vscode, ...) not via some download link but via a package manager. This comes with the upsides of having dependency management, versioning and automatic updating built-in.

Secondly, the server is clearly not running as root as can be easily seen from the systemd units and the management script. I have no clue why you would imply otherwise. For the purpose of having an isolated user for running the server, a new papermc user is created. The user has only access to the files which are necessary to run the server. Running the server as the user with which you are logged in is not a good idea as any exploit affecting minecraft will automatically has potentially much more devastating consequences since it can read from and write to a lot more paths.

In conclusion, I strongly suggest that you rethink whether you want to recommend others to run their servers as you describe it. I have no objection if you personally prefer to run the manually downloaded jar file as the user you are logged in with, without any management service, but I urge you to refrain from suggesting others that this is a good solution.

ShayBox commented on 2019-10-07 23:11

Minecraft servers aren't usually installed as system packages, the services are useful but I would set this up as a non-root user with user systemd units, instead of this AUR package.