⚔️ModernCombat⚔️ [Knockback, Hit Detection, Hit Boxes, Block Hitting, Bow Boosting, Pots and more!] icon

⚔️ModernCombat⚔️ [Knockback, Hit Detection, Hit Boxes, Block Hitting, Bow Boosting, Pots and more!] -----

Return the old school kb, bow boosting, hit detection or make your own! Custom Combat!




Made some improvements to pearl logic
Updated the libraries to latest version
----------, Jun 9, 2025

Hey guys, new small update dropped.
It's not a major update but a lot of improvements were made to potion behavior. Now potions are completely configurable and can emulate 1.8.8 behavior perfectly. Currently this is how potions sub-config looks like:

Code (Text):
optimized-potions:
  enabled: true
  model: LEGACY
  legacy:
    speed: 0.5
    randomness-x: 0.0074999998
    randomness-y: 0.0074999998
    randomness-z: 0.0074999998
    gravity-x: 0.0
    gravity-y: 0.05
    gravity-z: 0.0
    drag-horizontal: 1.0
    drag-vertical: 1.0
    max-life-ticks: 200
    splash-radius: 4.0
    splash-shape: SQUARE
    splash-gauss-sigma: 0.5
  custom:
    speed: 1.0
    randomness-x: 0.02
    randomness-y: 0.02
    randomness-z: 0.02
    gravity-x: 0.0
    gravity-y: 0.03
    gravity-z: 0.0
    drag-horizontal: 0.98
    drag-vertical: 0.99
    max-life-ticks: 300
    splash-radius: 3.0
    splash-shape: LINEAR
    splash-gauss-sigma: 1.0
  self:
    full-intensity-on-threshold: true
    threshold: 0.75
    radius: 0.5
----------, Jun 7, 2025

Hey guys in this update I'm bringing a new system to detect lag switching!
Types of lag switch punishment are kick, hide and blind.

New knockback profiles. Please update your knockbacks.yml or copy this:
Code (Text):
defaultProfile: default

