====== AutoLeave ====== ^ AutoLeave ^^ ^Type|[[Hack]]| ^Category|[[Combat]]| ^In-game description|"Automatically leaves the server\\ when your health is low."| ^[[keybinds#default_keybinds|Default keybind]]|none| ^Source code|[[w7src>net/wurstclient/hacks/AutoLeaveHack.java]]| AutoLeave is a Minecraft hack that automatically disconnects the user from the server whenever their health is low. It does this by executing the [[cmd:.leave]] command and it has several modes that all leave the server in different ways. ===== Usage ===== AutoLeave can be used to get an unfair advantage in combat situations. As long as the user cannot be killed in one hit, AutoLeave makes them virtually immortal, as the user would just leave the server instead of dying. ===== Bypassing Anti-Cheat Plugins ===== How well AutoLeave bypasses server plugins depends on AutoLeave's mode. The table below shows a comparison of the bypasses when using different modes: ^Mode^NoCheat+ Bypass^CombatLog Bypass^ |Quit|yes|no| |Chars|yes|some versions| |TP|no|yes| |SelfHurt|yes|yes| ===== Settings ===== ==== Health ==== ^ Health ^^ ^Type|Slider| ^In-game description|"Leaves the server when your health\\ reaches this value or falls below it."| ^Default value|4.0 (:heart::heart::heart::heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart:)| ^Minimum|0.5 (:half_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart:)| ^Maximum|9.5 (:heart::heart::heart::heart::heart::heart::heart::heart::heart::half_heart:)| ^Increment|0.5 (:half_heart:)| ==== Mode ==== ^ Mode ^^ ^Type|Enum| ^In-game description|"**Quit** mode just quits the game normally.\\ Bypasses NoCheat+ but not CombatLog.\\ \\ **Chars** mode sends a special chat message that\\ causes the server to kick you.\\ Bypasses NoCheat+ and some versions of CombatLog.\\ \\ **TP** mode teleports you to an invalid location,\\ causing the server to kick you.\\ Bypasses CombatLog, but not NoCheat+.\\ \\ **SelfHurt** mode sends the packet for attacking\\ another player, but with yourself as both the attacker\\ and the target. This causes the server to kick you.\\ Bypasses both CombatLog and NoCheat+."| ^Default value|Quit| ^Possible values|Quit, Chars, TP, SelfHurt| ===== Changes ===== ^Version(s)^Changes^ |[[update:Wurst 1.12]]|Added AutoLeave.| |[[update:Wurst 2.19]]|Added TP mode and SelfHurt mode to AutoLeave.| |[[update:Wurst 2.24]] (Minecraft 1.8),\\ [[update:Wurst 5.5]] (Minecraft 1.11)|Added a [[#Health]] slider to AutoLeave.| |[[update:Wurst 6.32]] (Minecraft 1.8 & 1.12),\\ [[update:Wurst 7.0pre24]] (Minecraft 1.14+)|Improved the description of AutoLeave and its settings.| |:::|Improved AutoLeave's search tags.| |[[update:Wurst 7.0pre1]]|Temporarily removed AutoLeave.| |[[update:Wurst 7.0pre24]]|Re-added AutoLeave.| {{tag>PVP}}