Build 418 - Improved Lag Leniencies & KillAura Check Correction
News:
Spartan’s lag leniencies have largely improved by having their purpose rearranged. Many calculations were removed where they were no longer needed or simply never needed. This will help with dealing with hackers that use ping-spoof modules to increase their latency in order to give themselves an unfair advantage.
A major was found in one of Spartan’s objects that caused a number to not increase, resulting in a big part of the KillAura check to not work properly or at all. This has been fixed, so you should expect better & faster detections.
Logs:
Completely rewritten the lag leniencies of the plugin to work in par with the server’s needs instead of limit calculations.
Corrected several 1.17+ movement false positives caused by the brand new light block.
Corrected a major bug in the Buffer object that prevented most of the KillAura check from working properly.
Corrected several HitReach horizontal false positives caused by the MythicMobs plugin.
Corrected a minor bug that kept unbanned players in the ban list.
Greatly optimised the Violations feature & Player utils with unnecessary code removals & less memory usage.
Slightly optimised the Permissions system & Hack Prevention object handler with less memory usage.
Slightly optimised the Search Engine, Shulker Box handlers & Ground, Player utilities with faster methods.
Slightly optimised the Timer, Cooldowns & Decimals objects with less method calls.
Corrected a bug in the Latency system that allowed a small part of the protection to function regardless of being disabled.
Corrected a cache bug in the Manage Checks inventory menu that prevented changes from taking place.
Greatly improved the Math utilities by ditching java methods for more optimised custom methods.
Slightly optimised the Movement listener with less variables per event.
Slightly improved the Gamemode handler with prevention of unnecessary calls.
Noticeably improved the Spartan Location & Spartan Block objects with storage for the Spartan Player object.
Noticeably optimised the Block utilities with more optimised directional & traced locations algorithms.
Corrected a major Fly stable horizontal bypass.
Corrected a ProtocolLib compatibility no-such-method console error.
Slightly optimised the Spartan Location object with more useful methods.
Slightly optimised the Spartan Location object with a faster block retrieval method.
Greatly optimised the Minigame Maker compatibility to search for less incompatible items when not enabled.
Potentially corrected several MorePackets instant movement false positives.
Noticeably improved the Violations feature with a safer tick skipping method.
Potentially corrected a few remaining Jesus ypos false positives.
Significantly decreased the amount of location calls and ground calculations by using light Bukkit methods when possible.
Potentially corrected several IrregularMovements step false positives caused by the Building handler.
Removed the secret way to delete a player’s violation history and added it apparently in the Player Info inventory menu.
Implemented a new messages.yml configuration option. (player_stored_data_delete_message)
Noticeably improved & optimised the GhostHand check with faster performance and more stable calculations.
Noticeably improved the Developer API with prevention of some calls in test servers.
Slightly improved the Spartan inventory menu with removal of unnecessary descriptions.
The Cancel Violation handler will now always prevent a player when they are identified as hackers.
The Punishment algorithm will now be considered with higher severity when a check is found to be problematic.