Back to mods
Limited AFK project artwork

Modrinth · Minecraft mod

Limited AFK

A server-sided mod to limit how much your players can AFK and tracks all players' playtime.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Limited AFK release should I use?

Updated today
Latest stable file 2.1.0+26.3-1
Game version 26.3
Loader Fabric

Limited AFK 2.1.0+26.3-1 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Limited AFK required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Limited AFK 2.1.0+26.3-1 need?

2.1.0+26.3-1. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Limited AFK 2.1.0+26.3-1
required
Matching file found Matched file: 0.160.7+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Limited AFK without breaking your instance.

Built for Limited AFK 2.1.0+26.3-1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.1.0+26.3-1. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.1.0+26.3-1. It opens that exact file at the source.

About this project

What does Limited AFK add?

Limited AFK

A fairly straight-forward server-sided mod to limit how much your players can AFK and tracks all players' playtime.

This mod should only be installed on a server.

Player Commands

  • /playtime Tells the player how much real-time they have played and AFK'd on the server
  • /afklist Lists the players online and who is/isn't AFK

Admin Commands & Configuration

Configuration can be done through the properties file generated when loaded on a server or through commands.

  • /playtime <player> Gets the playtime of the specified player
  • /playtime all Gets the playtime of all players who have logged on the server. Dumps to console and gives a clipboard copy to the admin.
  • /playtime actions <player> Gets the amount of time since a player has performed one of the actions tracked by the AFK algorithm.
  • /limitedafk Gets the current configuration settings
  • /limitedafk enabled <true/false> Enables/disables the AFK tracker
  • /limitedafk ignoreCreativeAndSpectator <true/false> Sets whether the AFK tracker should mark Creative and Spectator players as AFK
  • /limitedafk allowedAfkPercentage <0-100> Sets the percentage of a player's playtime can be spent AFK before kicking them
  • /limitedafk announceAfk <true/false> Sets whether a chat message is announced when a player goes AFK or comes back from AFK
  • /limitedafk afkTimer <60+> Sets how many seconds of inactivity it takes until a player is marked as AFK
  • /limitedafk defaultAfkDetectionLevel <LOW/MEDIUM/HIGH> Sets how aggressive the AFK detection is by default (LOW and MEDIUM require various levels of activity, and HIGH requires a captcha)
  • /limitedafk captchaTimer <120+> Sets the interval between when someone suspected of being AFK is given a captcha (in seconds)
  • /limitedafk logCommandUsage <true/false> Sets whether successful command executions are logged to the server console
  • /afklevel get <player> Gets the modified (or default) AFK detection level required for the specified player
  • /afklevel set <player> <LOW/MEDIUM/HIGH> Sets the modified AFK detection level required for the specified player
  • /afklevel reset <player> Resets the modified AFK detection level required for the specified player to the default value

Permission Nodes

LimitedAFK uses the Fabric Permissions API for command permissions. Each node has a fallback vanilla permission level for servers without a permissions mod.

General

Node Default Description
limitedafk.afklist ALL Use /afklist to see who is AFK
limitedafk.playtime ALL Use /playtime to check your own playtime
limitedafk.playtime.others GAMEMASTERS Use /playtime <player> to check another player's playtime
limitedafk.playtime.all GAMEMASTERS Use /playtime all to dump playtime for all players
limitedafk.playtime.actions GAMEMASTERS Use /playtime actions <player> to check a player's action timestamps
limitedafk.afklevel.get GAMEMASTERS Use /afklevel get <player> to read a player's AFK detection level
limitedafk.afklevel.set GAMEMASTERS Use /afklevel set <player> <level> to change a player's AFK detection level
limitedafk.afklevel.reset GAMEMASTERS Use /afklevel reset <player> to reset a player's AFK detection level to default

Config

Config commands are generated automatically by BorisLib per config value.

Node Default Description
limitedafk.config GAMEMASTERS List all config values via /limitedafk
limitedafk.config.<name>.get GAMEMASTERS Read a specific config value
limitedafk.config.<name>.set GAMEMASTERS Change a specific config value

Try My Other Mods!

All server-side Fabric mods — no client installation required.

Mod Description Links
Arcana Novum Minecraft's biggest server-only full-feature Magic Mod! Adds powerful items, multiblocks and bosses! GitHub Modrinth CurseForge
Ancestral Archetypes A highly configurable, Origins-style mod that lets players pick a mob to gain unique abilities! GitHub Modrinth CurseForge
Ender Nexus Highly configurable /home, /spawn, /warp, /tpa and /rtp commands all in one, and individually disablable. GitHub Modrinth CurseForge
Fabric Mail An in-game virtual mailbox system for sending packages and messages between online and offline players. GitHub Modrinth CurseForge
Fabric Trade Adds /trade, a secure player-to-player trading interface. GitHub Modrinth CurseForge
Limited AFK AFK detection and management with configurable kick thresholds for servers. GitHub Modrinth CurseForge
Links in Chat Makes URLs posted in chat clickable. GitHub Modrinth CurseForge

LICENSE NOTICE

By using this project in any form, you hereby give your "express assent" for the terms of the license of this project, and acknowledge that I, BorisShoes, have fulfilled my obligation under the license to "make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License.

Project description from Modrinth.

Pick your setup

Limited AFK by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Limited AFK versions and loaders

14 of 14 releases match

Looking for an older file? The official Modrinth project page is in Resources.