-
Notifications
You must be signed in to change notification settings - Fork 0
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.
| 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 and warns when spawn distances are impossible. | 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 disables gameplay systems. | Before removing the mod temporarily. |
/zblockbreak status |
Shows zombie block-breaking rules. | Check whether zombies can damage bases. |
/zblockplace status |
Shows zombie block-placing rules. | Check whether zombies can build steps or bridges. |
| 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 spawning, events, scaling, attributes, block breaking, block placing, day titles, sunlight immunity, extra drops, and death cooldowns for the current server session. |
| 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| 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. |
| 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. |
| 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. |
Block breaking is disabled by default. The safe defaults also protect containers, modded machines, light sources, tool-required blocks, and unbreakable blocks.
| Command | What it does |
|---|---|
/zblockbreak |
Shows all current block-breaking settings. |
/zblockbreak status |
Shows all current block-breaking settings. |
/zblockbreak dayone |
Enables block breaking and sets its start day to 0. |
/zblockbreak enabled <true/false> |
Turns zombie block breaking on or off. |
/zblockbreak startday <0-3650> |
Sets the first day zombies may break blocks. |
/zblockbreak interval <20-72000> |
Sets ticks between attempts for each zombie. 20 ticks = 1 second. |
/zblockbreak chance <0.0-1.0> |
Sets the chance that a scheduled attempt runs. |
/zblockbreak range <1-4> |
Sets how far ahead a zombie checks. 1 is safest. |
/zblockbreak hardness <0.0-50.0> |
Sets the maximum block hardness zombies can break. |
/zblockbreak drops <true/false> |
Controls whether broken blocks drop items. |
/zblockbreak target <true/false> |
Requires a living target before breaking. |
/zblockbreak obstacle <true/false> |
Requires a collision or blocked line of sight. |
/zblockbreak mobgriefing <true/false> |
Makes mobGriefing and loader protection events control breaking. |
/zblockbreak containers <true/false> |
Allows or protects containers and block entities. |
/zblockbreak toolblocks <true/false> |
Allows or protects blocks that require the correct tool. |
/zblockbreak lights <true/false> |
Allows or protects light-emitting blocks. |
Safer example for a world where zombies start damaging soft walls on day 20:
/zblockbreak enabled true
/zblockbreak startday 20
/zblockbreak range 1
/zblockbreak hardness 2.0
/zblockbreak drops falseBlock placing is disabled by default. When enabled, zombies can fill a one-block-deep gap or place a one-block step. They cannot place floating blocks, blocks with inventories, unsafe materials, blocks in unloaded chunks, or blocks on top of entities.
| Command | What it does |
|---|---|
/zblockplace |
Shows all current block-placing settings. |
/zblockplace status |
Shows all current block-placing settings. |
/zblockplace dayone |
Enables block placing and sets its start day to 0. |
/zblockplace enabled <true/false> |
Turns zombie block placing on or off. |
/zblockplace startday <0-3650> |
Sets the first day zombies may place blocks. |
/zblockplace interval <20-72000> |
Sets ticks between attempts for each zombie. 20 ticks = 1 second. |
/zblockplace chance <0.0-1.0> |
Sets the chance that a scheduled attempt runs. |
/zblockplace block <namespace:id> |
Chooses the safe solid block zombies place. |
/zblockplace limit <0-256> |
Sets the lifetime placement limit per zombie. 0 is unlimited. |
/zblockplace distance <4-128> |
Sets the farthest target distance that permits placement. |
/zblockplace target <true/false> |
Requires a valid living target before placing. |
/zblockplace obstacle <true/false> |
Requires a collision, covered/raised target, or gap. |
/zblockplace mobgriefing <true/false> |
Makes mobGriefing and loader protection events control placement. |
/zblockplace bridges <true/false> |
Allows or blocks filling one-block-deep gaps. |
/zblockplace steps <true/false> |
Allows or blocks one-block steps. |
/zblockplace fluids <true/false> |
Allows or protects replaceable fluid blocks. |
/zblockplace replaceable <true/false> |
Allows or protects plants, snow, and similar replaceable blocks. |
/zblockplace resetcounts |
Resets placement limits for loaded zombie-class mobs. |
Safer example where zombies begin building with cobblestone on day 20:
/zblockplace enabled true
/zblockplace startday 20
/zblockplace block minecraft:cobblestone
/zblockplace limit 6
/zblockplace mobgriefing trueClaim and protection mods can cancel the normal Forge/NeoForge block-place event. Keep mobgriefing enabled unless you deliberately want this feature to ignore the vanilla gamerule.
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 falseZombie Apocalypse Addon by Rique | Repository | Issues
Start here
Reference
Downloads
Support