2024-10-09 03:36:08 -04:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
2024-10-15 17:46:44 -04:00
|
|
|
common = import ../../common { inherit pkgs; };
|
2024-08-30 01:17:50 -04:00
|
|
|
in {
|
|
|
|
services.minecraft-servers.servers.dewdemolisher = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.paperServers.paper-1_21_1;
|
2024-09-25 03:44:06 -04:00
|
|
|
jvmOpts = "-Xmx2000M";
|
2024-08-30 01:17:50 -04:00
|
|
|
serverProperties = common.serverProperties // {
|
|
|
|
difficulty = 2;
|
|
|
|
server-port = 30010;
|
2024-09-25 03:44:06 -04:00
|
|
|
motd = "\\u00A7l\\u00A7aDew Demolisher is here.";
|
2024-08-30 01:17:50 -04:00
|
|
|
};
|
|
|
|
whitelist = common.whitelist;
|
2024-09-25 03:44:06 -04:00
|
|
|
symlinks = common.paperSymlinks;
|
|
|
|
files = common.configFiles;
|
2024-08-30 01:17:50 -04:00
|
|
|
};
|
|
|
|
}
|