TransWikia.com

How do you apply potion effects to players?

Arqade Asked by Prodias on July 10, 2021

I’m developing a minigame server. I just need to know what commands to use, via command block, to give players special effects infinitely such as: speed boost, regeneration, or jump boost. I know it’s possible, I’ve played on games that use these things, or is it a mod?

8 Answers

You need the command:

  • Speed boost: /effect @p 1 100 10
  • Jump boost: /effect @p 8 100 5

Note: this doesn't work on bedrock

Source: Youtube

If you want to read more about command blocks and effects take a look here:

Command Block

Command Block Tutorials

Status Effects

Correct answer by Warterminator on July 10, 2021

Without time limit you make the time in the command as shown above from 10 to 100000000. Not preciesly so many zeros but much.

Answered by Stef on July 10, 2021

I don't know if this is what your looking for, but here it goes:

For speed effect: /effect @p 1

If you want it for longer or faster, do it like this: /effect @p 1 255 10

Hope this helps!

Answered by XFadedFoil on July 10, 2021

Speed Effect:

/effect @p 1 10 100

You can swap the 10 with any higher number. This specifically is how many seconds the effect lasts.

Answered by YOu know my name duh on July 10, 2021

/effect @p {ID Number} {Number of seconds} 10 Switch the 10 out if you want.

Answered by Draketheamazing on July 10, 2021

This is my way. I'm using regeneration

First type this command in: /effect @e regeneration 120 [hideparticles]

Then, put the command block on a clock system

I never tried it so if it doesn't work, just say it in the comments and I'll fix it.

Answered by Mission for Minecraft on July 10, 2021

You can do

/effect @a minecraft:jump_boost 2 10

This gives Jump boost two to all players for 10 seconds. The command is

/effect (player, @a or @p) minecraft:(potion, with _ between two words) (level of potion such as jump boost 2 or 3) (number of seconds, 255 max, more for unlimited)

Answered by Aaron on July 10, 2021

/effect give @a minecraft:jump_boost

@a means all players, you can also use @p (nearest player) or @e (all entities)

you can replace jump_boost with any potion effect (like slow_falling poison speed_boost)

Answered by Dind1n on July 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP