Skip to content

Finish windpvp knockback preset (remove WIP) - #195

Open
xii69 wants to merge 1 commit into
Wind-Development:masterfrom
xii69:fix/windpvp-knockback-preset
Open

xii69 wants to merge 1 commit into
Wind-Development:masterfrom
xii69:fix/windpvp-knockback-preset

Conversation

@xii69

@xii69 xii69 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

What was wrong

The default windpvp knockback profile was still labeled WIP and only partly seeded. A bunch of knobs (friction, vertical limits, add-*, stop-sprint, etc.) silently fell back to field defaults, so “windpvp” wasn’t a complete, intentional preset. Also /kb wtap/add didn’t always save.

What this changes

Introduces KnockbackPresets so windpvp (and kohi) set every knob explicitly. Seeds windpvp only if missing — won’t clobber an existing knockback.yml section. Runtime default stays kohi for Nacho compat. Fixes save on wtap/add.

Why this is needed

Knockback is a core WindSpigot feature. Shipping a profile marked WIP with incomplete seeding is confusing for server owners and for anyone comparing profiles. This finishes the preset instead of pretending the TODO isn’t there.

Note: issue #126 (KB dying when a second player joins) is async knockback / separate from this preset work; maintainer already pointed at #174 for that.

Testing

KnockbackPresetsTest 4/4; explosion KB tests 4/4; compile OK.

Co-authored-by: xii69 <xii69@yahoo.com>
@cursor
cursor Bot force-pushed the fix/windpvp-knockback-preset branch from d226f89 to 09b9391 Compare October 14, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants