Changelog:
- Added 1.21.1 compatibility (#232)
- Made map-cursor-lag-patch work on 1.12.2
- Replaced low-tps-physics modules with regional-activity modules. Any sort of activity that has the potential to lag or kill the server when happening at high frequencies can now be individually managed and configured. The base concept for this was suggested by @xKumorio (3b3t.org): Any time an activity is happening for the first time, the plugin will check in a radius around it for more activity of the same kind. If it exceeds a certain count within the configured timeframe, all activity in that radius (region) will be cancelled.
The only catch: Config defaults are pretty rough and will most likely need individual adjustments. Tests with a variety of lagmachine designs were pretty promising though. I would very much recommend to check out the entire
lag-preventions.regional-activity
section. - Added a module against lag generated by forcing the server to send large ItemStacks. (Ex. fill chest with books, spam open chest). This is especially a problem with older game versions. Previous modules that were basically a worse attempt at fixing this issue have been removed in favor of this one. Basically works like an anti-spam that starts taking action once the player is exceeding a certain byte-size of requested data within a timeframe. Players will first be rate-limited and if they keep requesting data, locked out from requesting more for a configurable time.
- Replaced all deprecated NBT-API calls with the new ones. This makes AEF handling NBT more reliable.
- Added an illegal item module against illegal potion effects
- Added an illegal item module against illegal item attributes
- Fully reworked configurations for Crystal Aura, Anchor Aura and Bed Aura: You can now set place and break cooldowns per Hand on the Folia jar!
- Added a patch against MultiTask
- Rewrote the patch against SilentSwitch
- Improved the burrow patch slightly for more configurability
- Added a patch against PortalGodMode (#157)
- Improved compatibility with lower game versions by using reflections for TPS and MSPT. This also improved compatibility with unsupported older versions.
- Improved world height configuration and detection for Legacy users
- Fixed AEF being unable to detect player respawns on Folia
- Code optimizations and performance improvements
- Fixed a bug where elytra-speed would spontaneously detect higher speeds near new chunks
- Fixed Legacy jar not enabling on 1.19+
- Added setting for speed check period in ticks for elytra-speed
- Fixed a few rogue config options
- Improved speed of keep-stash-chunks-loaded
- Added misc module to re-create SPIGOT-5988, also known as auto-bed (Thanks to @xKumorio) This module lets you recreate a bug that allows players to tactically block their bed with a shulker to travel to spawn and back without using pearls or multiple accounts.
Download notes:
For Paper 1.20 - 1.21 and Folia, use the -Folia.jar For Paper 1.12.2 - 1.19.4, use the -Legacy.jar
- Added support for handling packets across all minecraft versions by switching to PacketEvents! You will need the latest packetevents jar installed to run the new release. Additionally, update all installed Via plugins.
- Added support for 1.20.5 - 1.21
- Added kick and logging options to all packet modules.
- Added patches for purpur beehive_c2s crash, invalid sequence crash and sign lag.
- Added protection against more tab-completion lag/crash methods.
- Fixed and improved CommandWhitelist TabComplete filter for all versions from 1.12.2 - latest
- Fixed and improved Beehive coordinate patch.
- Rewrote all illegal item modules. WARNING: THE ENTIRE ILLEGALS CONFIG SECTION WILL BE RESET! AEF will now only try to prevent illegals from being used by default. Deleting/Reverting them will have to be re-enabled if desired. Additionally, each illegal item check now offers their own bypass permission.
- Improved detection of elytra-speed. This should fix a few bypasses.
- Improved accuracy of old/new chunk detection for legacy users.
- Improved the plugin's ability to read stored Items from an ItemStack (ex. Bundle, Shulker)
- Improved Command Sign patch. 1.16 and later will no longer have issues with dying signs while the patch is enabled!
- The state of /toggleconnectionmsgs now properly persists throughout restarts! Players will no longer have to use the command once again after a server restart.
- Improved calculation of item bytesize. The values will most likely still need to be tweaked but now you can see how aef sees the item's size by using: /aef bytesize <item/inventory>!
- Improved performance of certain repeating operations by implementing packetevenpppcaches. This should fix lag for a variety of modules.
- Fixed and improved the ant-book-ban module. It is advised to let the plugin regenerate the config file to get the new defaults. You can also just delete the book-ban section and reload.
- Improved the /aef lag command on folia
- Added ukraninian translation by (@F3F5)
- Added modules to help combat lag caused by large dupe stashes being loaded or destroyed. Both are considered experimental so any feedback is appreciated.
- Added a module that implements a cooldown to inventory holder interactions (lag-preventions.prevent-inventory-open-spam) Please note that all it does is act as an interaction-antispam. Values will have to be adjusted differently for each server.
- Added a patch against a pearl phase exploit involving cobwebs and similar blocks.
- Added ability to set max alive ticks for custom entitytypes.
- Made Map Cursor lag patch available for 1.16+ servers.
- Various improvements to logging with better readability in mind.
- Improved and reworked all comments within the plugin's config.yml
- Large amounts of internal code refactoring and shuffling for better performance and readability.
- Reduced jar filesize from ~20MB to just over 5MB.
IMPORTANT! PLEASE READ:
This release comes with drastic changes to the config.yml. Make sure to back up your config before updating!
Download notes:
For Paper 1.20 - 1.21 and Folia, use the -Folia.jar For Paper 1.12.2 - 1.19.4, use the -Legacy.jar
- Fixed
java.lang.IllegalStateException: Accessing entity state off owning region's thread
in Folia/Kaiiju 1.20.4 (#192, #180) NOTE: Due to recent changes in Folia, this could only be done by increasing the amount of tasks that are being scheduled, so your memory usage might slightly increase with this build. - Fixed lang files not generating on windows (#178, #189), credit goes to @F3F5 for providing the necessary information
- Improved TagParser crash check.
- Changed how AEF checks for TPS on Folia. This could positively affect performance.
- Folia builds can now understand &-codes to a limited degree.
Edit: reuploaded folia build due to a mistake with chatcolor translation.
Download notes: For Paper 1.20 - 1.20.4 and Folia, use the Folia jar For Paper 1.12.2 - 1.19.4, use the Legacy jar