profiles:
  default:
    knockbackHorizontal: 0.4 # Base horizontal knockback multiplier when hit
    knockbackVertical: 0.4 # Base vertical knockback multiplier when hit
    knockbackVerticalLimit: 0.4 # Max allowed vertical knockback (caps upward motion)
    knockbackExtraHorizontal: 0.5 # Extra horizontal knockback when sprinting or when bonus is calculated
    knockbackExtraVertical: 0.1 # Extra vertical knockback when sprinting or when bonus is calculated
    knockbackEnchantMultiplier: 1.0 # Multiplier for knockback enchantment effect
    knockbackFriction: 0.6 # Knockback friction (divides knockback to reduce its strength)
    projectileKnockbackHorizontal: 0.4 # Horizontal knockback from projectiles
    projectileKnockbackVertical: 0.4 # Vertical knockback from projectiles
    explosionKnockbackHorizontal: 0.4 # Horizontal knockback from explosions
    explosionKnockbackVertical: 0.4 # Vertical knockback from explosions
    explosionKnockbackStraight: true # If true, explosion knockback uses direct line force
    netheriteKnockbackResistance: true # If true, netherite armor gives resistance to knockback
    knockbackNonPlayerEntities: false # If true, you can give kb to mobs
    stopSprint: true # If true, player sprint is stopped after attacking
    cancelDraggingIn: players # Prevents item dragging in inventories. Options: players, mobs, all
    arrowSpeedMultiplier: 1.0 # Speed multiplier for arrows
    fishingRodSpeedMultiplier: 1.0 # Speed multiplier for fishing rods
    enderPearlSpeedMultiplier: 1.0 # Speed multiplier for ender pearls
    otherProjectileSpeedMultiplier: 1.0 # Speed multiplier for other projectiles (e.g. eggs, snowballs)
    combatCooldown: false # If true, enables 1.9+ cooldown system for combat
    attackSpeed: 40 # Controls attack speed (higher = faster attacks). 4 = 1.9 default, 40+ = 1.8 feel
    combatHitDelay: 20 # Delay (in ticks) between registering hits. 0 = instant, 20 = classic delay

  vanilla_legacy:
    knockbackHorizontal: 0.4
    knockbackVertical: 0.4
    knockbackVerticalLimit: 0.4
    knockbackExtraHorizontal: 0.5
    knockbackExtraVertical: 0.1
    knockbackEnchantMultiplier: 1.0
    knockbackFriction: 0.6
    projectileKnockbackHorizontal: 0.4
    projectileKnockbackVertical: 0.4
    explosionKnockbackHorizontal: 0.4
    explosionKnockbackVertical: 0.4
    explosionKnockbackStraight: true
    netheriteKnockbackResistance: true
    knockbackNonPlayerEntities: false
    stopSprint: true
    cancelDraggingIn: players
    arrowSpeedMultiplier: 1.0
    fishingRodSpeedMultiplier: 1.0
    enderPearlSpeedMultiplier: 1.0
    otherProjectileSpeedMultiplier: 1.0
    combatCooldown: false
    attackSpeed: 40
    combatHitDelay: 20

  vanilla_modern:
    knockbackHorizontal: 0.4
    knockbackVertical: 0.4
    knockbackVerticalLimit: 0.4
    knockbackExtraHorizontal: 0.5
    knockbackExtraVertical: 0.1
    knockbackEnchantMultiplier: 1.0
    knockbackFriction: 0.6
    projectileKnockbackHorizontal: 0.4
    projectileKnockbackVertical: 0.4
    explosionKnockbackHorizontal: 0.4
    explosionKnockbackVertical: 0.4
    explosionKnockbackStraight: true
    netheriteKnockbackResistance: true
    knockbackNonPlayerEntities: false
    stopSprint: true
    cancelDraggingIn: players
    arrowSpeedMultiplier: 1.0
    fishingRodSpeedMultiplier: 1.0
    enderPearlSpeedMultiplier: 1.0
    otherProjectileSpeedMultiplier: 1.0
    combatCooldown: true
    attackSpeed: 4
    combatHitDelay: 20

  kohi:
    knockbackHorizontal: 0.35
    knockbackVertical: 0.35
    knockbackVerticalLimit: 0.4
    knockbackExtraHorizontal: 0.425
    knockbackExtraVertical: 0.085
    knockbackEnchantMultiplier: 1.0
    knockbackFriction: 2.0
    projectileKnockbackHorizontal: 0.4
    projectileKnockbackVertical: 0.4
    explosionKnockbackHorizontal: 0.4
    explosionKnockbackVertical: 0.4
    explosionKnockbackStraight: true
    netheriteKnockbackResistance: false
    knockbackNonPlayerEntities: true
    stopSprint: true
    cancelDraggingIn: players
    arrowSpeedMultiplier: 1.0
    fishingRodSpeedMultiplier: 1.0
    enderPearlSpeedMultiplier: 1.0
    otherProjectileSpeedMultiplier: 1.0
    combatCooldown: false
    attackSpeed: 4
    combatHitDelay: 20

  badlion:
    knockbackHorizontal: 0.35
    knockbackVertical: 0.35
    knockbackVerticalLimit: 0.4
    knockbackExtraHorizontal: 0.425
    knockbackExtraVertical: 0.085
    knockbackEnchantMultiplier: 1.0
    knockbackFriction: 2.0
    projectileKnockbackHorizontal: 0.4
    projectileKnockbackVertical: 0.4
    explosionKnockbackHorizontal: 0.4
    explosionKnockbackVertical: 0.4
    explosionKnockbackStraight: true
    netheriteKnockbackResistance: false
    knockbackNonPlayerEntities: true
    stopSprint: true
    cancelDraggingIn: players
    arrowSpeedMultiplier: 1.0
    fishingRodSpeedMultiplier: 1.0
    enderPearlSpeedMultiplier: 1.0
    otherProjectileSpeedMultiplier: 1.0
    combatCooldown: false
    attackSpeed: 4
    combatHitDelay: 20

  lunar:
    knockbackHorizontal: 0.35
    knockbackVertical: 0.35
    knockbackVerticalLimit: 0.4
    knockbackExtraHorizontal: 0.425
    knockbackExtraVertical: 0.085
    knockbackEnchantMultiplier: 1.0
    knockbackFriction: 2.0
    projectileKnockbackHorizontal: 0.4
    projectileKnockbackVertical: 0.4
    explosionKnockbackHorizontal: 0.4
    explosionKnockbackVertical: 0.4
    explosionKnockbackStraight: true
    netheriteKnockbackResistance: false
    knockbackNonPlayerEntities: true
    stopSprint: true
    cancelDraggingIn: players
    arrowSpeedMultiplier: 1.0
    fishingRodSpeedMultiplier: 1.0
    enderPearlSpeedMultiplier: 1.0
    otherProjectileSpeedMultiplier: 1.0
    combatCooldown: false
    attackSpeed: 4
    combatHitDelay: 20

