From ef085e32f15d0eac19e4222497cf766c24491966 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Fri, 11 Oct 2024 22:22:46 -0400 Subject: [PATCH] Update velocity --- system/server/firewall.nix | 1 + system/server/minecraft/servers/velocity.nix | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/system/server/firewall.nix b/system/server/firewall.nix index a5a4184..9ddf789 100644 --- a/system/server/firewall.nix +++ b/system/server/firewall.nix @@ -27,6 +27,7 @@ type nat hook prerouting priority dstnat; policy accept; tcp dport 2211 dnat to ${outputs.ips.pc}:22 comment "SSH to PC" tcp dport 2233 dnat to ${outputs.ips.wgSpan}.3:22 comment "SSH to Oracle VM" + tcp dport 2255 dnat to ${outputs.ips.vm}:22 comment "SSH to VM" udp dport { 27005, 27015, 7777 } dnat to ${outputs.ips.pc} comment "PC Hosted Games" diff --git a/system/server/minecraft/servers/velocity.nix b/system/server/minecraft/servers/velocity.nix index 6db38c2..b02b657 100644 --- a/system/server/minecraft/servers/velocity.nix +++ b/system/server/minecraft/servers/velocity.nix @@ -7,12 +7,12 @@ in { jvmOpts = "-Xmx512M"; symlinks = { "plugins/Geyser.jar" = builtins.fetchurl { - url = "https://download.geysermc.org/v2/projects/geyser/versions/2.4.2/builds/660/downloads/velocity"; - sha256 = "09z938v6xrgbiba8rxgi7cdh3xxkv9fdampy15k6fmwddmj9y4a2"; + url = "https://download.geysermc.org/v2/projects/geyser/versions/2.4.3/builds/688/downloads/velocity"; + sha256 = "0gmsr2pspjklnshrrm7ril8c669gsac4v9ck4n6j85p0dp6aizql"; }; "plugins/Floodgate.jar" = builtins.fetchurl { - url = "https://download.geysermc.org/v2/projects/floodgate/versions/2.2.3/builds/109/downloads/velocity"; - sha256 = "1hxdf38qzpzdnyn2gn1152fyd54bi37i0ayc82dgcjf0qrcbmv0c"; + url = "https://download.geysermc.org/v2/projects/floodgate/versions/2.2.3/builds/112/downloads/velocity"; + sha256 = "1cbb9qdlk9nw2q1vchq4fq553qxqi49268pg46b426wsa1yxjqa9"; }; "plugins/LuckPerms.jar" = builtins.fetchurl { url = "https://download.luckperms.net/1556/velocity/LuckPerms-Velocity-5.4.141.jar";