AFK Camera

AFK Camera

A Minecraft mod that activates a cinematic mode when the player is idle, making the camera smoothly orbit around the character for a dynamic view.

by
37.2K Downloads
fabricutility
Rent Server with this Mod

Screenshots

When you don't
 touch the mouse
for 30 seconds
interesting things happen.
logo

About this Mod

AFK Camera

AFK Camera

Overview

AFK Camera is a Minecraft mod that automatically activates cinematic camera movements when you're idle. After a configurable period of inactivity (default 30 seconds), the mod seamlessly transitions your camera into a free-cam mode and begins playing smooth, pre-defined camera animations around your world.

Features

  • Automatic AFK Detection: Monitors player activity including movement, mouse input, key presses, and damage
  • Smooth Camera Transitions: Automatically switches to free camera mode with cinematic animations
  • Configurable Timing: Customizable AFK timeout period
  • HUD Management: Automatically hides the HUD during AFK mode
  • Animation System: Supports custom camera keyframe animations with position and rotation interpolation
  • Smart Deactivation: Instantly returns to normal gameplay when any player activity is detected
  • Death Protection: Optional setting to disable AFK mode when player dies

How It Works

The mod continuously monitors for player activity including:

  • Movement keys (WASD, jump, sneak, sprint)
  • Mouse movement
  • Action keys (attack, use, inventory)
  • Player taking damage
  • Menu interactions

When no activity is detected for the configured time period, AFK Camera:

  1. Enables free camera mode
  2. Hides the game HUD
  3. Loads and plays cinematic camera animations in a random order
  4. Cycles through available animations continuously

The moment any player input is detected, the mod immediately:

  1. Stops the current animation
  2. Restores the HUD
  3. Returns camera control to the player
  4. Disables free camera mode

Block Bench Compatibility

This mod is designed to work seamlessly with Blockbench camera animations. You can create custom camera paths and keyframe animations in Blockbench, and the mod will automatically load and play them during AFK periods. The animation system supports:

  • Position keyframes with smooth interpolation
  • Rotation keyframes (pitch and yaw)
  • Custom timing and duration
  • Automatic scaling for Minecraft world coordinates

Custom camera animations tutorial

Template resource pack.
Template BlockBench file.
Detailed text guide - coming soon.

Fabric Only

This mod is developed for the Fabric mod loader. A Forge version is not planned due to the significant architectural differences between the platforms and the mod's deep integration with Fabric-specific APIs.

Dependencies

Required

  • Fabric API - Core Fabric mod loader functionality
  • YACL (Yet Another Config Library) - Configuration management

Optional

  • Mod Menu - Provides in-game configuration interface

Issues

If you find a problem that is not listed, you can report it here.

Acknowledgments

Big thanks to hashalite for creating Freecam! I used a bit of the code in my project, and it really helped me out. Great work!

Thanks to ZipeStudio for help with IDE.

Thanks to LopyMine for Mossy template!

Thanks to Danrus1100 for contributing!

License

This project is licensed under the BY-ND 4.0 License - see the LICENSE file for details.

Available Versions

AFK Camera 1.3_1.19.4release
MC 1.19.4fabric
September 15, 2025
AFK Camera 1.3release
MC 1.19.3fabric
September 15, 2025
AFK Camera 1.3_1.19.2release
MC 1.19.2fabric
September 15, 2025

How to Install AFK Camera on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.10).

3

Install Mod

Open the mod browser in the dashboard and search for "AFK Camera". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.10, 1.21.9, 1.21.8 (+18 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

AFK Camera server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.

Is AFK Camera compatible with fabric?

AFK Camera officially supports fabric for Minecraft 1.21.10, 1.21.9, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with AFK Camera – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AFK Camera consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install AFK Camera with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Attribution No Derivatives 4.0 International
Server-side
Unsupported

Supported Versions

1.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.21.21.1+11 more