No description
Find a file
2026-01-25 00:18:28 -06:00
gradle/wrapper Initial version of the template that I shared on Slack. 2025-11-28 20:31:43 -07:00
src/main update to hytale update 2 2026-01-25 00:18:28 -06:00
.gitignore initial commit 2026-01-14 00:02:27 -06:00
build.gradle initial commit 2026-01-14 00:02:27 -06:00
gradle.properties update to hytale update 2 2026-01-25 00:18:28 -06:00
gradlew Initial version of the template that I shared on Slack. 2025-11-28 20:31:43 -07:00
gradlew.bat Initial version of the template that I shared on Slack. 2025-11-28 20:31:43 -07:00
README.md initial commit 2026-01-14 00:02:27 -06:00
settings.gradle initial commit 2026-01-14 00:02:27 -06:00

MovementCommands

Collection of commands for modifying player movement properties.

Features include

  • Changing speeds
  • Toggling flying without creative mode
  • Changing mass, acceleration, etc
  • Flipping gravity
  • Changing rolling related properties
  • and more!

All commands also include the ability to 'target' another player, simply specify the target player first before passing the value

Example: /movement reset <player> Example: /speed <player> <value>

I've also defined shortcuts to all 'movement' commands as well so /movement mass <value> and /mass <value> both work.

The /movement command has a base permission of server.commands.movement.command

Commands

reset

Resets all movement settings to their default values.

Usage: /movement reset

Permission: movementcommands.movement.reset,movementcommands.movement.reset.other

speed

Sets baseSpeed to the given value

Usage: /speed <value>

mass

Sets the player's mass value.

Usage: /movement mass <value>

Permission: movementcommands.movement.mass,movementcommands.movement.mass.other

dragcoefficient

Sets the player's drag coefficient.

Usage: /movement dragcoefficient <value>

Permission: movementcommands.movement.dragcoefficient,movementcommands.movement.dragcoefficient.other

velocityresistance

Sets the player's velocity resistance.

Usage: /movement velocityresistance <value>

Permission: movementcommands.movement.velocityresistance,movementcommands.movement.velocityresistance.other

acceleration

Sets the player's acceleration value.

Usage: /movement acceleration <value>

Permission: movementcommands.movement.acceleration,movementcommands.movement.acceleration.other

basespeed

Sets the player's base movement speed.

Usage: /movement basespeed <value>

Permission: movementcommands.movement.basespeed,movementcommands.movement.basespeed.other

collisionexpulsionforce

Sets the collision expulsion force.

Usage: /movement collisionexpulsionforce <value>

Permission: movementcommands.movement.collisionexpulsionforce,movementcommands.movement.collisionexpulsionforce.other

jumpforce

Sets the player's jump force.

Usage: /movement jumpforce <value>

Permission: movementcommands.movement.jumpforce,movementcommands.movement.jumpforce.other

swimjumpforce

Sets the player's swim jump force.

Usage: /movement swimjumpforce <value>

Permission: movementcommands.movement.swimjumpforce,movementcommands.movement.swimjumpforce.other

jumpbufferduration

Sets the jump buffer duration.

Usage: /movement jumpbufferduration <value>

Permission: movementcommands.movement.jumpbufferduration,movementcommands.movement.jumpbufferduration.other

jumpbuffermaxyvelocity

Sets the maximum Y velocity for the jump buffer.

Usage: /movement jumpbuffermaxyvelocity <value>

Permission: movementcommands.movement.jumpbuffermaxyvelocity,movementcommands.movement.jumpbuffermaxyvelocity.other

falljumpforce

Sets the jump force when falling.

Usage: /movement falljumpforce <value>

Permission: movementcommands.movement.falljumpforce,movementcommands.movement.falljumpforce.other

variablejumpfallforce

Sets the variable jump fall force.

Usage: /movement variablejumpfallforce <value>

Permission: movementcommands.movement.variablejumpfallforce,movementcommands.movement.variablejumpfallforce.other

airdragmin

Sets the minimum air drag value.

Usage: /movement airdragmin <value>

Permission: movementcommands.movement.airdragmin,movementcommands.movement.airdragmin.other

airdragmax

Sets the maximum air drag value.

