Project Zomboid / Admin commands / /lightning
/lightning
A lightning strike near a player. The game's help: Use /lightning "username", username is optional except from the server console
From the game files: Project Zomboid Build 42.22. Commands, roles and sandbox options read from projectzomboid.jar and the game's Lua.
- Command
/lightning- Who can use it
- gm and above
- Capability
MakeEventsAlarmGunshot- Single player
- No, it needs a server
What you type
/lightning ["username"]
Examples
/lightning
rj is the name the game's own help uses. Put your player's name in its place.
Build this line with your own values
What the game answers
- Pass a username
- Lightning triggered
- User "..." not found
Which access levels can use it
| Capability | banned | user | priority | observer | gm | moderator | admin |
|---|---|---|---|---|---|---|---|
MakeEventsAlarmGunshot | yes | yes | yes |
These are the roles the game makes for a new server. An admin can change them in the admin panel. What each level may do.
More commands like this one
/alarm /chopper /startrain /stoprain /thunder /gunshot /createhorde /createhorde2 /removezombies /remove /list /stopweather /startstorm /setTimeSpeed /worldgen