SmashHitX 0.1.3

Smart Fast Async Hit Detection (With Compatibility)

  1. Steviebeenz
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    Source Code:
    frash23, hasanas83V2001
    • Async, Customisable Hit Detection
    • Free
    • 1.8 Support (1.12-1.16 Support Coming Soon!
    • SmashHitX sends hit animations on the tick

    Notice about some experimental modifications:
    This plugin messes with some internals and can cause server crashes on some spigots and underpowered servers. Be aware of this and if it doesn't work on your server this plugin probably won't be the plugin for you

    A good Explainer from the Original Author's page:

    What's wrong with the default hit processor?
    There's nothing wrong with it, but it can be improved.

    To my knowledge, there are two deficiencies:

      • Hits are processed in the current tick stack, not on demand *
      • There is a (pretty low) max clicks-per-second (aka CPS) limit hardcoded into the server
    * = This is the main focus of the plugin and is explained in the What does async hit pre-processing mean section.

    The CPS limit is automatically bypassed when we process hits on our own. SmashHit's configuration allows you to set your own preferred CPS. The CPS limit in SmashHit will keep counting a player's CPS even if the limit is reached, however they will be denied further hits - this way a hacker spamming clicks will lock himself out of combat.

    What does async hit pre-processing mean?
    The Minecraft server has a "stack" of operations to carry out, called the "tick stack". When new operations have to be carried out, they are added to the tick stack. The tick stack is processed 20 times every second. That means any operation can unnecessarily take an additional 50ms! This can be felt by some people in PvP, which is what this plugin aims to solve. Some big PvP servers already deploy a similar feature. (The animation is still processed in the tick stack to avoid compatibility issues)

    SmashHit listens for hit requests and processes them independent of the tick stack! Actual damage is still synchronized to the Minecraft server (as damaging players isn't thread-safe), but the hit register is carried out by SmashHit - this means you can hit a player as frequently as the network can handle. SmashHit, of course, has an inbuilt configurable rate limiter.

    Review Section:
    Please do not report your bugs and similar in the review section. Either DM me here on Spigot, make an issue on GitHub or use the discussion tab.

Recent Updates

  1. Fix Crash
  2. Crash Bugfix
  3. 1.12 Support, Messages Fixes

Recent Reviews

  1. Skellex15
    Version: 0.1.2
    Im getting crashes too about every other day and lots of lag. We are using paperspigot if that helps
  2. Skellouts
    Version: 0.1.0
    this plugin keeps randomly crashing my server with no error. it just freezes and stops.
  3. xQyc
    Version: 0.0.1
    Great plugin updated by a great dev, we decided to have our combat done async to reduce the lag due to every hit and this plugin worked perfectly for us and had no issues for us!
    1. Steviebeenz
      Author's Response
      Ty for review. Enjoy the plugin :)