Fixes with packet crystals
Lag compensation improvements. Combat should now feel much faster and more responsive.
Improvements to the general code.
Much more that I forgot
----------, Jun 3, 2025

Final patch dropped for tool damages. I forgot to update my map when I populated the config entries. This bug should now be resolved.

Also added new config option for lag compensation which allows users to toggle it to update locations on playermoveevent although I don't recommend it if you have a lot of players or weak hardware

Patched errors with packet crystals
----------, May 28, 2025

Bug fix with hit detection when players couldn't hit other player was fixed

Future upcoming updates:
New Lag Compensation system
Lag Switch Detection system
----------, May 27, 2025

Hey friends, new update dropped (2.2!)

New features:
- Configurable potion effects for legacy pvp
- Configurable weapon damage for legacy pvp
- Sweep attack calculation when using custom combat
- Some more things.

Bug fixes:
[​IMG]
[​IMG]
----------, Apr 16, 2025

Fixed the issue with knockbackconfig not being initialized properly and causing errors with PlayerMoveEvent and WorldGuard Hook
Fixed issues with sounds being disabled while they're already disabled
----------, Mar 29, 2025

New update 2.1 dropped with some bug fixes and new features.

Bug fixes:
Fixed bug with sprinting being preserved even when disabled
Fixed bug with inventory hotswapping not working when legacy pvp is enabled.
Fixed bug with sound packets not being registered properly.
Fixed bug with library dependency injection not working correctly with external libraries.
Fixed bugs with worldguard. Hit detection was disabled by default.
Fixed bugs with optimized critical hits system.


New features:
- Animatium, lunar client, badlion client support for 1.8 hit registration
- Player Feature system that allows users to disable certain plugin features for specific players using /playerfeature command
- Fast crystal packet system that allows users to fight with crystals much more fluently
- Upgraded packet knockback system with more features
- Drastically improved bow boosting logic
- Added new API methods that allows external developers to work with the plugin much more easily ( dev.bytecore.moderncombat.api)
----------, Mar 29, 2025

Just a few hotfixes:
Fixed enderpearl cooldowns not shooting enderpearls
Fixed custom anchor and ender crystal explosions
Fixed a bug with gui system
A few more things
----------, Mar 9, 2025

Hello my friends, the new major update dropped bringing plenty of new features and bug fixes.

Plugin is now native to 1.21. And we removed support for 1.18 due to drastic packet changes.
Also the name of the plugin changed to ModernCombat (formerly ModernKnockback)


New features:
  • Block-hitting / Sword Blocking (1.21.4+ only)
    With the new minecraft update it's now possible to bring back block hitting like it was in 1.8.8. We're using NBTEditor and ProtocolLib to make this possible. It's also possible to modify how much damage you'd like to block when player is blocking with a sword.
  • Legacy Mechanics
    Legacy mechanics such as legacy tool damage, legacy potions, off hand disabling, elytra disabling, lapis enchanting, legacy burn delay, legacy health regen, legacy saturation, legacy armor, legacy projectiles etc...So there's no need to use other plugins to achieve this anymore!
  • Better Spectator System
    This is extremely useful for minigame servers who don't want to create custom spectator mode but also don't want people to teleport or have no-clip when they're in Gamemode.SPECTATOR. We fixed it using packets. Players in spectator mode now won't be able to go through blocks, can't teleport to players and can interact with inventory items!
  • Anti-Glitch Pearls
    Implementation of anti-glitch pearls to modern versions.
  • Fast Crystal
    Using packets we allow users to place and destroy crystals much faster, that allows users to place them rapidly
  • Knockback-Sync (Beta)
    Implementation of knockback-sync system that is latency agnostic to our Knockback system. Will result in the same knockback despite the users latency or any other factors. This is still in beta and bugs can occur. It's our own implementation of this feature.
  • Module for item behaviors
    Items like shields, end crystals, respawn anchors, totems are completely configurable now and can be modified to fit your specific needs. For example custom explosions, custom explosion damage, shields can be disabled by arrows, fishing rods.
  • Cooldown system
    Completely configurable cooldown system with 3 presets for god apples, enderpearls, totems (can be removed). Can be modified in cooldown.yml to add new cooldowns.
  • New Legacy Swimming mode
    Now you can enable legacy swimming to disable the swimming animation. We use packets to achieve this so it's completely safe server-side.
  • Configurable critical hits
    We've made it so criticals hits are completely configurable and we removed old criticals from the game
  • And much more! Check and see.

