How to apply an effect to a player — the /effect command

Generator /effect

Apply an effect to a player — adjust the parameters and copy the finished result

The /effect command applies a potion effect to a player. Level 0 = I, level 1 = II, and so on. Duration is given in seconds.

Apply to whom

The nearest player to the point where the command runs

Effect

Duration

sec.

Effect level

0 = level I, 1 = level II, 2 = level III, etc.

Generated command

>/effect give @p minecraft:speed 60 0

Paste it into the Minecraft chat (the T key) or a command block

How does /effect work?

The /effect give command applies a potion effect to a player or entity. Syntax: /effect give <target> <effect> [seconds] [level]. Level 0 = I, 1 = II, and so on. The maximum duration is 1000000 seconds.

Useful effects

Speed (speed) — fast movement. Night Vision (night_vision) — visibility in the dark. Regeneration (regeneration) — health recovery. Resistance (resistance) — reduced damage. Saturation (saturation) — auto-fills hunger.

Removing effects

To remove all effects, use /effect clear <player>. To remove a specific effect: /effect clear <player> <effect>. Effects are also removed on death or by drinking milk.

Effect levels

Most effects support levels up to 255. High Speed levels (speed 10+) can make the game unplayable. Instant Health and Instant Damage have no duration — they act once when applied.

10% off with promo code

Looking for Minecraft server hosting?

Launch your server in a minute — one-click mod and plugin installation, DDoS protection, powerful hardware. Promo code PROMO10 gives 10% off any plan.

PROMO10
Copy
View plans