Usage: /movement airdragmax <value>

Permission: movementcommands.movement.airdragmax,movementcommands.movement.airdragmax.other

airdragminspeed

Sets the speed threshold for minimum air drag.

Usage: /movement airdragminspeed <value>

Permission: movementcommands.movement.airdragminspeed,movementcommands.movement.airdragminspeed.other

airdragmaxspeed

Sets the speed threshold for maximum air drag.

Usage: /movement airdragmaxspeed <value>

Permission: movementcommands.movement.airdragmaxspeed,movementcommands.movement.airdragmaxspeed.other

airfrictionmin

Sets the minimum air friction value.

Usage: /movement airfrictionmin <value>

Permission: movementcommands.movement.airfrictionmin,movementcommands.movement.airfrictionmin.other

airfrictionmax

Sets the maximum air friction value.

Usage: /movement airfrictionmax <value>

Permission: movementcommands.movement.airfrictionmax,movementcommands.movement.airfrictionmax.other

airfrictionminspeed

Sets the speed threshold for minimum air friction.

Usage: /movement airfrictionminspeed <value>

Permission: movementcommands.movement.airfrictionminspeed,movementcommands.movement.airfrictionminspeed.other

airfrictionmaxspeed

Sets the speed threshold for maximum air friction.

Usage: /movement airfrictionmaxspeed <value>

Permission: movementcommands.movement.airfrictionmaxspeed,movementcommands.movement.airfrictionmaxspeed.other

airspeedmultiplier

Sets the air speed multiplier.

Usage: /movement airspeedmultiplier <value>

Permission: movementcommands.movement.airspeedmultiplier,movementcommands.movement.airspeedmultiplier.other

aircontrolminspeed

Sets the minimum speed for air control.

Usage: /movement aircontrolminspeed <value>

Permission: movementcommands.movement.aircontrolminspeed,movementcommands.movement.aircontrolminspeed.other

aircontrolmaxspeed

Sets the maximum speed for air control.

Usage: /movement aircontrolmaxspeed <value>

Permission: movementcommands.movement.aircontrolmaxspeed,movementcommands.movement.aircontrolmaxspeed.other

aircontrolminmultiplier

Sets the minimum air control multiplier.

Usage: /movement aircontrolminmultiplier <value>

Permission: movementcommands.movement.aircontrolminmultiplier,movementcommands.movement.aircontrolminmultiplier.other

aircontrolmaxmultiplier

Sets the maximum air control multiplier.

Usage: /movement aircontrolmaxmultiplier <value>

Permission: movementcommands.movement.aircontrolmaxmultiplier,movementcommands.movement.aircontrolmaxmultiplier.other

comboairspeedmultiplier

Sets the combo air speed multiplier.

Usage: /movement comboairspeedmultiplier <value>

Permission: movementcommands.movement.comboairspeedmultiplier,movementcommands.movement.comboairspeedmultiplier.other

climbspeed

Sets the player's climbing speed.

Usage: /movement climbspeed <value>

Permission: movementcommands.movement.climbspeed,movementcommands.movement.climbspeed.other

climbspeedlateral

Sets the player's lateral climbing speed.

Usage: /movement climbspeedlateral <value>

Permission: movementcommands.movement.climbspeedlateral,movementcommands.movement.climbspeedlateral.other

climbupsprintspeed

Sets the sprint speed when climbing up.

Usage: /movement climbupsprintspeed <value>

Permission: movementcommands.movement.climbupsprintspeed,movementcommands.movement.climbupsprintspeed.other

climbdownsprintspeed

Sets the sprint speed when climbing down.

Usage: /movement climbdownsprintspeed <value>

Permission: movementcommands.movement.climbdownsprintspeed,movementcommands.movement.climbdownsprintspeed.other

horizontalflyspeed

Sets the horizontal flying speed.

Usage: /movement horizontalflyspeed <value>

Permission: movementcommands.movement.horizontalflyspeed,movementcommands.movement.horizontalflyspeed.other

verticalflyspeed

Sets the vertical flying speed.

Usage: /movement verticalflyspeed <value>

Permission: movementcommands.movement.verticalflyspeed,movementcommands.movement.verticalflyspeed.other

canfly