Improvements and bug fixes:

  • Bedrock aim assist now uses packets to change yaw and pitch of the user. player#setRotation was unstable and didn't work correcly.
  • Improved the bow boosting logic.
  • Improved GUI. Now the plugin knockback is completely GUI based!
  • Improved Server Side Hit Detection packet handling.
  • Added fishingRod specific knockback configuration options for knockback system.
  • Plugin now uses Dependency Injection and Automatic dependency installation to drastically reduce file size and improve buyer experience.
  • New lag compensation mechanism for knockback sync and hit detection.
  • Old sound effects (removed new combat attack sounds)
  • Removed DRM.
  • And much more. Check and see!
----------, Mar 7, 2025

Quick update that now plugin follow SpigotMC's strict ToS when it comes plugin anti-piracy.

Also added the new GUI system. Now /knockback command has a new gui system if not arguments are presented. This is still under development and testing. But let me know if everything works as intended. If any small bugs appear I'll fix them asap.
----------, Nov 21, 2024

Fixed a bug with reflection on 1.21.1.
I recommend everyone who runs this on 1.21+ to update.
----------, Oct 2, 2024

Hey guys,
in this update I've added the beta feature to disable modern swimming. Let me know if it works properly. It's disabled by default.

Also I fixed certain things that were reported by customers and added automatic updating configuration in case I add some new things you won't have to bother to add it manually!
----------, Sep 23, 2024

Hello dear buyers.

In this update I added custom potion settings and live editing of knockback settings. I've also optimized default bowboosting settings for new buyers. If you have any suggestions please leave them in the support discord server.

Please add following options in your config.yml in case it doesn't auto update (it should)

Code (Text):
custompotions:
  enable-custom-custompotions: true
  potion-speed: 1.0
  potion-angle: 45.0
  round-up-effect: true
  round-up-percent: 0.50
----------, Aug 12, 2024

Hotfix for 1.21 issue with reflector
----------, Aug 11, 2024

Add new feature called stopSprint. If you're an existing user of ModernKB, update your kb settings to this format or add new features.

Code (Text):
defaultProfile: default

profiles:
  default:
    knockbackHorizontal: 0.3
    knockbackVertical: 0.3
    knockbackVerticalLimit: 0.34
    knockbackExtraHorizontal: 0.3
    knockbackExtraVertical: 0.2
    netheriteKnockbackResistance: true
    knockbackNonPlayerEntities: true
    stopSprint: false
    cancelDraggingIn: players
    projectileSpeedMultiplier: 1.0
    combatCooldown: false
    attackSpeed: 40
    combatHitDelay: 20
  customProfile:
    knockbackHorizontal: 0.3
    knockbackVertical: 0.3
    knockbackVerticalLimit: 0.3
    knockbackExtraHorizontal: 0.4
    knockbackExtraVertical: 0.2
    netheriteKnockbackResistance: false
    knockbackNonPlayerEntities: true
    stopSprint: true
    cancelDraggingIn: mobs
    projectileSpeedMultiplier: 1.2
    combatCooldown: true
    attackSpeed: 4
    combatHitDelay: 15
Also I improved the handling of knockback. It's more optimized now.
----------, Aug 4, 2024

Fixed bugs reported by customers in my discord support server!
Also added a few new features!
1. Old Combat system and it's completely configurable!
- Attack Delay
- Hit Delay
2. Silent Aim for bedrock users.
- This is a feature that was requested by one customer and I liked the idea so I decided to add it! Basically like in modern games (like fortnite) there is silent aim for console and mobile players. With this plugin you can now also get silent aim assist for bedrock players who are mobile and consoles!
3. 1.21 support
----------, Jul 31, 2024

I've added and changed quite a lot of things internally. Fixed bugs that were reported on my support discord.
Added beta knockback profiling system and worldguard support for the same.
Extended the API features so now you can modify the knockback of the player through the API function: ModernKnockbackAPI#changeKnockback(UUID playerUUID, String knockbackName). This is very useful for people who want to incorporate modernknockback in their system like practice or pvp plugins.
Many more features that I forgot to remember.
----------, Jun 26, 2024

Forgot to register the Async Hit Detection system properly.
----------, Jun 16, 2024

Plugin is now deemed stable. If you encounter any bugs, please report them on our support discord.
----------, Jun 15, 2024

Optimized hitbox tracking and some new features. If you have any new idea, just let me know :)
----------, Jun 14, 2024

Resource Information
Author:
----------
Total Downloads: 34
First Release: Jun 12, 2024
Last Update: Jun 9, 2025
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings