forked from hacc/haccfiles
hainich/minecraft: Update to paper 1.16.6-167
This commit is contained in:
parent
077e8264f7
commit
b604cee52a
1 changed files with 12 additions and 12 deletions
|
@ -4,6 +4,18 @@
|
||||||
networking.firewall.allowedTCPPorts = [ 25565 ];
|
networking.firewall.allowedTCPPorts = [ 25565 ];
|
||||||
services.minecraft-server = {
|
services.minecraft-server = {
|
||||||
enable = true;
|
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;
|
eula = true;
|
||||||
declarative = true;
|
declarative = true;
|
||||||
jvmOpts = "-Xmx1536M -Xms512M";
|
jvmOpts = "-Xmx1536M -Xms512M";
|
||||||
|
@ -33,17 +45,5 @@
|
||||||
Zauberberg = "4c59c4c3-f16b-4b7e-b707-9a176958e7cf";
|
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;
|
|
||||||
};
|
|
||||||
}));
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue