All commands
⚗️
Utility

/effect

Give players powers like speed, strength, or night vision.

At a glance

Syntax

Syntax
/effect give <target> <effect> [seconds] [amplifier]
commandtargetcoordsvaluerequiredoptional

See it

What it does

Speed III granted — particles swirl

Anatomy

Every part, explained

  1. 1
    /effect giveCommandRequired

    Use 'give' to add an effect, 'clear' to remove one.

  2. 2
    <target>TargetRequired

    Who gets the effect. @s is yourself.

  3. 3
    <effect>EffectRequired

    The power, e.g. speed, strength, night_vision.

  4. 4
    [seconds]DurationOptional

    How long it lasts. Defaults to 30 seconds.

  5. 5
    [amplifier]LevelOptional

    Strength minus one. 0 = level I, 1 = level II.

Your turn

Try it yourself

Playground
6 tokens · press Enter to run

Copy & paste

Examples

/effect give @s speed 60 2

Speed III for one minute.

/effect give @s night_vision 999999

See in the dark, basically forever.

/effect clear @s

Remove every active effect.

Avoid these

Common mistakes

/effect @s speed
/effect give @s speed

Modern syntax needs 'give' or 'clear' after /effect.

/effect give @s speed 30 3
/effect give @s speed 30 2

Amplifier is level − 1, so Speed III is amplifier 2.

Keep going

Related commands