News:
- Spartan’s Verbose & Mining notifications have been replaced by a unified notification system. A player can now only toggle notifications and change their frequency. If a player has the default notification frequency, they may be more notified about certain players depending on how close they are to them.
- Spartan’s movement processes are split in two, the ones who run in events and ones who run in schedulers. This update provides a significant & apparent performance improvement on top of all the previous, by moving 99% of movement processes to events, which will prevent unnecessary calls, reduce memory usage, and reduce performance waste from similarly collected data.
- Spartan’s data utilities, also known as Cooldown, Millis, Double, Attempts & Tracking, have been rewritten as objects, which will greatly help a server’s garbage collector to manage them and prevent high memory usage. This should also help the plugin’s general performance by requiring less cycles when searching for information.
Logs:
- Corrected a few Clip instant trident false positives.
- Slightly reduced the method calls of the Cloud feature.
- Corrected a few Exploits undetected movement invulnerable player false positives.
- Corrected a rare Spartan Player object concurrent modification console error.
- Slightly optimised the Spartan Player object with more compact schedulers.
- Slightly improved the Debug feature with shorter & better descriptions.
- Noticeably improved the Movement listeners with replacement of schedulers with events.
- Corrected dozens of Exploits ping-spoof packets false positives caused by Purpur forks.
- Corrected a few Exploits ping-spoof prediction false positives caused by low calculations.
- Corrected a few Fly stable soul-sand false positives.
- Potentially corrected a few ElytraMove speed & fly firework false positives.
- Slightly improved the Cache system with more accurate usage statistics.
- Corrected a few KillAura area unsafe advantage false positives.
- Greatly improved the Player utilities with less memory calls & more accurate methods.
- Corrected a few Jesus speed jumping in water false positives.
- Item Attributes compatibility will now automatically enabled if Mythic Mobs compatibility is detected.
- Potentially corrected a few Exploits undetected movement player push false positives.
- Noticeably improved the Elytra Glide handler with a new firework cooldown system.
- Greatly optimised the Sprint check with custom instead of native object calls.
- Noticeably optimised many Protections & Handlers by moving them off the main thread.
- Corrected a few IrregularMovements jump auto-jump false positives.
- Corrected a few MorePackets instant detection elytra false positives.
- Completely rewritten the Cooldown, Millis, Double, Attempts & Tracking as objects.
- Slightly improved the Spartan Bukkit system with less memory calls and more dynamic methods.
- Slightly optimised the Plugin Ticks handler with more pre-calculated variables.
- Noticeably optimised the Clip check with less method calls.
- Corrected a few Exploits chunk updates vehicle false positives.
- Verbose & Mining notifications have been replaced by a single notification system that may adjust itself based on distance from the spectated player.
- Replaced some language.yml & settings.yml options with new ones.
- Deprecated 5 API methods and replaced them with 3 new ones.
- Implemented a new permission named “spartan.notifications” for the new unified notifications.
- Permissions “spartan.verbose” & “spartan.mining” will remain compatible and replace “spartan.notifications”.
- The Background API’s methods will no longer be accessible as it should have been from the beginning.
- Implemented a new checks.yml configuration option. (Clip.check_abstract_blocks)
- Corrected a Fly stable 1.12 server semi-solid block bridging issue.
- Noticeably improved & optimised the Teleport Protection feature with a faster WorldGuard compatibility & vulnerability patches.
- Noticeably optimised the Block utilities with less location calls & less memory usage.
- Noticeably improved the Manage Checks inventory menu with more compact & organised item descriptions.
- Corrected a few BlockReach break sensitive block false positives.
- Greatly improved the BlockReach check with better calculations and more detailed verbose information.
- Slightly optimised the Default Configuration handler with faster methods.
- Greatly improved the Configuration Recommendations feature with more & better recommendations.
- Slightly improved the Math utilities with new useful methods.
Language.yml Changes:
Code (Text):
Removed:
verbose_message
mining_message
Added:
detection_notification
mining_notification
Settings.yml Changes:
Code (Text):
Removed:
Notifications.enable_verbose_notifications_on_login
Notifications.enable_mining_notifications_on_login
Notifications.individual_only_verbose_notifications
Notifications.output_silent_check_verbose
Notifications.output_uncertain_check_verbose
Added:
Notifications.enable_notifications_on_login
Notifications.individual_only_notifications
Notifications.send_silent_notifications
Notifications.send_uncertain_notifications
API Changes:
Code (Text):
Deprecated:
hasMiningNotificationsEnabled()
setMiningNotifications()
hasVerboseEnabled()
setVerbose() x2
Added:
hasNotificationsEnabled()
setNotifications() x2