promotional bannermobile promotional banner
premium banner
Automatically detects inactive players, safely puts them into AFK mode to prevent damage and interaction abuse, and kicks them if they stay inactive for too long—keeping gameplay fair and servers clean.

Description

AFKManager

A lightweight AFK detection and protection plugin for Hytale servers.

Features

  • Automatic AFK Detection - Players are marked AFK after configurable idle time
  • Manual Toggle - /afk command to toggle AFK status manually
  • Complete Action Blocking - AFK players cannot:
    • Attack players or mobs
    • Place or break blocks
    • Use or interact with blocks (chests, doors, etc.)
    • Move (frozen in place)
  • Damage Protection - AFK players are immune to all damage
  • Combat Cooldown - Prevents /afk abuse during or shortly after combat
  • Command Cooldown - Prevents /afk spam with configurable delay
  • Kick Warning - Optional warning before kicking players who are AFK too long
  • Data Persistence - Uses PlayerData Core for storage

Configuration

{
  "afkTimeoutMinutes": 5,
  "checkIntervalSeconds": 30,
  "kickAfterMinutes": 0,
  "kickWarningSeconds": 60,
  "combatCooldownSeconds": 5,
  "commandCooldownSeconds": 30
}

Commands

Command Description
/afk Toggle your AFK status

Requirements