How to change speed value of an player when he is moving? Like /speed <value> in EssentialsX plugin of java edition.
research is key 1. https://forums.pmmp.io/threads/adjust-players-speed-in-creative.1943/ here if you dont want to see PHP: $attr = $entity->getAttributeMap()->getAttribute(Attribute::MOVEMENT_SPEED);$attr->setValue($attr->getValue() / (1 + 0.2 * $speed)); $speed can be anything $entity is player