Friends&Foes (Fabric/Quilt) (Copper Golem, Glare, Moobloom, Iceologer, Barnacle, Wildfire, Rascal, Tuff Golem)

Illusioner configs do not appear to work, breaking an IanXOFour raid farm

allanonmage opened this issue · 39 comments

commented

Minecraft version information

1.19.2

Mod loader information

Fabric

Mod loader version information

fabric-server-mc.1.19.2-loader.0.14.19-launcher.0.11.2.jar

Mod version information

friendsandfoes-fabric-mc1.19.2-1.8.0.jar

Expected Behavior

Illusioner should not break a RAID Farm. The RAID farm worked fine for many sessions, keeping the mobs where they were supposed to be. After adding this mod to the server, the Illusioners are spawning outside of the kill chamber, and getting on the other side of the doorway to the player, which is a glass floor.

The raid farm design and tutorial I am using. I added storage and stuff below the spawn area, which was not spawning anything before adding your mod.
https://www.youtube.com/watch?v=n3mOlrMGjUg

Can I remove them from RAIDs? That would be a good short term fix, unless you have a different fix.

Actual Behavior

The Illusioners spawn all over the place separate from the Raid spawning platforms, which makes the player susceptible to their attacks while AFK.

https://www.youtube.com/watch?v=n3mOlrMGjUg

Reproduction Steps

Activate RAID farm. See them spawn everywhere.

Screenshots & files

No response

commented

Sorry for the delay, i will try to reproduce this problem over the following weekend.

commented

Sweet, thanks!

commented

I found the config file. After disabling the illusioner and iceologer from raids, I still see the illusioner (and also get a weird server crash on login problem). I think the problem is his teleportation ability, and that's how he's getting out. After more testing, I'm not as sure that he's spawning in random places as much as he might just be teleporting outside of the kill chamber.

commented

Neither disabling the illusioner from raids, nor completely disabling the illusioner stops them from spawning in Raids. I'm looking to see if another mod turns them on too, but I didn't think I had another mod with them in it.

commented

I don't think I have any other mods or datapacks that would affect the Illusioner, save 1: https://www.planetminecraft.com/data-pack/pillager-stronghold-1-16-5-worldgen-no-structure-replacement/ It was my understanding that this datapack only turned them on in it's own structure though, not in general, and certainly not in Raids.

I see a disconnect between the modmenu settings and the config file, and changing the modmenu setting doesn't reflect in the config files, but changing the config file does show up in the modmenu setting.

"enableIceologer": true,
"enableIceologerSpawn": true,
"enableIceologerInRaids": false,
"generateIceologerCabinStructure": true,
"enableIllusioner": false,
"enableIllusionerSpawn": false,
"enableIllusionerInRaids": false,
"generateIllusionerShackStructure": true,
"generateIllusionerTrainingGroundsStructure": true,

commented

Yeah i think i mostly behaves like other illagers, but the teleportation ability. Doest the manual change in config file work? Anyway, i will try to take a look at it and the config related things probably today or tomorrow

commented

Thanks! Any idea how I could track down if some other mod is affecting their spawn?

commented

So tested it on the 1.18.2 right now as the first version, config saves to file just fine, will check 1.19.x soon.

commented

Changing it via modmenu nor in the config file has an effect on functionality.

commented

I just tested 1.19.2 on fabric, and config screen is properly connected(with file and same for the opposite) and also affecting the game, sadly i can not reproduce your problem.

commented

I just logged in to the main world and see the update notification. Thanks for jumping on this so quick! However, I had turned that off in the config file, so it seems like the mod isn't reading it's config for some reason, not that we have a conflict between mods.

I'm looking in \config\friendsandfoes.json and editing with NotePad++, but only on the server. Is there another config somewhere? Should I take different steps whilest on a server?

Do you write a log file anywhere that I can see why your mod is having a hard time reading your log file?

