Whether you are setting up a survival map, testing your base defenses, or triggering features manually, the addon includes five built-in /function commands you can run directly from the chat window.
Spawning Hordes and Hidden Loot
If you have operator permissions and cheats enabled in your world, open chat and enter any of the following commands to populate your area:
/function zombiehorde/spawn– Immediately spawns a horde of zombies. Use this to stress-test your Spike Traps, Landmines, and Barricade Boards against a massive wave./function zombievillager/spawn– Spawns a group of zombie villagers to simulate an outbreak inside a village or survivor outpost./function hiddenloot– Generates hidden loot caches around the world, giving you and other players essential survival supplies to scavenge.
Activating Base Mechanics and Ambience
Two additional function commands control base defenses and environmental audio:
/function zc_electricity_fence– Activates the electric fence mechanics so your fence barriers shock incoming waves of aggressive zombies./function ambient_sound_spawn– Triggers the addon's custom ambient sound effects.
When ambient sounds are active, the addon uses biome-specific sound controllers to match the atmosphere to your surroundings, including Cave Ambience, Desert Amb, Forest Ambience, Forestnight Ambience, Jungle Amb, Ocean Ambience, Nether Amb, and End Amb.
