diff --git a/system/podman/minecraft.nix b/system/podman/minecraft.nix index f6effd5..49c4a2d 100644 --- a/system/podman/minecraft.nix +++ b/system/podman/minecraft.nix @@ -2,14 +2,21 @@ let name = "minecraft"; podman = config.profile.podman; - inherit (lib) mkIf; + inherit (lib) mkIf strings; ip = "10.88.200.1"; - image = "docker.io/05jchambers/legendary-minecraft-purpur-geyser:latest"; - rootVolume = "/nas/podman/minecraft"; + # image = "docker.io/05jchambers/legendary-minecraft-purpur-geyser:latest"; + image = "docker.io/itzg/minecraft-bedrock-server:latest"; + rootVolume = "/nas/podman/minecraft/hutasuhut"; domain = "${name}.tigor.web.id"; user = config.profile.user; uid = toString user.uid; gid = toString user.gid; + users = [ + { + username = "CrowFX7414"; + xuid = "2533274941938385"; + } + ]; in { config = mkIf (podman.enable && podman.${name}.enable) { @@ -23,16 +30,12 @@ in
- For security reasons, connecting to the server requires Wireguard to be connected. - Ensure they are on first otherwise you won't be able to connect. -
-- The server supports both Java and Bedrock Edition. Both shares the same world and can - play together. They only need to connect to different ports depending on the edition. -
-Minecraft Java Server: ${domain}:25565
-Minecraft Bedrock Server: ${domain}:19132
+Server Address: ${domain}
+Server Port: 19132