{
"checkForNewUpdates": false,
"enableCopperGolem": true,
"generateCopperGolemAreaStructure": true,
"generateCopperGolemInAncientCity": true,
"enableGlare": true,
"enableGlareSpawn": true,
"enableGlareGriefing": true,
"glareSpawnWeight": 4,
"glareSpawnMinGroupSize": 1,
"glareSpawnMaxGroupSize": 1,
"enableMauler": true,
"enableMaulerSpawn": true,
"maulerDesertSpawnWeight": 8,
"maulerDesertSpawnMinGroupSize": 1,
"maulerDesertSpawnMaxGroupSize": 1,
"maulerBadlandsSpawnWeight": 16,
"maulerBadlandsSpawnMinGroupSize": 1,
"maulerBadlandsSpawnMaxGroupSize": 1,
"maulerSavannaSpawnWeight": 32,
"maulerSavannaSpawnMinGroupSize": 1,
"maulerSavannaSpawnMaxGroupSize": 1,
"enableMoobloom": true,
"enableMoobloomSpawn": true,
"moobloomFlowerForestSpawnWeight": 32,
"moobloomFlowerForestSpawnMinGroupSize": 2,
"moobloomFlowerForestSpawnMaxGroupSize": 4,
"moobloomMeadowSpawnWeight": 2,
"moobloomMeadowSpawnMinGroupSize": 2,
"moobloomMeadowSpawnMaxGroupSize": 4,
"enableIceologer": true,
"enableIceologerSpawn": true,
"enableIceologerInRaids": false,
"generateIceologerCabinStructure": true,
"enableIllusioner": false,
"enableIllusionerSpawn": false,
"enableIllusionerInRaids": false,
"generateIllusionerShackStructure": true,
"generateIllusionerTrainingGroundsStructure": true,
"enableZombieHorseTrap": true,
"enableTuffGolem": true,
"generateTuffGolemInStronghold": true,
"enableWildfire": true,
"generateCitadelStructure": true,
"enableBeekeeperVillagerProfession": true,
"generateBeekeeperAreaStructure": true
}

commented

Other mods could possibly add illusioner to raids, but it is unlikely, for iceologer it is impossible, as it is new mob. Can you please also try to test this with separate/fresh setup with just fabric api and this mod? Also i will release new version which could help with spawning illusioner/iceologer in raids, but it wont "fix" the config issue as i did not find anything related to that problem.

commented

Datapack cant add new raid members, so that is settled then, but isolated test would be nice.

commented
commented

Hmm if read/write was not possible there would be an error Encountered an error while reading %s config, falling back to default values. and probably few more lines. I tested this with modmenu/cloth config on the client side i can also test this on the dedicated server side.

commented
commented

Oh sorry, yes that is the correct config file, no you should be able to normally use modmenu, can you give me specific versions of few of your mods? Namely cloth config, modmenu and fabric api? I will try to replicate your env.

commented

This is from my client, but I use the same mods on both my client and the server. The server jar file is fabric-server-mc.1.19.2-loader.0.14.19-launcher.0.11.2.jar

MultiMC version: 0.7.0-3732


Launched instance in online mode

authserver.mojang.com resolves to:
    [216.137.35.60, 216.137.35.59, 216.137.35.57, 216.137.35.47]

session.minecraft.net resolves to:
    [13.107.226.40, 13.107.253.40]

textures.minecraft.net resolves to:
    [13.107.226.40, 13.107.253.40]

api.mojang.com resolves to:
    [13.107.226.40, 13.107.253.40]


Minecraft folder is:
D:/Games/Minecraft Launcher/MultiMC/instances/Not Quite Modded/.minecraft


Java path is:
C:/Program Files/Java/jdk-17.0.1/bin/javaw.exe


Checking Java version...
Java is version 17.0.1, using 64-bit architecture, from Oracle Corporation.


Main Class:
  net.fabricmc.loader.impl.launch.knot.KnotClient

Native path:
  D:/Games/Minecraft Launcher/MultiMC/instances/Not Quite Modded/natives

Traits:
traits XR:Initial
traits FirstThreadOnMacOS

Libraries:
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-jemalloc/3.3.1/lwjgl-jemalloc-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-tinyfd/3.3.1/lwjgl-tinyfd-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/ibm/icu/icu4j/70.1/icu4j-70.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/text2speech/1.13.9/text2speech-1.13.9.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/fabricmc/intermediary/1.19.2/intermediary-1.19.2.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/fabricmc/tiny-mappings-parser/0.3.0+build.17/tiny-mappings-parser-0.3.0+build.17.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/fabricmc/sponge-mixin/0.12.4+mixin.0.8.5/sponge-mixin-0.12.4+mixin.0.8.5.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/fabricmc/tiny-remapper/0.8.2/tiny-remapper-0.8.2.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/fabricmc/access-widener/2.1.0/access-widener-2.1.0.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/ow2/asm/asm/9.4/asm-9.4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/ow2/asm/asm-analysis/9.4/asm-analysis-9.4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/ow2/asm/asm-commons/9.4/asm-commons-9.4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/ow2/asm/asm-tree/9.4/asm-tree-9.4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/ow2/asm/asm-util/9.4/asm-util-9.4.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/net/fabricmc/fabric-loader/0.14.19/fabric-loader-0.14.19.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/com/mojang/minecraft/1.19.2/minecraft-1.19.2-client.jar

