diff --git a/flake.lock b/flake.lock index e4b5164..0154dcc 100644 --- a/flake.lock +++ b/flake.lock @@ -182,13 +182,13 @@ "locked": { "lastModified": 1724982042, "narHash": "sha256-IwHIZYo1fyloQxvBy15QVzMALNEa7Jo6tzXVJj7U9Ws=", - "owner": "JimmJam", + "owner": "Infinidoge", "repo": "nix-minecraft", "rev": "32b632e29b141cc4c441b6e5504d33a9564dc3e6", "type": "github" }, "original": { - "owner": "JimmJam", + "owner": "Infinidoge", "repo": "nix-minecraft", "type": "github" } diff --git a/nixos/server/minecraft/servers/uberbeta.nix b/nixos/server/minecraft/servers/uberbeta.nix index a2410de..b9004dd 100644 --- a/nixos/server/minecraft/servers/uberbeta.nix +++ b/nixos/server/minecraft/servers/uberbeta.nix @@ -1,7 +1,12 @@ {pkgs, ...}: let common = import ../common.nix { inherit pkgs; }; + uberBukkitZip = pkgs.fetchzip { + url = "https://github.com/Moresteck/Project-Poseidon-Uberbukkit/releases/download/2.0.0/uberbukkit-2.0.0-java17.zip"; + sha256 = "m4hgcqXJ43SnBGn6qNBGeEcXFv5Q8f/VFYJmx3aJ9PE="; + stripRoot = false; + }; uberBukkit = pkgs.vanillaServers.vanilla.overrideAttrs (oldAttrs: { - src = ../uberbukkit.jar; + src = "${uberBukkitZip}/uberbukkit-2.0.0.jar"; }); in { services.minecraft-servers.servers.uberbeta = { diff --git a/nixos/server/minecraft/uberbukkit.jar b/nixos/server/minecraft/uberbukkit.jar deleted file mode 100644 index c86780d..0000000 Binary files a/nixos/server/minecraft/uberbukkit.jar and /dev/null differ