2024-08-30 01:17:50 -04:00
|
|
|
{pkgs, ...}: let
|
|
|
|
common = import ../common.nix { inherit pkgs; };
|
|
|
|
in {
|
|
|
|
services.minecraft-servers.servers.blockworld = {
|
|
|
|
enable = true;
|
|
|
|
autoStart = false;
|
|
|
|
package = pkgs.paperServers.paper-1_21_1;
|
2024-09-17 21:45:44 -04:00
|
|
|
jvmOpts = "-Xmx3072M";
|
2024-08-30 01:17:50 -04:00
|
|
|
serverProperties = common.serverProperties // {
|
|
|
|
difficulty = 2;
|
|
|
|
server-port = 30012;
|
|
|
|
motd = "§fArchival §l§n§cBloxelcom §r§fMinecraft server.";
|
|
|
|
};
|
|
|
|
whitelist = common.whitelist;
|
2024-09-17 21:45:44 -04:00
|
|
|
symlinks = common.paperSymlinks // common.configSymlinks;
|
2024-08-30 01:17:50 -04:00
|
|
|
};
|
|
|
|
}
|