Native libraries:
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-windows.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-jemalloc/3.3.1/lwjgl-jemalloc-3.3.1-natives-windows.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1-natives-windows.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1-natives-windows.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1-natives-windows.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl-tinyfd/3.3.1/lwjgl-tinyfd-3.3.1-natives-windows.jar
  D:/Games/Minecraft Launcher/MultiMC/libraries/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1-natives-windows.jar

Mods:
  [✔️] [Universal]Immersive Structures-2.0.7.jar
  [✔️] AllStackable-v1.5.6-1.19.jar
  [✔️] apollo-add-struc-mod-1.19-v1.3.3.jar
  [✔️] areas-1.19.2-4.3.jar
  [✔️] automated-crafting-1.4.7+MC1.19-1.19.2.jar
  [✔️] awesomedungeonend-fabric-1.19.2-3.1.1.jar
  [✔️] awesomedungeon-fabric-1.19.2-3.1.0.jar
  [✔️] awesomedungeonnether-fabric-1.19.2-3.1.1.jar
  [✔️] BagOfHolding-v4.1.6-1.19.2-Fabric.jar
  [✔️] BasicNetherOres-1.19.2-8.2.0-Fabric.jar
  [✔️] bclib-2.1.6.jar
  [✔️] BetterAnimationsCollection-v4.0.5-1.19.2-Fabric.jar
  [✔️] betterbeds-1.2.0.jar
  [✔️] BetterF3-4.0.0-Fabric-1.19.2.jar
  [✔️] BetterTridents-v4.0.1-1.19.2-Fabric.jar
  [✔️] biggerspongeabsorptionradius-1.19.2-3.1.jar
  [✔️] bobby-4.0.1.jar
  [✔️] bottleyourxp-1.19.2-3.1.jar
  [✔️] breedablekillerrabbit-1.19.2-3.2.jar
  [✔️] cloth-config-8.2.88-fabric.jar
  [✔️] collective-1.19.2-6.53.jar
  [✔️] configurableextramobdrops-1.19.2-3.0.jar
  [✔️] configured-fabric-2.0.0-1.19.2.jar
  [✔️] CorgiLib-fabric-1.19.2-1.0.0.32.jar
  [✔️] cryingportals-1.19.2-2.3.jar
  [✔️] ctov-3.1.8.jar
  [✔️] cullleaves-fabric-3.0.1.jar
  [✔️] cyclepaintings-1.19.2-3.2.jar
  [✔️] DeathFinder-v4.1.2-1.19.2-Fabric.jar
  [✔️] despawningeggshatch-1.19.2-4.1.jar
  [✔️] DiagonalFences-v4.2.3-1.19.2-Fabric.jar
  [✔️] DisableCustomWorldsAdvice-3.0.jar
  [✔️] disenchanter-0.1.7+1.19.jar
  [✔️] dismountentity-1.19.2-3.0.jar
  [✔️] DungeonsArise-1.19.2-2.1.54-fabric.jar
  [✔️] EasyAnvils-v4.0.6-1.19.2-Fabric.jar
  [✔️] EasyMagic-v4.3.2-1.19.2-Fabric.jar
  [✔️] edibles-1.19.2-4.1.jar
  [✔️] EnchantingInfuser-v4.2.2-1.19.2-Fabric.jar
  [✔️] enderitemc-enderitemod-1.4.1-1.19.2.jar
  [✔️] enderscape-0.4.1-1.19.2.jar
  [✔️] end-goblin-traders-1.5.2.jar
  [✔️] endportalrecipe-1.19.2-5.0.jar
  [✔️] enhancedblockentities-0.7.2+1.19.2.jar
  [✔️] expanded-enderchest-fabric-1.0.0+1.19.2.jar
  [✔️] extractpoison-1.19.2-3.1.jar
  [✔️] fabric-api-0.76.0+1.19.2.jar
  [✔️] firespreadtweaks-1.19.2-2.3.jar
  [✔️] followersteleporttoo-1.19.2-2.1.jar
  [✔️] ForgeConfigAPIPort-v4.2.10-1.19.2-Fabric.jar
  [✔️] friendsandfoes-beekeeperhut-fabric-mc1.19.2-1.2.0.jar
  [✔️] friendsandfoes-fabric-mc1.19.2-1.8.0.jar
  [✔️] friendsandfoes-flowerymooblooms-fabric-mc1.19.2-1.0.0.jar
  [✔️] furnacerecycle-1.19.2-2.0.jar
  [✔️] geckolib-fabric-1.19-3.1.40.jar
  [✔️] geodefabric-1.1.8-1.19.2.jar
  [✔️] giantspawn-1.19.2-4.5.jar
  [✔️] goblintraders-fabric-1.8.1-1.19.2.jar
  [✔️] grindstonesharpertools-1.19.2-3.1.jar
  [✔️] healingcampfire-1.19.2-5.1.jar
  [✔️] hoetweaks-1.19.2-3.2.jar
  [✔️] HorseExpert-v4.0.0-1.19.2-Fabric.jar
  [✔️] impaled-1.1.4.jar
  [✔️] Incendium_1.19.3_v5.1.6.jar
  [✔️] indium-1.0.9+mc1.19.2.jar
  [✔️] inventorytabs-0.8.1-1.19.x.jar
  [✔️] inventorytotem-1.19.2-3.0.jar
  [✔️] lanterns-belong-on-walls-1.4.0-1.19.jar
  [✔️] libraryferret-fabric-1.19.2-4.0.0.jar
  [✔️] lithium-fabric-mc1.19.2-0.11.1.jar
  [✔️] malilib-fabric-1.19.2-0.13.0.jar
  [✔️] milkallthemobs-1.19.2-3.0.jar
  [✔️] mineralchance-1.19.2-3.1.jar
  [✔️] minihud-fabric-1.19.2-0.23.3.jar
  [✔️] mob-captains-v2.1.0.jar
  [✔️] modmenu-4.1.2 for java 1.19.2.jar
  [✔️] MoreBows-1.0.10+1.19.2.jar
  [✔️] morechests-fabric-1.19.2-1.0.2.jar
  [✔️] moremcmeta-1.19-3.0.5-fabric.jar
  [✔️] More-slabs-stairs-walls-fabric-2.4.0+1.19.2.jar
  [✔️] morevillagers-fabric-1.19-4.0.2.jar
  [✔️] morezombievillagers-1.19.2-3.3.jar
  [✔️] mostructures-1.4.3+1.19.2.jar
  [✔️] MouseTweaks-fabric-mc1.19-2.22.jar
  [✔️] naturallychargedcreepers-1.19.2-3.2.jar
  [✔️] netherchest-mc1.19-4.0.jar
  [✔️] Nullscape_1.19.3_v1.2.1.jar
  [✔️] nutritiousmilk-1.19.2-3.1.jar
  [✔️] nyfsquiver-Fabric-0.5.1-1.19.2.jar
  [✔️] Oh_The_Biomes_You'll_Go-fabric-1.19.2-2.0.1.1.jar
  [✔️] owo-lib-0.9.3+1.19.jar
  [❌] phosphor-fabric-mc1.19.x-0.8.1.jar.disabled (disabled)
  [✔️] placeableblazerods-1.19.2-3.0.jar
  [✔️] polymorph-fabric-0.46.1+1.19.2.jar
  [✔️] PortableHole-v4.0.0-1.19.2-Fabric.jar
  [✔️] pumpkillagersquest-1.19.2-3.2.jar
  [✔️] PuzzlesLib-v4.3.12-1.19.2-Fabric.jar
  [✔️] rainbegoneritual-1.19.2-3.0.jar
  [✔️] randomvillagenames-1.19.2-3.2.jar
  [✔️] replantingcrops-1.19.2-5.1.jar
  [✔️] repurposed_structures_fabric-6.3.18+1.19.2.jar
  [✔️] respawningshulkers-1.19.2-3.5.jar
  [✔️] sheepconsistency-1.0.4.jar
  [✔️] shulkerboxtooltip-fabric-3.2.2+1.19.2.jar
  [✔️] shulkerdropstwo-1.19.2-3.1.jar
  [✔️] skeletonhorsespawn-1.19.2-3.6.jar
  [✔️] smelting-plus-v1.0.2.jar
  [✔️] sodium-fabric-mc1.19.2-0.4.4+build.18.jar
  [✔️] stackrefill-1.19.2-4.0.jar
  [✔️] strayspawn-1.19.2-3.3.jar
  [✔️] Structory_1.19.3_v1.3.1a.jar
  [✔️] Structory_Towers_1.19.3_v1.0.2.jar
  [✔️] TerraBlender-fabric-1.19.2-2.0.1.130.jar
  [✔️] The_Graveyard_2.2_(FABRIC)_for_1.19.2.jar
  [✔️] thonkutil-2.15.4+1.19.jar
  [✔️] TinySkeletons-v4.2.2-1.19.2-Fabric.jar
  [✔️] totw_additions-1.2.3-1.19.x-fabric.jar
  [✔️] Towns-and-Towers-v.1.10.1-FABRIC-1.19.2.jar
  [✔️] transcendingtrident-1.19.2-4.2.jar
  [✔️] trinkets-3.4.2.jar
  [✔️] tweakeroo-fabric-1.19.2-0.14.3.jar
  [✔️] UniversalBoneMeal-v4.2.0-1.19.2-Fabric.jar
  [✔️] UniversalEnchants-v4.2.9-1.19.2-Fabric.jar
  [✔️] vanilla-refresh-1.4.11c.jar
  [✔️] villagernames-1.19.2-5.2.jar
  [✔️] voicechat-fabric-1.19.2-2.3.24.jar
  [✔️] wardenloot-1.0.9-1.19.x.jar
  [✔️] wooltweaks-1.19.2-3.1.jar
  [✔️] wraith-waystones-3.0.7+mc1.19.2.jar
  [✔️] xtraarrows-2.4.3-fabric-mc1.19.2.jar
  [✔️] YungsApi-1.19.2-Fabric-3.8.9.jar
  [✔️] YungsBetterDesertTemples-1.19.2-Fabric-2.2.2.jar
  [✔️] YungsBetterDungeons-1.19.2-Fabric-3.2.1.jar
  [✔️] YungsBetterMineshafts-1.19.2-Fabric-3.2.0.jar
  [✔️] YungsBetterNetherFortresses-1.19.2-Fabric-1.0.5.jar
  [✔️] YungsBetterOceanMonuments-1.19.2-Fabric-2.1.0.jar
  [✔️] YungsBetterStrongholds-1.19.2-Fabric-3.2.0.jar
  [✔️] YungsBetterWitchHuts-1.19.2-Fabric-2.1.0.jar
  [✔️] YungsBridges-1.19.2-Fabric-3.1.0.jar
  [✔️] YungsExtras-1.19.2-Fabric-3.1.0.jar
  [✔️] zombiehorsespawn-1.19.2-4.6.jar
  [✔️] zombievillagersfromspawner-1.19.2-3.4.jar

