From e4eece1cc879352a8b2174a18605bc7f8dd1fe44 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Tue, 31 Mar 2026 15:35:01 +0300 Subject: [PATCH] - Enable Chat for everyone - Add "True Ending" mod - to make the community event more insane - Add "ArchitectureAPI" mod - Add "Custom Biome Sapling" mod - to enable being able to grow custom Terralith trees in their own biome. - Add "BeyondEnchant" - increase the cap of Vanilla enchantments, but keep it balanced - Add "NeoEnchantPlus - to add more enchants to the server - Add "Underwater Enchant Fix" - to enable enchanting underwater - ***Beta Test*** - Add "Mermod" - to add the ability to become mermaid and underwater utility and lifestyle. - Increase simulation distance to 11, was 10 - Increase view distance to 17, was 16 --- .../modules/system/minecraft.nix | 45 ++++++++++++++++++- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/nix-system-configs/modules/system/minecraft.nix b/nix-system-configs/modules/system/minecraft.nix index cff9bf9..eda5612 100644 --- a/nix-system-configs/modules/system/minecraft.nix +++ b/nix-system-configs/modules/system/minecraft.nix @@ -105,8 +105,9 @@ in { online-mode = true; white-list = false; spawn-protection = 0; - view-distance = 16; - simulation-distance = 10; + view-distance = 17; + simulation-distance = 11; + enforce-secure-profile = false; enable-command-block = false; enable-rcon = false; level-type = "terralith:amplified_large_biomes"; @@ -122,6 +123,10 @@ in { }; }; + ## Add mods by fetching them from Modrinth and linking them into the server's mods directory. + # Command to fetch and get the SHA512 hash of a mod file: + # curl -sL "URL-HERE" | sha512sum | cut -d ' ' -f 1 + symlinks = { mods = pkgs.linkFarmFromDrvs "mods" ( builtins.attrValues { @@ -245,7 +250,43 @@ in { sha512 = "aae816d98e2233167602c053becb43ffb6880451296fab2f3c6a6cd4c8bdc8208955d73e1089f9acdd8c1dccee7835c0b33fc42413ab317d9a9feee7b29de1af"; }; + TrueEnding = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/MCnBYP0b/versions/BWvn4Jtr/tru.e-ending-1.1.4d.jar"; + sha512 = "fc1f69d77ec073ecafe5df9dbfff97fa633be42bdf4b5fb8325fe55a6219db9cdb48db0b73ae4b110c667e2fcc37c7c5721c377a2f165bbff56bc612daa37432"; + }; + ArchitecturyAPI = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/lhGA9TYQ/versions/uNdfrcQ8/architectury-19.0.1-fabric.jar"; + sha512 = "7ca532844a0ed3d35e8515e13d1e84f8eadfceaae93281b79ad6b4dac253f4634e3dfcc7592f9543871dec117e1a3092c196ba5eae33735162de223be19dc4ad"; + }; + + NeoEnchantPlus = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/BynmO8IO/versions/R942LDop/NeoEnchant-5.14.0.jar"; + sha512 = "1e9fbfef03f1884995959364c28b2004ffd9c04094e46ceb5c306023e2b0ca1c19365f97092a1fa9383a6e72c2cd47160993cfd7d2c50b15ff5c1bc1e1e33cac"; + }; + + CustomBiomeSapling = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/CYGkXnUb/versions/jyLDOcvy/terralith-biome-saplings-1.1.6.jar"; + sha512 = "948b1e4ced7ea15a21bc7af78feebc32e31a23d5619bfff8c4efa6b9560e402c11e11bb5ba238d8a2940b20cad5d32adb5cc733c2c51b2949f6b5c962295a524"; + }; + + BeyondEnchant = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/t2pMCVgG/versions/B5Eitclf/BeyondEnchant-1.7.0.jar"; + sha512 = "f002e5ea5a569602851ca3bd12170253503f7afb741f7d9c47f908bc6fe25f842632a7e032e20adba7d6258dee1925a619279db33125493c1c5904957ecc3bdd"; + }; + + UnderwaterEnchant = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/e8JtTY4h/versions/mWHa1dMI/underwaterenchanting-1.21.11-2.9.jar"; + sha512 = "b7c6ab6d257f9295c21600c512860f5dda5c49f46bd0102c555305d0e3bf5b87273cffd5acbc68ff0170a8068a40ac54b114b2137f43de63414049b158544c0f"; + }; + + + ### BETA TEST MODS + + MerMod = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/ORiydwz3/versions/iQFj7BaM/mermod-fabric-4.0.1%2B1.21.11.jar"; + sha512 = "84b77fd65c81f94e41d67f78977a8ea2b4d7b653284af000976e788d1125b14c4a71fe050a48b81b38a2afe006e35ae87471904d363632a3a7bd7619971f6b6b"; + }; }