Enables or disables the player's ability to fly.

Usage: /movement canfly <true|false>

Permission: movementcommands.movement.canfly,movementcommands.movement.canfly.other

maxspeedmultiplier

Sets the maximum speed multiplier.

Usage: /movement maxspeedmultiplier <value>

Permission: movementcommands.movement.maxspeedmultiplier,movementcommands.movement.maxspeedmultiplier.other

minspeedmultiplier

Sets the minimum speed multiplier.

Usage: /movement minspeedmultiplier <value>

Permission: movementcommands.movement.minspeedmultiplier,movementcommands.movement.minspeedmultiplier.other

forwardwalkspeedmultiplier

Sets the forward walk speed multiplier.

Usage: /movement forwardwalkspeedmultiplier <value>

Permission: movementcommands.movement.forwardwalkspeedmultiplier,movementcommands.movement.forwardwalkspeedmultiplier.other

backwardwalkspeedmultiplier

Sets the backward walk speed multiplier.

Usage: /movement backwardwalkspeedmultiplier <value>

Permission: movementcommands.movement.backwardwalkspeedmultiplier,movementcommands.movement.backwardwalkspeedmultiplier.other

strafewalkspeedmultiplier

Sets the strafe walk speed multiplier.

Usage: /movement strafewalkspeedmultiplier <value>

Permission: movementcommands.movement.strafewalkspeedmultiplier,movementcommands.movement.strafewalkspeedmultiplier.other

forwardrunspeedmultiplier

Sets the forward run speed multiplier.

Usage: /movement forwardrunspeedmultiplier <value>

Permission: movementcommands.movement.forwardrunspeedmultiplier,movementcommands.movement.forwardrunspeedmultiplier.other

backwardrunspeedmultiplier

Sets the backward run speed multiplier.

Usage: /movement backwardrunspeedmultiplier <value>

Permission: movementcommands.movement.backwardrunspeedmultiplier,movementcommands.movement.backwardrunspeedmultiplier.other

straferunspeedmultiplier

Sets the strafe run speed multiplier.

Usage: /movement straferunspeedmultiplier <value>

Permission: movementcommands.movement.straferunspeedmultiplier,movementcommands.movement.straferunspeedmultiplier.other

forwardcrouchspeedmultiplier

Sets the forward crouch speed multiplier.

Usage: /movement forwardcrouchspeedmultiplier <value>

Permission: movementcommands.movement.forwardcrouchspeedmultiplier,movementcommands.movement.forwardcrouchspeedmultiplier.other

backwardcrouchspeedmultiplier

Sets the backward crouch speed multiplier.

Usage: /movement backwardcrouchspeedmultiplier <value>

Permission: movementcommands.movement.backwardcrouchspeedmultiplier,movementcommands.movement.backwardcrouchspeedmultiplier.other

strafecrouchspeedmultiplier

Sets the strafe crouch speed multiplier.

Usage: /movement strafecrouchspeedmultiplier <value>

Permission: movementcommands.movement.strafecrouchspeedmultiplier,movementcommands.movement.strafecrouchspeedmultiplier.other

forwardsprintspeedmultiplier

Sets the forward sprint speed multiplier.

Usage: /movement forwardsprintspeedmultiplier <value>

Permission: movementcommands.movement.forwardsprintspeedmultiplier,movementcommands.movement.forwardsprintspeedmultiplier.other

wishdirectiongravityx

Sets the wish direction gravity X component.

Usage: /movement wishdirectiongravityx <value>

Permission: movementcommands.movement.wishdirectiongravityx,movementcommands.movement.wishdirectiongravityx.other

wishdirectiongravityy

Sets the wish direction gravity Y component.

Usage: /movement wishdirectiongravityy <value>

Permission: movementcommands.movement.wishdirectiongravityy,movementcommands.movement.wishdirectiongravityy.other

wishdirectionweightx

Sets the wish direction weight X component.

Usage: /movement wishdirectionweightx <value>

Permission: movementcommands.movement.wishdirectionweightx,movementcommands.movement.wishdirectionweightx.other

wishdirectionweighty

Sets the wish direction weight Y component.

Usage: /movement wishdirectionweighty <value>

