Documentation

Learn how to install and use LiquidBounce with our comprehensive guides

TargetLock

TargetLock restricts which players your client will attack, keeping you focused on a single target at a time. This is particularly useful in hectic PvP scenarios — such as faction fights or crystal PvP — where nearby enemies could otherwise steal the targeting focus of modules like KillAura.

Temporary mode establishes a lock the first time you attack a player. The lock persists for up to MaximumTime seconds and is automatically released if the target moves beyond MaximumRange blocks or if you die. The WhenNoLock setting controls what happens when no lock is currently active: AllowAll lets targeting work normally until you hit someone, while AllowNone blocks all attacks until a lock is established — making it a strict single-target mode from the start.

Filter mode uses a static username list instead of a combat trigger. Add names to the Usernames list and choose Whitelist to allow attacking only those players, or Blacklist to block attacking them and allow everyone else. The Combat toggle, available in both modes, narrows the lock restriction to combat modules only (such as KillAura) rather than applying it globally across all targeting.

Category: Misc
Enabled by default: No

Settings

SettingTypeDefaultRangeDescription
ModeMode SelectorTemporarySelects how the target lock is determined: Temporary locks on after you attack a player; Filter locks by a static username list.
Mode → [Temporary] → MaximumTimeInteger300 – 120 sHow long (in seconds) a temporary lock lasts after attacking a player. Setting this to 0 keeps the lock active until the player moves out of range.
Mode → [Temporary] → MaximumRangeDecimal20.08.0 – 40.0Maximum distance in blocks at which a temporary lock is maintained. If the locked player moves farther away, the lock is released automatically.
Mode → [Temporary] → WhenNoLockChoiceAllowAllBehaviour when no player is currently locked. AllowAll permits attacking any player normally; AllowNone blocks all attacks until a lock is first established.
Mode → [Filter] → UsernamesEditable ListThe list of player usernames used for filtering. Add one name per entry.
Mode → [Filter] → FilterTypeChoiceWhitelistWhitelist allows attacking only the players in Usernames; Blacklist blocks attacking those players and permits all others.
CombatTogglefalseWhen enabled, the lock restriction applies only to combat modules (such as KillAura); when disabled, it applies globally to all targeting.

Last updated: 2026-06-08 — Based on source code