Releases: xGinko/AnarchyExploitFixes
AnarchyExploitFixes 2.7.2
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 entirelag-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
- 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
Download on modrinth
AnarchyExploitFixes 2.7.1
- Fixed Legacy jar not enabling on 1.19+
- Fixed a bug where elytra-speed would spontaneously detect higher speeds near new chunks
- 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 on modrinth
AnarchyExploitFixes 2.7.0
- 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 (#213, #211, #215, #218)
- 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 probably still need finetuning
but now you can see how the plugin sees the item's size by using: /aef bytesize <item/inventory>! - Improved performance of certain repeating operations by using caches.
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(#210).
- Added ability to set max alive ticks for custom entitytypes.
- Made Map Cursor lag patch available for 1.16+ servers.
- Made flooding machine patch available for 1.13+ 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.
- A lot more not listed here because I forgot and I'm too lazy to go over 350+ commits.
You can be sure though a lot of love and effort went into this one.
IMPORTANT! PLEASE READ:
This release comes with drastic changes to the config.yml. Make sure to back up your config before updating!
Download on modrinth
AnarchyExploitFixes 2.6.6
- Patch for TagParser server crash exploit. If you've seen the following error message appear right before your server was shutdown, you were probably targeted:
at net.minecraft.nbt.TagParser.readValue(TagParser.java:138) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:186) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:144) ~[?:?]
at net.minecraft.nbt.TagParser.readValue(TagParser.java:138) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:186) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:144) ~[?:?]
at net.minecraft.nbt.TagParser.readValue(TagParser.java:138) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:186) ~[?:?]
...
- Improved experimental godmode patch to address a recently discovered bug in the game (more to follow)
- Added bypass permission check for vehicles on netherroof
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
AnarchyExploitFixes 2.6.5
- Fixed a bug where players couldn't put ender eyes into end portal frames when banned-blocks.prevent-placing was enabled and END_PORTAL_FRAME was configured as banned on folia builds.
- Fixed a bug where horses that can carry chests were prevented from using a portal even when they were not carrying chests
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
AnarchyExploitFixes 2.6.4
- Fixed a NotImplementedException on 1.16 when using Elytra speed limit
- Fixed a bug where netherportals would be partially destroyed when using prevent-nether-roof
- Made elytra speed calculation toggleable between 3D and 2D distance (#184)
- Improved prevent-window-click-crash
- Added support for self-place in prevent-burrow
- Improved performance for old/newchunks detection in elytra speed
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
AnarchyExploitFixes 2.6.3
This update fixes remaining bypasses for the window click crash method
- Improved window click crash patch - any remaining bypass methods are now fully patched.
- Improved elytrafly speed calculation. Vertical speed is properly respected now.
- Improved elytrafly configurability. Notifysound can now be configured
- Improved redstone trapdoor crash prevention.
- Added prevention against a crash method that involves entities teleporting between worlds very quickly.
- Added experimental module against lag caused by players moving big items between inventories very fast (#170).
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
AnarchyExploitFixes 2.6.2
Folia users update!
This build fixes issues with TPS detection on Folia
- Fixed TPS Detection on Folia.
- Fixed nether-roof prevention bypass using vehicles (#179)
- Made modules using Portal events on Folia work effectively the same (Folia has broken Portal api, read the comments in the config)
- Improved elytrafly speed calculation, making it possible to manage speed for players trying to bypass it with generic Speedhacks / Timer now without them getting kicked.
- Chunk-limit for dropped items now gets checked on chunk load.
Edit: Updated build files to match fa18f91
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
AnarchyExploitFixes 2.6.1
- Fixed NoSuchFieldError when using Join/Leave messages on folia build (#177)
- Fixed BedTrap prevention not working on both builds
- Fixed IllegalStateException spamming on Folia when some modules that query entity info where active (Thanks @F3F5)
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
AnarchyExploitFixes 2.6.0
- The plugin can now check TPS per region on Folia! (#160) (Thanks @Dreeam-qwq for switching the project to gradle so the dependencies for checking TPS could be used!)
- TPS is no longer updated via a scheduled task but cached everytime it is requested.
- Removed all chat modules except for CommandWhitelist. They contained too many bypasses and where overall badly implemented.
- Removed all 1b1t options as they were used by almost no one and can easily be recreated better in a separate plugin.
- Fixed language system only producing english lang files. It is recommended to check/reset your lang folder.
- Improved BookBan prevention. The module is now able to detect any kind of large item instead of just books.
- Improved performance in Legacy build by pre-parsing XMaterials and caching them.
- Fixed and improved all combat modules. Cooldowns are more configurable now.
- Fixed and improved all chunklimit modules.
- Improved all caching- and cooldown systems where possible.
- Added logging to modules where it made sense.
- Minor overall improvements that are too small to mention.
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