Serverside Combat is a plugin that utilizes server-side calculations to determine if a player has initiated an attack, rather than relying on the client's input. This means that every time a player swings their arm, the server checks if the player is within hitting range and is facing the target player. As a result, certain hacks like reach, hitboxes, or
killaura that allow players to hit through blocks are made completely obsolete since the server is in full control and ignores the client's input.
To harness the benefits of a server-side combat system, the plugin offers basic configurations for server owners to adjust maximum player reach beyond the vanilla limit and control whether players should be allowed to hit through blocks.
The current version of the plugin has some known bugs and limitations that may be addressed in a future update. These include:
1. The plugin does not compensate for ping in hit detection. Players with high ping (e.g., 200ms) may experience large discrepancies between their effective server-side reach and client-side hit range while moving during combat, resulting in an unfair disadvantage and frustrating gameplay for them. 2. The plugin may false flag anticheats that base their combat checks on Bukkit events, but should not flag those that are packet-based. 3. If a player is within cursor and hitting range, they may be able to simultaneously hit another player while attempting to break a block. 4. If a player is in the middle of breaking blocks while another player's hitbox enters hit range, they may be able to repeatedly hit that player while the mining remains uninterrupted. 5. Due to slight inaccuracies in hit detection, it is possible for a player to hit another player through a block even with the "hit through blocks" setting disabled. This is only known to happen when the target player's hitbox is near the edge of the block, and the attacking player is roughly 2 blocks below.
Note: Please do not use the reviews section to report issues. If you need any help with the plugin, send me a private message on SpigotMC or use the Discussion tab.