HomeJavaModsIdle Lens
Idle Lens
ModsJava

Idle Lens

Give idle players a cinematic camera

⬇ Download on Modrinth
Idle Lens — screenshot 1Idle Lens — screenshot 2Idle Lens — screenshot 3Idle Lens — screenshot 4

IdleLens

Give idle players a cinematic camera. IdleLens is a lightweight, server-side AFK camera mod for NeoForge.

Highlights

Camera behavior

Idle Lens

Scenes end with a hard cut after the camera reaches a stationary endpoint. Camera sway fades in and out around the base pose and does not recalculate the viewing rotation.

The action bar displays the cumulative AFK time:

AFK 02:18  •  Left-click or Scroll to exit AFK

Movement, interaction, scrolling the hotbar, or other detected activity restores the normal player camera.

Requirements

Component Required Version Status
Minecraft 1.21.1 Required
NeoForge 21.1.235 or newer Required
Spark 1.x or newer Optional (Recommended)

Configuration

Idle Lens generates config/idlelens-server.toml.

The default configuration starts a cinematic after 2 minutes without activity.
Common settings:

[general]
enabled = true
idleSeconds = 120
cooldownSeconds = 10
maxConcurrentCinematics = 16
stopBelowTps = 15.0
exitHint = "Left-click or Scroll to exit AFK"

[camera]
minimumRadius = 1.5
maximumRadius = 7.0
minimumHeight = 0.25
maximumHeight = 4.0
sceneSpeed = 1.0
handheldIntensity = 1.0
handheldSpeed = 1.0
collisionCheck = true

Useful details:

Scene selection

The default scene list accepts exact names and prefixes:

[scenes]
enabled = [
    "right_profile",
    "wide_orbit",
    "front_close",
    "rear_shoulder",
    "low_hero",
    "wide_reveal"
]

For example, wide_reveal enables its overhead, below-player, profile, and zoom variants. An empty list or a list with no matching scenes falls back to a safe built-in scene.

Elevated and low-angle static shots have higher default selection weights. Horizontal portraits remain available at lower weights. All six zoom scenes remain enabled by their matching prefixes.

Safety

IdleLens refuses to start a cinematic when the player is dead, sleeping, riding, falling, swimming, inside a portal, moving, or outside the configured dimension rules. Optional checks can also block cinematics near hostile mobs.

During an active cinematic:

Commands

All commands require permission level 2.

Command Action
/idlelens test [player] Start a cinematic using normal scene selection
/idlelens scene <name> [player] Start a specific scene
/idlelens stop [player] Stop one player, or all sessions when no player is supplied
/idlelens status [player] Show session state and the active scene
/idlelens debug true/false Toggle periodic diagnostic logging
/idlelens reload Reset active sessions; NeoForge watches the server config file

FAQ

Do players need to install IdleLens?
No. Install it only on the NeoForge server.

Is Spark required?
No. Spark is optional but recommended for better low-TPS detection. IdleLens uses its built-in fallback when Spark is not installed.

Does IdleLens change the player's game mode or position?
No. It changes only the camera target and restores the player camera when the session ends.

How does a player exit AFK mode?
Left-click, scroll the hotbar, move, interact, or perform another detected activity. The action-bar instruction can be changed or hidden in the config.

Why did a cinematic not start?
The player may be in an unsafe state, outside the allowed dimensions, near a hostile mob when that check is enabled, or the server may have reached its session limit. Low server TPS can also stop cinematics.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more