Download AfkPlus — Minecraft Mods — MetaMods
AfkPlus

AfkPlus

Active

Downloads

18

Last update

3 months ago

Versions

1.17 — 1.21.8
Server
Fabric
Control
Social
Utils

AfkPlus - Fabric Mod for Minecraft

Get acquainted with AfkPlus - a robust tool for managing AFK status on your Minecraft server. This mod is built upon the original AfkDisplay foundation but offers significantly expanded functionality.

Core Features

Display players' AFK status directly in the participant list - you can see the reason for absence, duration, and exact time of entering this mode. Fully customizable settings and integration with Placeholder API allow utilizing all formatting advantages, including color highlighting and bold text. An interesting feature - ability to add links right into the AFK reason!

Works not only on multiplayer servers but also in single-player mode and when opening to local network.

Modernized Architecture

Since December 2024, the module has been completely rewritten within a multi-version project using Fallen-Breath's template architecture. Now it's a dependency from the new CoreLib library, and the extended color palette system was separated into a standalone More Color API module. Both these components are included in the AfkPlus JAR file.

Key Innovations

The system has been rebuilt on a multi-user architecture for quick adaptation to Minecraft versions from 1.19.2 to 1.21.4+. Configuration now uses JSON instead of TOML, managed through CoreLib's data-driven configuration system, similar to Pat's mod ecosystem. Main player and server events are regulated by CoreLib interfaces, except for AFK-specific ones.

Full List of Command Placeholders

  • %afkplus:afk% - Basic [AFK] tag for players in absence mode
  • %afkplus:name% / %afkplus:display_name% - Complete display name template replacement for compatibility with other modifications
  • %afkplus:duration% - Time since going AFK with configurable format prefixes
  • %afkplus:time% - Exact date and time of entering absence mode
  • %afkplus:reason% - AFK transition reason with formatting support
  • %afkplus:invulnerable% - Damage disable status display for all players

Additional Server Features

Configurable damage immunity system: players become invulnerable after 15 seconds of AFK activation (cooldown time configurable by administrator). Separate messages notify about enabling and disabling this mode.

Extended game mode checking: considers not only creative mode but also spectator mode when managing AFK status. Sleep requirement bypass allows AFK players to not count in sleeping requirements. Another option prevents phantom spawning when marked absent players are present.

Automatic Kick System

Enable automatic player kicking system for those who remain AFK longer than the allowed limit. Configurable parameters:

  • Kick time after timeout (additive to main timeout)
  • Exclusion of non-survival modes (Creative, Spectator)
Protected permission levels
{
  "packet": {
    "timeoutSeconds": 240,
    "resetOnMovement": false,
    "bypassSleepCount": true
  }
}

Always test new configuration changes in a safe environment before deploying to production servers.

Project members
sakura-ryoko

sakura-ryoko

Developer

Created: 25 Nov 2023

ID: 6893