Remove Pufferpanel and add Nix-Minecraft properly
This commit is contained in:
parent
f8907ae96e
commit
b6f1cb5259
13 changed files with 45 additions and 221 deletions
|
@ -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 // {
|
||||
|
|
16
nixos/server/minecraft/servers/uberbeta.nix
Normal file
16
nixos/server/minecraft/servers/uberbeta.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue