Skip to main content

Configuration

Use /dodgemodsettings in-game to adjust most settings live through the admin UI. Configuration is also stored in mods/Perfect_Dodges/dodge_config.json if you prefer to edit the file directly (requires server restart).

Config Options

Timing & Cooldown

OptionDefaultDescription
dodgeCooldownMs500minimum time between dodges (ms)
iFrameDurationMs200invincibility frame duration (ms)

Movement

OptionDefaultDescription
horizontalVelocity20.0dash movement speed
verticalVelocity0.1small upward force during dodge
dodgePreset2distance preset: 1=Short, 2=Standard, 3=Far
useVelocityfalsemaintain velocity during interaction chain

Stamina

OptionDefaultDescription
staminaCost1.5stamina consumed per dodge

Air Dodge

OptionDefaultDescription
allowAirDashfalseallow mid-air dodging (1 per airborne period)

Ability Key Bindings

OptionDefaultDescription
useSprintKeytruebind dodge to the Sprint key
useAbility2falsebind dodge to Ability 2 key
useAbility3falsebind dodge to Ability 3 key
overwriteAllAbilitiesfalsereplace existing native abilities on items
warning

Changes to useSprintKey, useAbility2, useAbility3, overwriteAllAbilities, and dodgePreset require a server restart to take effect. All other settings can be hot-reloaded via the admin UI.

Sprint-Walk Mode

These options only apply when useSprintKey, useAbility2, and useAbility3 are all disabled, activating the sprint-walk mode.

OptionDefaultDescription
sprintTapThresholdMs0sprint tap-and-release threshold (0 = instant)
walktruewalk key triggers dodge
sprinttruesprint key triggers dodge

Animation Style

OptionDefaultDescription
rollfalseenable Roll animation style
twirlfalseenable Twirl animation style
flipfalseenable Flip animation style
info

When all three are false (the default), the mod uses reactive animations that change based on where incoming hits land. See Dodging Mechanics for details. When multiple styles are enabled, the mod randomly picks one each dodge.

Creative Mode

OptionDefaultDescription
disableCreativeDashfalsedisable dodging in Creative mode

Live Editing

The /dodgemodsettings command opens an interactive settings UI where admins can change most settings without restarting the server. See Commands for details.