Skip to content
[/craft]

Strike Lightning On All Players

Summon lightning bolts on every player at once

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Summons a lightning bolt on every online player simultaneously. This is categorized as misc because it demonstrates the /execute at pattern. Deals damage and creates thunder and fire effects.

/execute at @a run summon lightning_bolt
40 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. Lightning strikes all players at once.
  4. Each player takes lightning damage.

Related commands

Become nearly invincible

/effect give @p resistance 999999 255 true

Create or resize the world border boundary

/worldborder set 500

Automatically count how many players each player kills

/scoreboard objectives add kills playerKillCount {text:"Kills"}

Make a team whose members can't hurt each other

/team add red /team modify red friendlyFire false /team join red @a

Spread all players across a large area

/spreadplayers ~ ~ 50 200 false @a

Switch yourself into Creative mode

/gamemode creative