1
0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-11-30 11:41:33 +01:00
git.oat.zone--dark-firepit-.../hosts/lucent-firepit/minecraft/lockout.nix
Jill "oatmealine" Monoids d463d05f34 what the hell man
2024-07-24 16:45:15 +02:00

27 lines
661 B
Nix

{ pkgs, enable ? false, server-port, whitelist, ... }:
{
inherit enable;
autoStart = true;
openFirewall = true;
inherit whitelist;
serverProperties = {
inherit server-port;
gamemode = 0;
motd = "Bingo Lockout, 1.21 Fabric";
white-list = true;
max-players = 8;
allow-flight = true;
enable-command-block = true;
enforce-secure-profile = false;
snooper-enabled = false;
spawn-protection = 0;
};
#package = pkgs.fabricServers."fabric-1_20_1".override { loaderVersion = "0.15.6"; };
package = pkgs.fabricServers."fabric-1_21".override { jre_headless = pkgs.unstable.temurin-bin; };
jvmOpts = "-Xmx6G";
}