Params:
  --username  --version 1.19.2 --gameDir D:/Games/Minecraft Launcher/MultiMC/instances/Not Quite Modded/.minecraft --assetsDir D:/Games/Minecraft Launcher/MultiMC/assets --assetIndex 1.19 --uuid  --accessToken  --userType  --versionType release

Window size: max (if available)

Java Arguments:
[-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx12288m, -Duser.language=en]


Minecraft process ID: 5456


Using onesix launcher.
commented

Aaaaand just the important ones:

cloth-config-8.2.88-fabric.jar
fabric-api-0.76.0+1.19.2.jar
modmenu-4.1.2 for java 1.19.2.jar

commented

Server starts with:

java -Xms20G -Xmx20G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -jar fabric-server-mc.1.19.2-loader.0.14.19-launcher.0.11.2.jar -nogui

which came from https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/ and I updated per his notes for using 20GB of RAM.

commented

Did you have a chance to look into things? I'm not sure what to look for on my server; I could be trying stuff or looking through log files. I think the problem is that your mod can't read the config file for some reason.

commented

So i finally got time to test it on the fresh server based on your provided context(sorry for the delay again), all worked as expected. I tried to disable both illusioner and iceologer and they were not present in raids(that means config worked). I discovered one small bug and that is, that iceologe is not part of #minecraft:raiders tag, which will be fixed with next release, but other then that nothing.

