Remove Pufferpanel and add Nix-Minecraft properly

This commit is contained in:
Jimbo 2024-08-30 14:15:38 -04:00
parent f8907ae96e
commit b6f1cb5259
13 changed files with 45 additions and 221 deletions

View file

@ -8,7 +8,7 @@ in {
serverProperties = common.serverProperties // {
difficulty = 2;
server-port = 30009;
motd = "§l§aJohnside SMP§r §l§fworld for §4John lovers only.";
motd = "§l§9Johnside SMP§r §l§fworld for §4John lovers only.";
};
whitelist = common.whitelist;
symlinks = common.symlinks // {

View file

@ -0,0 +1,16 @@
{pkgs, ...}: let
common = import ../common.nix { inherit pkgs; };
uberBukkit = pkgs.vanillaServers.vanilla.overrideAttrs (oldAttrs: {
src = ../uberbukkit.jar;
});
in {
services.minecraft-servers.servers.uberbeta = {
enable = true;
package = uberBukkit;
jvmOpts = "-Xmx512M";
serverProperties = common.serverProperties // {
difficulty = 3;
server-port = 30005;
};
};
}