Skip to content
/SLASHPLAY

How to make lightning strike in Project Zomboid

Type lightning "username" in the Console tab, or /lightning in game chat as an admin.

lightning

Strikes lightning at a player. The username is optional in game chat.

/lightning "<username>"

Examples

lightning "rj"

Lightning at rj, from the Console tab.

Arguments

usernameOptional
The player. Required from the Console tab; in game chat, leave it out for yourself.

What it does

A weather effect for events.

Good to know

  • Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.

Run it on your server

Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.

Your own
Project Zomboid server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.