Undead Nights - Zombie Horde Nights

Undead Nights - Zombie Horde Nights

53.4k Downloads

Hordes wont spawn no matter what I do

Azurelectrium opened this issue ยท 12 comments

commented

No matter what I do or play with the config files, even changing the horde zombies to vanilla zombies and with the chance that a wither skeleton will spawn, (config variant 1) as well as changing the server config files, because this is on a multiplayer server, after hours of running the command to manually spawn hordes, they never do. I have it configured to send a message whenever theres about to be a horde night but this too never works. I use the status checking command, and everything saves besides the nights between hordes interval, and the fact that the "horde night" is "false".

commented

"HordeNight: false" -> this does not mean the mod is disabled, it means currently no Horde night is active.

But "/undeadnights spawn_horde" should always spawn a horde

commented

it may be another mod breaking the mod but in the console logs i see no conflict, whenever i run the command nothing gets spawned.

commented

To really see what is going on, I would need the full log from a server restart to you running the command /undeadnights spawn_horde

Also the full mod list would help

commented

Thanks for your report.

Can you please provide more info:

  • mod version
  • Minecraft version
  • Fabric, Forge, Neoforge
  • mod config
  • Horde config
  • log output (best would be with debug messages for undead nights enabled)
commented

1.20.1 forge, horde config:
#If true, Nights of the Undead (horde nights) are enabled | default: true
undeadNightsEnabled = true
#Days between horde nights (1 = every night is a horde night) | default: 5
#Range: > 1
daysBetweenHordeNights = 5
#Chance in % for a horde night | default: 100
#Range: 1 ~ 100
chanceForHordeNight = 100
#If true, each night a message will be sent to the player with how many nights are left before the next Horde Night | default: false
sendHordeNightsCountdownMessage = true
#Minimum distance a horde will spawn away from the player | default: 70
#Range: 10 ~ 256
distanceMin = 70
#Maximum distance a horde will spawn away from the player | default: 75
#Range: 10 ~ 256
distanceMax = 75
#Maximum amount of horde mobs that can be loaded in the world at the same time | default: 80
#Range: 1 ~ 2048
hordeMobsSpawnCap = 100
#If true, additional waves can spawn in a horde night | default: true
spawnAdditionalWaves = true
#Time in seconds between check for next possible wave in a horde night | default: 45
#Range: > 1
cooldownBetweenWaves = 45
#Chance in % for another zombie wave (checked after every wave cooldown) | default: 7
#Range: 1 ~ 100
chanceForAdditionalWaves = 35
#If true, horde waves can spawn in water | default: false
hordeWavesCanSpawnInWater = false
#If true, horde waves can spawn on trees | default: false
hordeWavesCanSpawnOnTrees = false
#If true, Players can't sleep through horde nights | default: true
hordeNightsDisableSleeping = true
#If true, the horde zombies will be persistent and not despawn | default: false
persistentMobs = false
#If true, the horde zombies (only those added by this mod) will burn in daylight | default: false
hordeZombiesBurnInDaylight = true
#If true, Horde Zombies can break blocks | default: false
hordeZombiesCanBreakBlocks = false
#Horde Zombie block break tier (0-3) | default: 1
#Range: 0 ~ 3
hordeZombieBlockBreakTier = 1
#If true, single stray horde zombies can spawn on normal nights | default: true
spawnStrayHordeZombies = true
#If true, debug messages will be logged out | default: false
printDebugMessages = true

mod config:
{
"configVariant": 1,
"maxWaveSize": 80,
"defaultMobId": "minecraft:zombie",
"extraSpawnInfo": "none",
"hordeMobs": [
{
"mobId": "minecraft:wither_skeleton",
"spawnChance": "3",
"extraSpawnInfo": "none"
},
{
"mobId": "undeadnights:demolition_zombie",
"spawnChance": "0",
"extraSpawnInfo": "tnt:5"
}
],
"internalConfigVersion": 1
}

debug: idk where to find the debug after i enable it.

commented

heres the debug: [03May2025 10:22:15.690] [Server thread/INFO] [net.petemc.undeadnights.UndeadNights/]: Command to spawn hordes for certain players issued. when i use the comamnd, there is no other information present. and after I use the command the debug ends as nothing comes afterwards post command running.

commented

but even with the config file enabled true, whenever i go to command check the status on the server it still says undead nights enabled false im not exactly sure why.

commented

I can't reproduce this. I created a new minecraft 1.20.1 Forge instance, installed the latest Undead Nights, copied the configs (main and horde) you provided and started a new world.

All works as expected:

  • /undeadnights spawn_horde -> spawns the horde you defined
  • after 5 nights a horde night starts and your hordes start spawning

what other mods do you have installed?

commented

maybe its because im doing multiplayer server in a world thats already pre created, but I have an entire modlist of mods which can be found off my profile using the profile code QoOZTQda

commented

heres a log which doesnt make sense because i already configured shut down and restarted the server after doing the configs but it still says disabled but heres the console log
[20:51:52] [Server thread/INFO] [ne.pe.un.UndeadNights/]: DayCounter: 5 (max 5)
HordeNight: false
SpawnCounter: 0 of max 100
Block breaking: disabled
Default Horde: 1
(spawnedHordeMobs: 0, hordeMobsToRemove: 0)
[20:52:01] [Server thread/INFO] [ne.pe.un.UndeadNights/]: Command to spawn hordes for certain players issued.
and heres the server config excerpt where the config is toggled to true
#If true, Nights of the Undead (horde nights) are enabled | default: true
undeadNightsEnabled = true

commented

the server has shut down, thank you for helping me attempt to troubleshoot, the mod works fine in singleplayer i am not really sure what the original problem was.

commented

Thanks for the feedback. I'm glad it at least works in single player for you now.

I will close this issue then.