Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameStrike
Syntaxstrike [<location>] (no_damage) (silent)
Short DescriptionStrikes lightning down upon the location.
Full DescriptionCauses lightning to strike at the specified location, which can optionally have damage disabled.

The lightning will still cause fires to start, even without the 'no_damage' argument.

Lightning caused by this command will cause creepers to activate. Using the no_damage argument makes the
lightning do no damage to the player or any other entities, and means creepers struck will not activate.

Use 'silent' to remove the sound of the lightning strike.
NOTE: The 'silent' option appears to have been removed in a Minecraft update and thus lightning will be audible until/unless Mojang re-adds it.
Related TagsNone
Usage Example
# Use to cause lightning to strike the player.
- strike <player.location>
Usage Example
# Use to strike the player with lightning causing no damage.
- strike no_damage <player.location>
Synonyms (Search Aid)lightning, electrocute
Groupworld
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/StrikeCommand.java#L20