Documentation

Learn how to install and use LiquidBounce with our comprehensive guides

AntiAFK

AntiAFK makes small moves for you, like turning, swinging your arm or jumping, so the server does not kick you or send you to the lobby for standing still. Turn it on when you need to step away from the keyboard for a bit.

Some modes walk your character around, so use it in a safe spot where you can't fall or get hurt.

Mode picks what it does:

  • RandomInteraction picks a random action from the ones you selected, then waits a random time before the next one.
  • Old walks forward and turns you around every half second.
  • Custom lets you switch turning, swinging, jumping and walking on or off yourself.

Category: Player Enabled by default: No

Settings

Delays are in ticks (20 per second).

SettingTypeDefaultRangeDescription
ModeMode SelectorRandomInteractionOld, RandomInteraction, CustomWhat AntiAFK does to keep you active.
Mode → [RandomInteraction] → InteractionMulti-SelectYaw, Pitch, SwingHandJump, SwingHand, ChangeSlot, Yaw, Pitch, RandomDirectionActions it can pick from. Yaw turns you left or right, Pitch looks up or down a little, ChangeSlot picks a random hotbar slot, RandomDirection walks a random way for a moment.
Mode → [RandomInteraction] → DelayInteger Range4..70..20 ticksWait between actions.
Mode → [Custom] → RotateToggleable GroupOnTurns your view now and then.
Mode → [Custom] → Rotate → IgnoreOpenInventoryToggletrueKeeps turning while an inventory is open.
Mode → [Custom] → Rotate → RotationsSetting GroupSee Shared: Rotations.
Mode → [Custom] → Rotate → DelayInteger50..20 ticksWait between turns.
Mode → [Custom] → Rotate → AngleDecimal1.0-180.0..180.0How far you turn each time.
Mode → [Custom] → SwingToggleable GroupOnSwings your arm now and then.
Mode → [Custom] → Swing → DelayInteger50..20 ticksWait between swings.
Mode → [Custom] → JumpToggletrueKeeps jumping.
Mode → [Custom] → MoveToggletrueKeeps walking forward.

Last updated: 2026-11-11, based on source code