Quote from Brinjal66While you cannot summon lightning, you can sort of simulate it.
Simply set off the following commands simultaneously:
/effect @p 7 1
/playsound random.explode @p
/playsound ambient.weather.thunder @p
The player will:
This will give them the impression lightning has struck them.
- get hurt
- Hear an explosion (which is heard when lightning strikes at close range)
- Hear a rumble of thunder.
maybe also night vision for a shot period of time, so their screen flashes.