commented

OK, Thanks! Sill leaves me at: what can I do, check, or fix so that your mod can read your config file?

commented

Maybe try to copy your server setup to another fresh one and add just friends&foes and fabric api, then change the newly generated config values to false and try raids? That was basically what i did.

commented

All that does is show that your mod works in ideal circumstances, that doesn't help with troubleshooting. Let's try this another way. Is there a log entry when your mod can't read the config file? What happens when it can't read the config file? How does it know what to default to?

commented

My mod is already part of some some pretty huge mod packs, and config also works, so i know it does work. And actually all i need to do is basically exactly what you said to make sure my mod works in "ideal" circumstances, because if it does not work based on some other thing, then it is caused by other mod. Also i already mentioned, that there would be multiple logged errors with following texts: Encountered an error while reading %s config, falling back to default values., "If this problem persists, delete the config file %s and try again.. or Write error, using default values for config %s..

That said, I am now out of options i tested everything i could and i dont really know what to do next.

commented

You're focused on absolving yourself of blame. I'm not assigning blame. I don't know how your mod works, and that makes it more difficult to troubleshoot.

commented

I can try to do extra build with more logging and we will see if there is anything

commented

I am actually not focused on any blame nor i feel like being blamed. I am just stating the facts, that i dont have any other options left, i already tried config purely on the client side and on the server side, with or without other mods, it worked in all cases.

