#!/usr/bin/env nix-shell #! nix-shell -i bash --pure #! nix-shell -p javaPackages.compiler.openjdk17 #! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/tarball/nixos-25.11 java -Xmx8192M -Xms6144M -jar minecraft_server.jar nogui read -rp "Pack and publish world? [y/N] " answer if [[ "$answer" =~ ^[Yy]$ ]]; then /home/h3lp/mineserver/packworld.sh fi read -rp "Press Enter to continue..."