Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add or clear status effects.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Clear effect
/effect <player: target> clear [effect: Effect]
Clear the effect for a target player.
Add effect
/effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean]
Add effect to target player with optional seconds
, amplifier
, and hideParticles
.
/effect <player: target> <effect: Effect> infinite [amplifier: int] [hideParticles: Boolean]
Arguments
amplifier
: int Aninteger
that may have been applied to this effect. Sample values range typically from 0 to 4. Default:0
.effect
: Effect Anenum
to specify the effect being added or removed.hideParticles
: Boolean ABoolean
that specifies the visual representation of the effect. Default:false
.player
: target The player to receive the effect. A player namestring
ortarget selector
to identify the player.seconds
: int Aninteger
that specifies the duration, in seconds, of this effect. Default:30
.
Enums
Effect
Effect
Values
wither
Witherspeed
Speedslowness
Slownesshaste
Hastemining_fatigue
Mining Fatiguestrength
Strengthinstant_health
Instant Healthinstant_damage
Instant Damagejump_boost
Jump Boostnausea
Nausearegeneration
Regenerationresistance
Resistancefire_resistance
Fire Resistancewater_breathing
Water Breathinginvisibility
Invisibilityblindness
Blindnessnight_vision
Night Visionhunger
Hungerweakness
Weaknesspoison
Poisonhealth_boost
Health Boostabsorption
Absorptionsaturation
Saturationlevitation
Levitationfatal_poison
Fatal Poisonconduit_power
Conduit Powerslow_falling
Slow Fallingbad_omen
Bad Omenvillage_hero
Village Herodarkness
Darknesstrial_omen
wind_charged
weaving
oozing
infested
raid_omen