I simply do not have anything to troubleshoot, because i can't get the environment to the same state as you do. If there is not any error related to that config when you do start the server then config should be successfully loaded.

commented

You should be able to see the loaded/saved values in the console with this build, please let me know what you see:
friendsandfoes-fabric-mc1.19.2-1.8.1-dev.jar.zip
Also this is .zip file, so you need to unzip it before use.

commented

The client is not syncing it's changes to the server, and the server values are being ignored. So, depending on how you handle those 3 different things keeping in sync, I could totally see an unexpected problem showing up.

Also, if I were coding it, I would code it such that the server config files win, but I'm not sure what you did, so can you explain your sync algorithm? Is it last change wins, or something else?

How and why are changes from the client affecting the server? Is that normal? I'm an operator, is that why it's working? I don't want my players making unexpected changes to the server. This is my first minecraft server, and my first server with mods and datapacks, so maybe that's a n00b question.

commented

I don't know what to say anymore, it is nice that if you were coding it, you would code it "certain" way, but that is not how minecraft work at all, client and server are two separate sides.

Both client and server configs are value based on the json file, modmenu is just way it is presented to the end user (you can basically call it frontend for the user). When you edit the value via modmenu your json file will obsiously change too, because all the values are stored in the json file, same as when you edit the json file it will be updated/displayed in the mod menu.

That said, you can edit server config values on the server and restart the game (to take any effect), but your client configs will not be affected in any way. Also your client configs cant affect anything server related.

Update: also i stated exactly this in my previous post..

commented

I'm not sure where the disconnect is. You are not understanding the information I am giving you, and ignoring every request for more information that I'm asking, from the beginning of this thread, which is INCREDIBLY frustrating.

You mod is not properly syncing the client to the server, and only some config changes work in some circumstances.

For example, turning the iceologer off of raids at the server or the client works. The same does not work for the illusioner, whether I do it in mod menu, the client config file, or the server config file. The only remaining problem left is the lack of a config sync from client to server, or where the mod is pulling its config from.

commented

I already stated two times, that client config SHOULD NOT sync to the server, thus i cant help you with this as this IS NOT a real problem.

I tested both config options for illusioner and iceologer purely on the client side and on dedicated server side, which worked perfectly. Maybe there is just some kind of miss understanding, but based on what you posted, i just feel like you are expecting some behaviour which is non-existing and should not exists.

If there is actually a problem which should be fixed(probably related to the illusioner) and this communication is just miss understanding I guess will need exact and very detailed straight from the start Reproduction Steps and i mean it. Like what exact value in config(and on what side) was changed and how it affected or not affected the game and basically the Expected Behavior and Actual Behavior with that too.

Based on all the things i have already tested and provided info i cant reproduce anything non-working.

commented

Thanks for making another build!

The values that it's reading in match what I see in modmenu (which is on the client), but the server config file seems to be ignored. If I make changes in mod menu (client), Notepad++ does not detect a change on the server config file. If I re-open the server config file anyways, it stays the same as it was before I made the changes in modmenu (client). I did see some stuff in the client log though. The server config file does not get changed after shutting down the server either. I deleted the server config file, started the server, and a new file was created, but all the values were the default ones that the mod ships with, not what was configured via modmenu. Once I got back in to the server, the modmenu selections were the ones I had made, and the client log reflected what I saw in modmenu.

The problem remains that your mod is encountering a problem reading and writing to the server config file for some reason. I don't know how that process works, nor what on my system could be causing the problem. That's where I need your help. I suspect having 2 ways to change the settings, and me trying to use both while trying to figure things out, caused a problem. Or, there is some client - server issue with the client always winning. I checked the client config file, and it seems to be updating with modmenu. I think that's our problem.

The Illusioner still spawns in the raid. even with the loaded settings telling it not to. I could see the blindness effect while in survival, but I switched to spectator and zoomed up and saw the Illusioner in the chamber. In-game, I can mitigate this problem with an extra block and maybe a door or something.

