mc server update and new aeronautics server (modpack in progress)

This commit is contained in:
Satria 2026-07-18 18:34:34 +07:00
commit 4c902d0dcb
3 changed files with 134 additions and 5 deletions

View file

@ -3,6 +3,11 @@
ram-allocation-mb = 8192;
headroom-allocation-mb = 1024;
rcon-pass = "howdy";
ports = {
minecraft = 25565;
rcon = 25575;
};
modpack = let
useLatest = false;
commit = "86bf13316ed1352a676d9056d284448ea5e5a079";
@ -18,13 +23,13 @@ in {
};
services.minecraft-servers.servers.${name} = {
enable = true;
enable = false;
autoStart = true;
restart = "always";
serverProperties = {
server-ip = "0.0.0.0";
server-port = 25565;
server-port = ports.minecraft;
server-name = name;
motd = "§cCan't connect to server";
log-ips = false;
@ -49,7 +54,7 @@ in {
enable-rcon = true;
sync-chunk-writes = false;
"rcon.password" = rcon-pass;
"rcon.port" = 25575;
"rcon.port" = ports.rcon;
};
symlinks = inputs.mc.lib.collectFilesAt modpack "mods" // {