ModernCombat - PvP Revolution v2.7.3

Custom knockback, hitboxes, bow boosting, cooldowns, and old-school PvP mechanics for modern Minecra
Hey friends,

this update brings some new features and further optimizations to the current systems.

New features:
Configurable Golden Apple Effects (requested by Emy)

Optimizations:
Further optimization to the hit detection when fighting multiple enemies. PvP should be more responsive.
Custom Tool Damage fixed.
Totem effects fixed.
Small optimizations to the hit detection system
Fixed an issue with folia implementation
Fixed an issue with plugin not loading on 1.19
In recent versions they've modified motion‐fields for velocity packet expose as shorts instead integers. The custom knockback should now be working fine on most recent versions of minecraft
Made some improvements to pearl logic
Updated the libraries to latest version

Fixed issue with onLoad method.
Fixed issue with knockback system.
Fixed issue with Transaction packet not working properly on some versions.Used in Lag Compensation.
Fixed issue with friction values sometimes not working correctly.
Fixed issue with absurd damage calculations for potion effects (strength, weakness). Should be fixed now.

1. The damage to strength and weakness potions should be properly applied according to whether the multiplier and addend are activated. There was no change even when the modifier was 10.0.

2. There seems to be a problem with the critical side. The base damage is definitely 1, but when the critical damage value is 10.0, it should be 1 X 10.0, so shouldn't it be 10 damage? However, when the critical is triggered, it comes out as 15. I don't know why..

3. projectile damage in the configuration legacy-projectile-damage: enabled: true damage: 1.5 I activated and set the value like this as above. But the default damage on fishing rods, snowballs, etc. becomes zero. I don't know why. 4. Now that I've tested it, when I hook the fishing rod hook to the player and pull it, the player won't pull it.
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:
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.

Now potions are completely configurable and can emulate 1.8.8 behavior perfectly. Currently this is how potions sub-config looks like:

Code:
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


Made some improvements to pearl logic
Updated the libraries to latest version
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

Many other things from previous updates:
https://www.spigotmc.org/resources/⚔%EF%B8%8Fmoderncombat⚔%EF%B8%8F-knockback-hit-detection-hit-boxes-block-hitting-bow-boosting-pots-and-more.116820/
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)
Buy a license now
$13.90
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Support duration
Lifetime
Share and earn
Refer this resource and earn a 10% commission.
6,686 Views
28 Purchases
29 Downloads
Nov 23, 2024 Published
May 31, 2026 Updated
5.00 star(s)
Average rating (1)
2.3 MB File size
Open source
  1. No
DRM-free
  1. No
Unobfuscated
  1. No
Type
  1. Gameplay
  1. Patch
Game mode
  1. KitPVP
Game mode
  1. KitPVP
Game mode (legacy)
  1. KitPVP
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
Supported languages
  1. English
Includes DRM
Yes
Source access (legacy)
Closed source & obfuscated
Creator
Owner
Recommended for you
A modern Survival Games plugin with arenas, kits, loot, deathmatch, leaderboards, and full customiza
5.00 star(s) 1 ratings
30 purchases
The ultimate modular unique troll plugin. Only one you will ever need.
Not yet rated
2 purchases
A powerful chat games engine with trivia, reactions, rewards, leaderboards, hints, Discord webhooks,
Not yet rated
0 purchases
Darkness, as it was intended by Mojang.
Not yet rated
1 purchase
A ready-to-use Survival Games server setup with arenas, lobby, loot, kits, leaderboards, and full co
Not yet rated
36 purchases
Share and earn
Refer this resource and earn a 10% commission.
6,686 Views
28 Purchases
29 Downloads
Nov 23, 2024 Published
May 31, 2026 Updated
5.00 star(s)
Average rating (1)
2.3 MB File size
Open source
  1. No
DRM-free
  1. No
Unobfuscated
  1. No
Type
  1. Gameplay
  1. Patch
Game mode
  1. KitPVP
Game mode
  1. KitPVP
Game mode (legacy)
  1. KitPVP
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
Supported languages
  1. English
Includes DRM
Yes
Source access (legacy)
Closed source & obfuscated
Creator
Owner
Recommended for you
A modern Survival Games plugin with arenas, kits, loot, deathmatch, leaderboards, and full customiza
5.00 star(s) 1 ratings
30 purchases
The ultimate modular unique troll plugin. Only one you will ever need.
Not yet rated
2 purchases
A powerful chat games engine with trivia, reactions, rewards, leaderboards, hints, Discord webhooks,
Not yet rated
0 purchases
Darkness, as it was intended by Mojang.
Not yet rated
1 purchase
A ready-to-use Survival Games server setup with arenas, lobby, loot, kits, leaderboards, and full co
Not yet rated
36 purchases
Top