How do I make people stop running with a command?
I'm making a map and when I give them slowness it's still possible for them to walk a little faster (or run with slowness on) but I want them still walking. Can anyone can help me? It has to be a command.
Best Answer
An option would be to detect when a player is sprinting via sprintOnecm statistic and give them a higher slowness effect when they are sprinting such that sprinting and walking would be no different. Just make sure the player can't jump using a high jump boost level.
Pictures about "How do I make people stop running with a command?"
How do you stop people from sprinting in Minecraft?
There are numerous ways to do this, but each one has its disadvantages...How do I stop other people from seeing commands in Minecraft?
Only operators can see command output from players. If you demote them to a regular player, they will not see it in the chat. And now, if you run your command through the command block, no one will be able to see the output in chat. However, the /give and /gamerule commands you did will still be visible in chat.How do you stop a command block from running?
While the obvious way to turn off these grey messages is to use /gamerule sendCommandFeedback false , this also prevents players from seeing their own command feedback, which commands users find vital in knowing whether their commands succeed or not.How To Force Close/Stop Running Program using CMD
More answers regarding how do I make people stop running with a command?
Answer 2
Try using soul sand, possibly with ice under.
That will slow them down considerably. You can sprint jump to somewhat bypass it, because the air above is not slowed, but it should work.
Answer 3
There are numerous ways to do this, but each one has its disadvantages...
Give the player blindness using the
/effect
command. Blinded players can't sprint. However, the player will also have limited vision.Drain the player's hunger. This cannot be instant though, but again you can use the
/effect
command to give them hunger.Just give the player a high slowness level. They can still sprint, but at a certain level sprinting will still be really slow like normal walking.
Or just use RikerW's method, but also give the player a "corrupt" jump boost effect to disable the player from jumping. Use levels 128–250, according to the wiki.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Aliaksei Semirski, Anastasia Shuraeva, Jair Hernandez Villarreal, William Choquette