AnarchyExploitFixes

Fix exploits on anarchy Minecraft servers

GPL-3.0 License

Stars
273
Committers
33
AnarchyExploitFixes - 1.18.20 - NoCom bypass

Published by moom0o about 3 years ago

Read the last release notes if you haven't already updated.

  • Prevent supposed nocom bypass, check Use item packet as well.
AnarchyExploitFixes - 1.18.19 - Monthly release

Published by moom0o about 3 years ago

Development is probably going to slow down because I have school, there will probably only be a release at most each month, or when a new exploit is discovered.

  • Add minimum distance to vanish player when teleporting - Useful so player's don't teleport a ton of times to make tablist go crazy.
MinDistanceToVanishPlayer: 100 # Minimum distance to vanish player when teleporting, useful to prevent players from teleporting very fast in the same spot and making the tablist go crazy.
  • Add first join message (#38) - Disabled by default.
EnableFirstJoinMessage: false
FirstJoinMessage: "&7%player% joined the game for the first time. They are %players_num% to join." # %players_num% is how many players have joined the server + the current one (ex. 351th)
  • Add antispam for commands as well - Enabled by default:
AntiSpamCommands: true # Use the same antispam options for commands aswell.
  • Add anti nether roof meant for public servers and not just mine.
# This will automatically teleport players below nether roof if they are too high. Use permission node anarchyexploitfixes.netherroofbypass to bypass
PreventNetherRoof: false
  • Remove config boolean check for old/never used config option. (PreventGoingBelowBedrockFloorOnElytra). Proper config option is PreventGoingBelowBedrockFloor.
  • Attempted work on kickphrase command - still seems to be broken. Not that big of a feature to waste time fixing.
AnarchyExploitFixes - 1.18.18 - RemoveWitherHeadsAutomatically, PreventTooManyEntitiesInChunk

Published by moom0o about 3 years ago

  • Add option to remove wither heads after x ticks or after chunk unloads, whichever comes first.
RemoveWitherHeadsAutomatically: true # Experimental: Will remove wither heads on chunk unload or if its been longer than x ticks
RemoveWitherHeadsAutomaticallyTicks: 200 # 10 seconds
  • Add option to prevent too many (non living) entities in chunks, useful if players place a ton of crystals etc in one chunk to crash the server.
PreventTooManyEntitiesInChunk: false # Check all chunks every 30 seconds for too many entities, removes any entities left after reaching limit
MaxEntitiesInChunk: 100 # Does not include living entities. (animals/monsters) useful if players are placing a shit ton of crystals etc in one chunk and crashing the server.
LogEntityRemovals: false
EntityCheckTimeTicks: 20 # 1 second
  • Slight performance improvements
AnarchyExploitFixes - 1.18.17 - End Portal Frames & Code improvements

Published by moom0o about 3 years ago

  • Add back end portal frames to the antiilegals, this was removed because the server thought players were placing end portal frames when activating portals, now it will only prevent placing end portal frames, placing eyes of ender is fine now.
  • Antiillegals will now look inside ender chests.
  • Add another argument to /aef lag. You can now customize the time it freezes for. /aef lag 10000 will freeze the server for 10 seconds.
  • Code cleanup, small fixes, and make sure that everything can be disabled in config. (#37)
  • Fixed issue where the tps counter used for disabling redstone at certain tps was broken.
  • Removed the old code that prevents players from flying in new chunks on the nether roof, this was meant for my server. (#36)
AnarchyExploitFixes - 1.18.16 - Small Changes

Published by moom0o about 3 years ago

  • Allow customizing the maximum projectiles that can be fired in X time.
ProjectilesMaxPerTime: 3
ProjectileTimeTicks: 10 # 3 projectiles can be sent every 10 ticks (0.5 seconds)
  • Added back the code for checking illegals in shulkers, however added a warning that this may cause a dupe. Server owners have noticed this hasn't happened on their 1.12.2 servers. Try at your own risk.
LookForIllegalsInShulkers: false # WARNING: DO NOT ENABLE IF YOU DON'T WANT A DUPE. Atleast in 1.17 shulkers can easily be duplicated with this enabled. https://cdn.discordapp.com/attachments/810446565822038016/858851144750989312/jbIAkzJ9CU.mp4
  • Add option to prevent burrow if there's a block above.
PreventBurrowIfBlockAbove: false # Prevent burrow even if there is a block above the block they are burrowing in, please note this may allow creating an "elevator", players will keep teleporting up until they hit air
  • Very small code enhancement in illegals
  • Very small grammar fix (#34)
  • Fix potential memory leak
AnarchyExploitFixes - 1.18.15

Published by moom0o over 3 years ago

  • Freeze pistons if tps is below the redstone tps specified in config.yml.
  • Prevent beacons from being used to burrow.
  • Prevent breaking end portals with a piston.
  • Remove unused code
  • Clean up code
AnarchyExploitFixes - 1.18.14 - Coordinate Exploit - UPDATE ASAP

Published by moom0o over 3 years ago

  • Patch the recent "NoCom" coordinate exploit. Update ASAP
  • Patch bedrock burrow
  • Remove debug message for commands
AnarchyExploitFixes - 1.18.13

Published by moom0o over 3 years ago

  • Added a strict vehicle check (to prevent minecart lag even further).
  • Check if player is temporary in the protocollib events.
  • Add max banners per chunk.
  • Less false positives for burrow patch.
  • Temporarily disable shulker checking from #30 pull request. Seems to cause a duplication exploit (atleast in 1.17)
AnarchyExploitFixes - 1.18.12.1 - Bug fixes

Published by moom0o over 3 years ago

  • Add AntiBedTrap (#30)
  • Add option to revert items in shulkers (#30)
  • Improve the checking for books, this should fix any error messages you got from last version. (#30)
AnarchyExploitFixes - 1.18.12 - Book ban patch

Published by moom0o over 3 years ago

  • AEF now has one of the best book ban patches available for 1.12. The page is automatically removed if the bytes are over 255 (Limit for normal characters). This may be a problem if your main playerbase language heavily uses unicode, such as Russian or Chinese, however. (#29)
  • New version scheme. AEF now uses semver, which is why the version changed to 1.18.12.
AnarchyExploitFixes - 18.0.11.3 - Burrow patch

Published by moom0o over 3 years ago

Last 3 updates have been removed so they don't fill up the releases page.

18.0.11.3:

  • Prevent soul sand from hurting you. For some reason this is considered a "full block with no light". Hopefully there isn't any more false positives.

18.0.11.2:

  • Prevented ender chests from being used for burrow
  • Prevented enchantment tables from being used for burrow
  • Prevented anvils from being used for burrow

18.0.11.1:

  • Add teleport option to burrow patch from last update

18.0.11:

  • Prevent the minecraft hack "Burrow" where you glitch your feet into a block. The player will be damaged every time they move while inside this block and is configurable in the config.
AnarchyExploitFixes - 18.0.10.1 - IMPORTANT UPDATE

Published by moom0o over 3 years ago

MAKE SURE TO UPDATE TO 18.0.10.1 IF USING 18.0.10. (< 18.0.10 is fine.)

18.0.10.1 changes:

  • Fix a crash exploit patch not working correctly.
  • Add a regex list for banned links.
  • Move chunkban to switch statement (#26)
  • Allow disabling wither spawning at spawn (disabled by default) (#26)
  • More lenient link check. (#26)

18.0.10 changes:

  • Patch old end portal dupe - https://www.youtube.com/watch?v=RLvErqzeK3Y

  • Much better spawn egg remover.

  • Prevent multiple ender dragons - Prevent ender dragons from going through end gateways.

  • Removed LegacyBoatFlyPatch.

  • Added option to limit glowstone blocks in a chunk.

  • Made /toggleconnectionmsgs it's own command, it will now show up in tab complete.

  • Fixed an issue where the new chunk elytra limit wasn't working above the nether roof.

  • Semi futureproof dispenser crash exploit for 1.17 world height limit.

  • Use maven for bstats instead of a dedicated class.

  • Improved POM. (#21)

  • Removed all code for debugging.

  • Camel cased some more things.

  • Added options for changing /toggleconnectionmsgs enable and disable messages.

  • Somewhat fixed an unnoticeable memory leak? (Stopped using static for playersinnewchunks set.)

AnarchyExploitFixes - Fix 1.16 protocollib errors and make jar smaller

Published by moom0o over 3 years ago

  • Fixed the plugin not loading due to protocollib
  • Made the jar size smaller - 94kb now!
  • Added option to disable protocollib completely (not really needed anymore)
AnarchyExploitFixes - 18.0.8 - Revert specific enchants and hopper, piston chunk limiters

Published by moom0o over 3 years ago

  • Add hoppers and pistons as per chunk limits.
  • Add option to revert specific enchantments.
  • Only revert the enchantments to the highest values instead of removing the entire item.
  • Add minecart limit per chunk.
  • Allow disabling coordinate exploit preventer.
  • Clean up code. (#19)
AnarchyExploitFixes - 18.0.7 - Coordinate exploits, illegal heads

Published by moom0o over 3 years ago

  • Prevent /tpa, /home teleportation coordinate exploit, by vanishing player right before teleporting.
  • Prevent respawn coordinate exploit, by vanishing player right before spawning
  • Patch illegal heads, will not remove normal skulls/heads. Only removes player/steve heads.
  • Tried multithreading RemoveIllegalBlocksOnCHUNKLOAD, doesn't improve performance much in my testing, might improve for you.
  • Increase default autocrafting recipe cooldown to 5 ticks. (Autocrafting, not manual, this has a lag exploit)
  • Allow customizing autocrafting cooldown.
  • Clean up enchantment reverting code.
  • Refractor all variable names to the proper format
AnarchyExploitFixes - More customizations

Published by moom0o over 3 years ago

  • Allow customizing the kick message that override all other ones
  • Allow tweaking the falling blocks per chunk limit
  • Allow tweaking the xp bottle per chunk limit
  • Remove FixWorldStatsCommandBug because you should be using my WorldStatsRewritten plugin instead.
  • Add beacon per chunk limit
  • Disable ExperimentalDupePatch2 by default due to a load of bugs.
  • Add another check to the falling blocks prevention to hopefully prevent some lag.
  • Clean up event registering (#16)
AnarchyExploitFixes - Three new lag exploits

Published by moom0o over 3 years ago

  • Limit falling blocks in a chunk, prevents any falling blocks from falling if there is more than 50 falling blocks in a chunk.
  • Limit experience bottles, prevent having a shit ton of exp bottles in one chunk then loading it to kill the server
  • Prevent projectiles such as xp bottles and snowballs from going through portals, this can cause a shit ton of lag especially if there is new chunks on the other end, this wont prevent mobs or items
AnarchyExploitFixes - More fixes for 1.16

Published by moom0o over 3 years ago

  • Added an option to disable 1.16 fish because they can spawn a ton at once and cause a shit ton of lag.
  • Disable ExperimentalDupePatch2 in 1.16 because it causes a SHIT ton of mobs to spawn, and not despawn. https://i.imgur.com/f691cep.png
  • Disable any chunk checking in 1.16 because it causes a shit ton of errors
AnarchyExploitFixes - Fix the config options on 1.16

Published by moom0o over 3 years ago

  • Fix the config options on 1.16
AnarchyExploitFixes - More minor changes, another experimental godmode patch

Published by moom0o over 3 years ago

  • Add a new experimental godmode/dupe patch, disabled by default, you can enable by setting ExperimentalDupePatch2 to true, this will prevent any entities from despawning within 500 blocks from a player.
  • Set RemoveALLIllegalBlocksOnCHUNKLOAD, FillInBedrockFloor, FillInBedrockRoof to false if the server is not on 1.12.x, this is because these cause a shit ton of errors on newer versions. You can bypass this by setting OverideConfigChanges to true
  • Disable PreventPortalTraps by default because this is part of the anarchy experience.
  • Added AntiSpam messages per x time, default is 10 messages every 30 seconds or about 1 message every 3 seconds if spamming.
  • Fix colors in reload command