startpost remove
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 27s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 27s
This commit is contained in:
parent
68455e7ce4
commit
7d2be949ca
1 changed files with 10 additions and 9 deletions
|
|
@ -53,15 +53,16 @@ in {
|
||||||
"-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M"
|
"-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M"
|
||||||
]; in lib.concatStringsSep " " flags;
|
]; in lib.concatStringsSep " " flags;
|
||||||
|
|
||||||
extraStartPost = let gamerules = {
|
# extraStartPost = let gamerules = {
|
||||||
"locator_bar" = false;
|
# "locator_bar" = false;
|
||||||
"mob_explosion_drop_decay" = false;
|
# "mob_explosion_drop_decay" = false;
|
||||||
# "reduced_debug_info" = false;
|
# # "reduced_debug_info" = false;
|
||||||
# "global_sound_events" = false;
|
# # "global_sound_events" = false;
|
||||||
}; in lib.concatStringsSep "\n" (map
|
# }; in lib.concatStringsSep "\n" (map
|
||||||
(rule: "${pkgs.rcon-cli}/bin/rcon-cli --password ${rcon-pass} gamerule ${rule} ${toString (gamerules.${rule})}")
|
# (rule: "${pkgs.rcon-cli}/bin/rcon-cli --password ${rcon-pass} gamerule ${rule} ${toString (gamerules.${rule})}")
|
||||||
(lib.attrNames gamerules)
|
# (lib.attrNames gamerules)
|
||||||
);
|
# );
|
||||||
|
# TODO: figure out how to set gamerules on start (script above runs **before** server ready)
|
||||||
|
|
||||||
serverProperties = {
|
serverProperties = {
|
||||||
server-port = 25565;
|
server-port = 25565;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue