Home›Java›Mods›KBControl
KBControl
ModsJava

KBControl

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by volcqnn · on Modrinth

A powerful and highly customizable knockback plugin designed to give server owners full control over combat physics.

⬇ Download on Modrinth

KBControl (Paper)

KBControl is a small PaperMC PvP plugin for controlling combat knockback. It intercepts player velocity packets received shortly after tracked entity damage and scales the horizontal and vertical knockback components independently, making it useful for practice servers, PvP balancing, and custom knockback experiments.

The plugin may have issues with anti-cheats. use with caution.

Features

Dependencies

Installation

  1. Install a compatible Paper server.
  2. Install the PacketEvents plugin on the same server.
  3. Build or download the KBControl/CustomKB JAR.
  4. Place the JAR in your server plugins/ directory.
  5. Start the server once to generate the default plugins/CustomKB/config.yml.
  6. Edit the generated config or use /kb set ... in game/console.
  7. Run /kb reload after manual config changes.

Quick start

/kb get
/kb set horizontal 0.9
/kb set vertical 1.05
/kb reload

The defaults are neutral multipliers, so vanilla/server knockback is left unchanged until you set a different value.

Commands

All commands require customkb.command.knockback.

Command Alias Arguments Behavior
/knockback get /kb get none Shows current horizontal and vertical multipliers.
/knockback set horizontal <value> /kb set horizontal <value> value is a decimal number >= 0.0 Saves the horizontal multiplier.
/knockback set vertical <value> /kb set vertical <value> value is a decimal number >= 0.0 Saves the vertical multiplier.
/knockback reload /kb reload none Reloads values from config.yml.

There is no separate help subcommand in the current source.

Permissions

Permission Default Covers
customkb.command.knockback op Access to every /knockback and /kb subcommand.

Configuration

Generated default:

knockback:
  # Multiplier applied to the horizontal (X/Z) component of combat knockback.
  horizontal-multiplier: 1.0
  # Multiplier applied to the vertical (Y) component of combat knockback.
  vertical-multiplier: 1.0

Practical PvP example:

knockback:
  # Slightly reduce sideways/backward movement.
  horizontal-multiplier: 0.85
  # Keep upward lift close to default.
  vertical-multiplier: 1.0

How to read multiplier values:

Command input is limited to values >= 0.0. Manual config edits are loaded as doubles with a fallback default of 1.0; the current source does not add extra validation or clamping when reading the file.

How knockback control works

Minecraft uses entity velocity packets to communicate motion, including combat knockback. KBControl tracks player victims of non-cancelled EntityDamageByEntityEvent events, keeps that pending combat-knockback marker for 250 milliseconds, and consumes it when the player receives their own ENTITY_VELOCITY packet.

When the packet matches, the plugin rescales the velocity like this:

newX = oldX * horizontal-multiplier
newY = oldY * vertical-multiplier
newZ = oldZ * horizontal-multiplier

This keeps horizontal and vertical tuning independent while avoiding most non-combat velocity changes.

Behavior and limitations

Usage examples

Show current settings:

/kb get

Make PvP knockback lower and flatter:

/kb set horizontal 0.75
/kb set vertical 0.8

Create high-lift practice knockback while leaving horizontal movement unchanged:

/kb set horizontal 1.0
/kb set vertical 1.4

After editing config.yml manually:

/kb reload
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more