Permission: movementcommands.movement.wishdirectionweighty,movementcommands.movement.wishdirectionweighty.other

falleffectduration

Sets the fall effect duration.

Usage: /movement falleffectduration <value>

Permission: movementcommands.movement.falleffectduration,movementcommands.movement.falleffectduration.other

fallmomentumloss

Sets the momentum loss when falling.

Usage: /movement fallmomentumloss <value>

Permission: movementcommands.movement.fallmomentumloss,movementcommands.movement.fallmomentumloss.other

autojumpobstaclespeedloss

Sets the speed loss when auto jumping over obstacles.

Usage: /movement autojumpobstaclespeedloss <value>

Permission: movementcommands.movement.autojumpobstaclespeedloss,movementcommands.movement.autojumpobstaclespeedloss.other

autojumpobstaclesprintspeedloss

Sets the sprint speed loss when auto jumping over obstacles.

Usage: /movement autojumpobstaclesprintspeedloss <value>

Permission: movementcommands.movement.autojumpobstaclesprintspeedloss,movementcommands.movement.autojumpobstaclesprintspeedloss.other

autojumpobstacleeffectduration

Sets the effect duration when auto jumping over obstacles.

Usage: /movement autojumpobstacleeffectduration <value>

Permission: movementcommands.movement.autojumpobstacleeffectduration,movementcommands.movement.autojumpobstacleeffectduration.other

autojumpobstaclesprinteffectduration

Sets the sprint effect duration when auto jumping over obstacles.

Usage: /movement autojumpobstaclesprinteffectduration <value>

Permission: movementcommands.movement.autojumpobstaclesprinteffectduration,movementcommands.movement.autojumpobstaclesprinteffectduration.other

autojumpobstaclemaxangle

Sets the maximum angle for auto jumping over obstacles.

Usage: /movement autojumpobstaclemaxangle <value>

Permission: movementcommands.movement.autojumpobstaclemaxangle,movementcommands.movement.autojumpobstaclemaxangle.other

autojumpdisablejumping

Enables or disables jumping during auto jump.

Usage: /movement autojumpdisablejumping <true|false>

Permission: movementcommands.movement.autojumpdisablejumping,movementcommands.movement.autojumpdisablejumping.other

minslideentryspeed

Sets the minimum speed required to start a slide.

Usage: /movement minslideentryspeed <value>

Permission: movementcommands.movement.minslideentryspeed,movementcommands.movement.minslideentryspeed.other

slideexitspeed

Sets the speed when exiting a slide.

Usage: /movement slideexitspeed <value>

Permission: movementcommands.movement.slideexitspeed,movementcommands.movement.slideexitspeed.other

minfallspeedtoengageroll

Sets the minimum fall speed to engage a roll.

Usage: /movement minfallspeedtoengageroll <value>

Permission: movementcommands.movement.minfallspeedtoengageroll,movementcommands.movement.minfallspeedtoengageroll.other

maxfallspeedtoengageroll

Sets the maximum fall speed to engage a roll.

Usage: /movement maxfallspeedtoengageroll <value>

Permission: movementcommands.movement.maxfallspeedtoengageroll,movementcommands.movement.maxfallspeedtoengageroll.other

rollstartspeedmodifier

Sets the speed modifier when starting a roll.

Usage: /movement rollstartspeedmodifier <value>

Permission: movementcommands.movement.rollstartspeedmodifier,movementcommands.movement.rollstartspeedmodifier.other

rollexitspeedmodifier

Sets the speed modifier when exiting a roll.

Usage: /movement rollexitspeedmodifier <value>

Permission: movementcommands.movement.rollexitspeedmodifier,movementcommands.movement.rollexitspeedmodifier.other

rolltimetocomplete

Sets the time required to complete a roll.

Usage: /movement rolltimetocomplete <value>

Permission: movementcommands.movement.rolltimetocomplete,movementcommands.movement.rolltimetocomplete.other

invertedgravity

Enables or disables inverted gravity for the player.

Usage: /movement invertedgravity <true|false>

Permission: movementcommands.movement.invertedgravity,movementcommands.movement.invertedgravity.other

Developer

I've created a MovementBuilder for simply constructing movement changes which can be found in the api package.