I was doing some other digging, and this datapacks is also loaded. You said that datapacks can't affect this behavior though.

More Mobs
Enables the blue Illusioners to spawn naturally. The ones I see in the Raids are not the blue ones, but the hooded archer ones. Yet, the heads I get in the storage system are the blue ones.
https://modrinth.com/datapack/more-mobs/

This is from the client log file:

[22:14:31] [main/INFO]:  -------- CONFIG DEBUG READ -------- 
[22:14:31] [main/INFO]:  -------- CONFIG DEBUG WRITE -------- 
[22:14:31] [main/INFO]: {
  "checkForNewUpdates": true,
  "enableCopperGolem": true,
  "generateCopperGolemAreaStructure": true,
  "generateCopperGolemInAncientCity": true,
  "enableGlare": true,
  "enableGlareSpawn": true,
  "enableGlareGriefing": true,
  "glareSpawnWeight": 4,
  "glareSpawnMinGroupSize": 1,
  "glareSpawnMaxGroupSize": 1,
  "enableMauler": true,
  "enableMaulerSpawn": true,
  "maulerDesertSpawnWeight": 8,
  "maulerDesertSpawnMinGroupSize": 1,
  "maulerDesertSpawnMaxGroupSize": 1,
  "maulerBadlandsSpawnWeight": 16,
  "maulerBadlandsSpawnMinGroupSize": 1,
  "maulerBadlandsSpawnMaxGroupSize": 1,
  "maulerSavannaSpawnWeight": 32,
  "maulerSavannaSpawnMinGroupSize": 1,
  "maulerSavannaSpawnMaxGroupSize": 1,
  "enableMoobloom": true,
  "enableMoobloomSpawn": true,
  "moobloomFlowerForestSpawnWeight": 32,
  "moobloomFlowerForestSpawnMinGroupSize": 2,
  "moobloomFlowerForestSpawnMaxGroupSize": 4,
  "moobloomMeadowSpawnWeight": 2,
  "moobloomMeadowSpawnMinGroupSize": 2,
  "moobloomMeadowSpawnMaxGroupSize": 4,
  "enableIceologer": true,
  "enableIceologerSpawn": true,
  "enableIceologerInRaids": false,
  "generateIceologerCabinStructure": true,
  "enableIllusioner": false,
  "enableIllusionerSpawn": false,
  "enableIllusionerInRaids": false,
  "generateIllusionerShackStructure": true,
  "generateIllusionerTrainingGroundsStructure": true,
  "enableZombieHorseTrap": true,
  "enableTuffGolem": true,
  "generateTuffGolemInStronghold": true,
  "enableWildfire": true,
  "generateCitadelStructure": true,
  "enableBeekeeperVillagerProfession": true,
  "generateBeekeeperAreaStructure": true
}

This is friendsandfoes.json in the \Not Quite Modded 04-22-2023\config folder on the server. I added today's date since it's a backup.

{
  "checkForNewUpdates": false,
  "enableCopperGolem": true,
  "generateCopperGolemAreaStructure": true,
  "generateCopperGolemInAncientCity": true,
  "enableGlare": true,
  "enableGlareSpawn": true,
  "enableGlareGriefing": true,
  "glareSpawnWeight": 4,
  "glareSpawnMinGroupSize": 1,
  "glareSpawnMaxGroupSize": 1,
  "enableMauler": true,
  "enableMaulerSpawn": true,
  "maulerDesertSpawnWeight": 8,
  "maulerDesertSpawnMinGroupSize": 1,
  "maulerDesertSpawnMaxGroupSize": 1,
  "maulerBadlandsSpawnWeight": 16,
  "maulerBadlandsSpawnMinGroupSize": 1,
  "maulerBadlandsSpawnMaxGroupSize": 1,
  "maulerSavannaSpawnWeight": 32,
  "maulerSavannaSpawnMinGroupSize": 1,
  "maulerSavannaSpawnMaxGroupSize": 1,
  "enableMoobloom": true,
  "enableMoobloomSpawn": true,
  "moobloomFlowerForestSpawnWeight": 32,
  "moobloomFlowerForestSpawnMinGroupSize": 2,
  "moobloomFlowerForestSpawnMaxGroupSize": 4,
  "moobloomMeadowSpawnWeight": 2,
  "moobloomMeadowSpawnMinGroupSize": 2,
  "moobloomMeadowSpawnMaxGroupSize": 4,
  "enableIceologer": true,
  "enableIceologerSpawn": true,
  "enableIceologerInRaids": false,
  "generateIceologerCabinStructure": true,
  "enableIllusioner": false,
  "enableIllusionerSpawn": false,
  "enableIllusionerInRaids": false,
  "generateIllusionerShackStructure": true,
  "generateIllusionerTrainingGroundsStructure": true,
  "enableZombieHorseTrap": true,
  "enableTuffGolem": true,
  "generateTuffGolemInStronghold": true,
  "enableWildfire": true,
  "generateCitadelStructure": true,
  "enableBeekeeperVillagerProfession": true,
  "generateBeekeeperAreaStructure": true
}

