MC CommanderUnofficial Minecraft command tools
Effect Command Generator

Effect Command Generator

Generate /effect give commands for players and entities.

How to use

Pick the target, effect, duration and amplifier, then check the command for your edition.

Basic fallback generator

A simplified form is available while the main generator loads. It does not include every setting in the full tool.

Output

Related guide

See worked examples and explanations of effect durations, levels and common command errors.

Effect command guide

Minecraft effect command examples

Use the generator above to create a command, then check these examples before changing invisibility, night vision, strength or other active effects. Start with one target and a short duration.

Basic /effect syntax
/effect give <target> <effect> [seconds] [amplifier] [hideParticles]

Example:

/effect give @p minecraft:invisibility 60 0 true
Popular effect examples
GoalExample command
Invisibility/effect give @p minecraft:invisibility 60 0 true
Night vision/effect give @p minecraft:night_vision 300 0 true
Strength/effect give @p minecraft:strength 120 1 true
Clear effects/effect clear @p

Copy-ready effect examples

GoalJavaBedrock
Night vision with no particles, forever/effect give @p minecraft:night_vision infinite 0 true/effect @p night_vision 999999 0 true
Speed II for 60 seconds/effect give @p minecraft:speed 60 1/effect @p speed 60 1
Remove one effect/effect clear @p minecraft:poison/effect @p clear (removes all)
Remove all effects/effect clear @a/effect @a clear

The number after the time is the level minus one, so 1 is level II. The final true hides the particle swirls. Java added infinite in 1.19.4; on older versions use a large number of seconds. Bedrock writes the effect without give and without the minecraft: prefix.

Related guides

Java and Bedrock use different effect syntax

For Java Edition, try /effect give @p minecraft:speed 30 1 true. In Bedrock Edition, the equivalent basic form is /effect @p speed 30 1 true. The 30 is the duration in seconds; amplifier 1 corresponds to Speed II because amplification starts at zero.

Common causes of errors

Java's give subcommand does not belong in the same position in Bedrock syntax. The selectors @p and @a also have different scopes, so a command can succeed but affect an unexpected set of players. Start with a short test before adding many options.

Remember that the available effect identifiers and behavior can differ between editions and versions.

These are explanatory examples, not a claim that every Minecraft release has been tested in-game.