Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

MovementMode

Defined in: server/api.d.ts:1259

The pace rule a server puts on one player. Both halves default to off, and a call to setMovementMode states both of them.

walkByDefault: boolean

Defined in: server/api.d.ts:1263

Whether walking, rather than jogging, is the pace this player keeps coming back to. A preference: they start each body walking and return to it after every sprint, and their own toggle key works normally in between.


walkEnforced: boolean

Defined in: server/api.d.ts:1268

Whether this player may not run or sprint at all. A rule rather than a preference: it holds the engine’s own movement permissions, so the toggle key and the sprint key both stop raising the pace, and lifting it hands back whatever the body had before.