mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-11-26 06:08:48 +01:00
minecraft stuff
This commit is contained in:
parent
99d6d67129
commit
2e8bce0379
@ -55,7 +55,7 @@ in {
|
||||
"gayrats-creative" = import ./gayrats-creative.nix {
|
||||
inherit pkgs;
|
||||
|
||||
enable = true;
|
||||
enable = false;
|
||||
server-port = 25575;
|
||||
|
||||
inherit unsup;
|
||||
@ -64,6 +64,18 @@ in {
|
||||
unsupINI = mkUnsupINI { url = "https://oat.zone/f/gayrats-creative/pack.toml"; };
|
||||
};
|
||||
|
||||
"gay-capybaras" = import ./gay-capybaras.nix {
|
||||
inherit pkgs;
|
||||
|
||||
enable = true;
|
||||
server-port = 25505;
|
||||
|
||||
inherit unsup;
|
||||
inherit (gayrats) whitelist;
|
||||
|
||||
unsupINI = mkUnsupINI { url = "https://aether.gay/f/gay-capybaras/pack.toml"; };
|
||||
};
|
||||
|
||||
"n3ko-test" = import ./n3ko-test.nix {
|
||||
inherit pkgs;
|
||||
|
||||
@ -95,7 +107,7 @@ in {
|
||||
url = "https://raw.githack.com/ModFest/modfest-1-20/main/pack/pack.toml";
|
||||
};
|
||||
in {
|
||||
enable = true;
|
||||
enable = false;
|
||||
package = pkgs.fabricServers."fabric-1_20_4".override { loaderVersion = "0.15.3"; };
|
||||
jvmOpts = ((import ./mc-flags.nix) "4G") + " -javaagent:${unsup}";
|
||||
|
||||
|
29
hosts/lucent-firepit/minecraft/gay-capybaras.nix
Normal file
29
hosts/lucent-firepit/minecraft/gay-capybaras.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ pkgs, enable ? false, server-port, whitelist, unsup, unsupINI, ... }:
|
||||
|
||||
{
|
||||
inherit enable;
|
||||
autoStart = true;
|
||||
openFirewall = true;
|
||||
|
||||
inherit whitelist;
|
||||
serverProperties = {
|
||||
inherit server-port;
|
||||
gamemode = 0;
|
||||
motd = "dark-firepit, 1.20.1 Fabric";
|
||||
white-list = true;
|
||||
max-players = 8;
|
||||
allow-flight = true;
|
||||
enable-command-block = true;
|
||||
enforce-secure-profile = false;
|
||||
snooper-enabled = false;
|
||||
spawn-protection = 0;
|
||||
};
|
||||
|
||||
symlinks = { "unsup.ini" = unsupINI; };
|
||||
|
||||
package = pkgs.fabricServers."fabric-1_20_1".override { loaderVersion = "0.15.6"; };
|
||||
# package = pkgs.fabricServers."fabric-1_20_1";
|
||||
|
||||
jvmOpts = "-Xmx6G -javaagent:${unsup}";
|
||||
|
||||
}
|
@ -21,6 +21,8 @@
|
||||
|
||||
symlinks = { "unsup.ini" = unsupINI; };
|
||||
|
||||
package = pkgs.minecraftServers.fabric-1_19_2;
|
||||
package = pkgs.fabricServers."fabric-1_19_2".override { loaderVersion = "0.14.17"; };
|
||||
|
||||
jvmOpts = "-Xmx6G -javaagent:${unsup}";
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user