After making a change to the settings in mod menu, the client log was updated, but the server config file was not.


[22:43:04] [Render thread/INFO]:  -------- CONFIG DEBUG WRITE -------- 
[22:43:04] [Render thread/INFO]: {
  "checkForNewUpdates": true,
  "enableCopperGolem": true,
  "generateCopperGolemAreaStructure": true,
  "generateCopperGolemInAncientCity": true,
  "enableGlare": true,
  "enableGlareSpawn": true,
  "enableGlareGriefing": true,
  "glareSpawnWeight": 4,
  "glareSpawnMinGroupSize": 1,
  "glareSpawnMaxGroupSize": 1,
  "enableMauler": true,
  "enableMaulerSpawn": true,
  "maulerDesertSpawnWeight": 8,
  "maulerDesertSpawnMinGroupSize": 1,
  "maulerDesertSpawnMaxGroupSize": 1,
  "maulerBadlandsSpawnWeight": 16,
  "maulerBadlandsSpawnMinGroupSize": 1,
  "maulerBadlandsSpawnMaxGroupSize": 1,
  "maulerSavannaSpawnWeight": 32,
  "maulerSavannaSpawnMinGroupSize": 1,
  "maulerSavannaSpawnMaxGroupSize": 1,
  "enableMoobloom": true,
  "enableMoobloomSpawn": true,
  "moobloomFlowerForestSpawnWeight": 32,
  "moobloomFlowerForestSpawnMinGroupSize": 2,
  "moobloomFlowerForestSpawnMaxGroupSize": 4,
  "moobloomMeadowSpawnWeight": 2,
  "moobloomMeadowSpawnMinGroupSize": 2,
  "moobloomMeadowSpawnMaxGroupSize": 4,
  "enableIceologer": false,
  "enableIceologerSpawn": false,
  "enableIceologerInRaids": false,
  "generateIceologerCabinStructure": false,
  "enableIllusioner": false,
  "enableIllusionerSpawn": false,
  "enableIllusionerInRaids": false,
  "generateIllusionerShackStructure": false,
  "generateIllusionerTrainingGroundsStructure": false,
  "enableZombieHorseTrap": true,
  "enableTuffGolem": true,
  "generateTuffGolemInStronghold": true,
  "enableWildfire": true,
  "generateCitadelStructure": true,
  "enableBeekeeperVillagerProfession": true,
  "generateBeekeeperAreaStructure": true
}

[22:43:04] [Render thread/INFO]:  -------- CONFIG DEBUG WRITE -------- 

commented

Hmm, i think i know what is going on, you can't sync client config from modmenu or even from your clientside file to your server side config. You need to manually change the values on the server, is this what is going on?

commented

Closing due to inactivity, reopen if wanted.

PS: If this is really an issue, we should continue any communication via discord in "real time", which would be much more effective.

commented
commented

I am sorry, but i already explained everything, while you do ignore the fact i provide:

case 1:
I stated that: you can't sync client config from modmenu or even from your clientside file to your server side config.
yet you replied: The client is not syncing it's changes to the server, and the server values are being ignored.
#102 (comment)

case 2:
I stated that:

Both client and server configs are value based on the json file, modmenu is just way it is presented to the end user (you can basically call it frontend for the user). When you edit the value via modmenu your json file will obsiously change too, because all the values are stored in the json file, same as when you edit the json file it will be updated/displayed in the mod menu.

That said, you can edit server config values on the server and restart the game (to take any effect), but your client configs will not be affected in any way. Also your client configs cant affect anything server related.

yet you replied:
Your mod is not properly syncing the client to the server, and only some config changes work in some circumstances.

then i repeated everything again in my final reply.

In the end I am little bit sad that i can't resolve this issue with either fix or some kind of explanation, so it is properly closed like literally every other of 81 issues i have had on this project, but moving on is probably best for both of us.