hainich/minecraft: Update to paper 1.16.6-167

This commit is contained in:
schweby 2021-03-24 21:13:26 +01:00
parent 077e8264f7
commit b604cee52a
No known key found for this signature in database
GPG key ID: 3A489DBB732B9614

View file

@ -4,6 +4,18 @@
networking.firewall.allowedTCPPorts = [ 25565 ];
services.minecraft-server = {
enable = true;
package = let
version = "16.5-567";
url = "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/567/downloads/paper-1.16.5-567.jar";
sha256 = "0193fgxabyzhvidf05lswpgajkq4a0c4n0hcpigqhhsir949yaia";
in (pkgs.minecraft-server.overrideAttrs (old: rec {
name = "minecraft-server-${version}";
inherit version;
src = pkgs.fetchurl {
inherit url sha256;
};
}));
eula = true;
declarative = true;
jvmOpts = "-Xmx1536M -Xms512M";
@ -33,17 +45,5 @@
Zauberberg = "4c59c4c3-f16b-4b7e-b707-9a176958e7cf";
};
package = let
version = "16.5-562";
url = "https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/562/downloads/paper-1.16.5-562.jar";
sha256 = "6c9110cb096cf8015382c112c1cfaf61093fd41c807410b0f744bee5317a05fd";
in (pkgs.minecraft-server.overrideAttrs (old: rec {
name = "minecraft-server-${version}";
inherit version;
src = pkgs.fetchurl {
inherit url sha256;
};
}));
};
}