Skip to content

Commands

Riqqqque edited this page May 30, 2026 · 8 revisions

Commands

All commands require OP level 2.

Commands update the live server settings. Some settings may return to the config file values after a restart unless the config file is also changed.

Most Useful Commands

Command What it does When to use it
/zhelp Shows in-game command help. When you forget the command list.
/zdayspawn status Shows current spawn settings. First troubleshooting step.
/zscaling status Shows day scaling status. Check how strong zombies should be.
/zhorde status Shows event status. Check hordes, blood moons, and multipliers.
/zcleanup uninstall Clears leftovers and pauses core systems. Before removing the mod temporarily.

General

Command What it does
/zhelp Shows built-in command help.
/zburn <true/false> Controls whether zombies burn in daylight. true means they burn, false means they do not.
/zkill Removes loaded zombie-class entities from loaded levels.
/zcleanup Removes loaded zombie leftovers and resets apocalypse event state.
/zcleanup uninstall Runs cleanup and disables custom spawning, hordes, blood moons, scaling, and attribute tuning for the current server session.

Day Control

Command What it does
/zday Shows the current apocalypse day.
/zday status Shows day and time-of-day.
/zday set <day> Sets the apocalypse day counter. Event scheduling is reset if the day changed.

Examples:

/zday status
/zday set 10

Events

Command What it does
/zhorde start Starts a horde immediately.
/zhorde stop Stops the active horde.
/zhorde status Shows horde, blood moon, and multiplier state.
/zbloodmoon Starts a blood moon now if it is night, or queues one for tonight.

Stats

Command What it does
/zstats Shows your stats, or server summary from console.
/zstats <player> Shows stats for a specific player.
/zstats all Shows server totals.
/zstats clear Clears tracked stats, cooldowns, and milestone advancement progress.

Spawn Settings

Command What it does
/zdayspawn enabled <true/false> Turns custom spawning on or off.
/zdayspawn chance <0.0-1.0> Spawn-wave chance each interval. 0.0 means never, 1.0 means every check.
/zdayspawn interval <ticks> Normal spawn check interval. 20 ticks = 1 second.
/zdayspawn eventinterval <ticks> Spawn interval during hordes and blood moons.
/zdayspawn amount <1-50> Mobs attempted per successful wave.
/zdayspawn attempts <1-40> Position attempts per mob. Higher fills waves better but costs more CPU.
/zdayspawn max <1-500> Nearby zombie-class cap per player.
/zdayspawn range <16-128> Horizontal spawn range around players.
/zdayspawn mindist <8-64> Minimum spawn distance from players.
/zdayspawn daylightstart <day> Delays daytime custom spawning until a chosen day.
/zdayspawn maxlight <-1-15> Maximum block light for custom spawns. -1 ignores block light.
/zdayspawn sky <true/false> Requires open sky for overworld custom spawns.
/zdayspawn babychance <0.0-1.0> Baby zombie chance. 0.0 disables new baby zombie-class spawns.
/zdayspawn daycounter <true/false> Toggles morning day-counter titles.
/zdayspawn horde <true/false> Toggles scheduled horde events.
/zdayspawn hordechance <0.0-1.0> Scheduled horde chance.
/zdayspawn bloodmoon <true/false> Toggles random blood moons.
/zdayspawn scaling <true/false> Toggles day-based scaling.
/zdayspawn attributes <true/false> Toggles advanced attribute modifiers.
/zdayspawn attributescaling <true/false> Toggles whether attributes scale with world day difficulty.
/zdayspawn variantprofiles <true/false> Toggles per-zombie-type attribute profiles.
/zdayspawn contextprofiles <true/false> Toggles biome and dimension attribute multipliers.
/zdayspawn nightboost <true/false> Toggles night spawn chance boost.
/zdayspawn variants <true/false> Toggles zombie variants.
/zdayspawn biomes <true/false> Toggles biome spawn modifiers.
/zdayspawn nether <true/false> Allows custom spawning in the Nether.
/zdayspawn end <true/false> Allows custom spawning in the End.
/zdayspawn cooldown <true/false> Toggles death cooldown spawn relief.
/zdayspawn effects <true/false> Toggles spawn particles and sounds.
/zdayspawn debug <true/false> Toggles debug logging. Keep off unless troubleshooting.

Attribute Tuning

Advanced attributes are for fine balancing. If you are new, you can ignore this section at first.

Command What it does
/zattr status Shows attribute system status.
/zattr keys Shows key format help.
/zattr keys all Shows every supported numeric and toggle key.
/zattr get <key> Reads a numeric value.
/zattr set <key> <value> Sets a numeric value.
/zattr toggle <key> <true/false> Changes a supported boolean toggle.

Simple examples:

/zattr get base.health.multiplier
/zattr set base.health.multiplier 1.15
/zattr set variant.husk.attack.multiplier 1.30
/zattr toggle attributes.contextProfiles false

Clone this wiki locally