How do you apply potion effects to players?
Solution 1:
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
Solution 2:
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)