Browse Source

add bluemap support to minecraft server config

main
Leonora Tindall 2 years ago
parent
commit
65554f6bf3
Signed by: nora GPG Key ID: 7A8B52EC67E09AAF
  1. 6
      common/fragments/minecraft-server.nix

6
common/fragments/minecraft-server.nix

@ -15,12 +15,12 @@
MOTD = "Minecraft with Fabric on CRIMESPOON via Docker";
};
autoStart = true;
ports = ["25565:25565"];
ports = ["25565:25565" "8100:8100"];
volumes = ["/var/games/minecraft:/data"];
};
};
environment.systemPackages = with pkgs; [ mcrcon ];
networking.firewall.allowedTCPPorts = [ 25565 ];
# Port 8100 is for BlueMap.
networking.firewall.allowedTCPPorts = [ 25565 8100 ];
networking.firewall.allowedUDPPorts = [ 25565 ];
}

Loading…
Cancel
Save