promotional bannermobile promotional banner

AFK Kick - Simple & Efficient AFK Management

Keep your server running smoothly by automatically managing inactive players. AFK Kick monitors player movement and interactions, ensuring that server slots are available for active community members.
kick

kick

Description

Features

  • Automatic AFK Detection: Monitors player movement, chat, and mouse clicks.
  • Customizable Thresholds: Set how long a player can be idle before being kicked.
  • Warning System: Sends a customizable warning message before the kick occurs.
  • Pre-Kick Notification: Sends a final "You have been kicked" message 2 seconds before disconnection for a better user experience.
  • Permission Bypass: Exempt specific players or groups from being kicked using the afkkick.bypass permission.
  • Configurable: All messages and timings are easily adjustable via mods/AFKKICK/config.json.

Known Issues

  • Kick Screen Sync: Sometimes, even after a player is successfully kicked from the server, the Hytale client may still appear connected and fail to show the kick screen. This seems to be a issus with hytale it self

Configuration

The plugin creates a configuration file at mods/AFKKICK/config.json. Below is an example of the default configuration:

{
  "afkThresholdMs": 300000,
  "checkIntervalMs": 5000,
  "kickMessage": "You have been kicked for being AFK for too long.",
  "warningMessage": "You will be kicked for being AFK in 30 seconds! Move to stay connected.",
  "warningThresholdMs": 30000,
  "chatPreKickMessage": "You have been kicked for being AFK.",
  "chatPreKickDelayMs": 2000
}

Configuration Values Explained:

  • afkThresholdMs: Total time (in milliseconds) a player can be idle before being kicked. Default is 300,000 (5 minutes).
  • checkIntervalMs: How often the plugin checks player activity (in milliseconds). Default is 1,000 (1 second).
  • kickMessage: The message displayed on the player's screen after being kicked.
  • warningMessage: The message sent to the player's chat when they are close to the AFK limit.
  • warningThresholdMs: Time (in milliseconds) before the kick when the warning message is sent. Default is 30,000 (30 seconds before kick).
  • chatPreKickMessage: A final chat message sent to the player immediately before the kick occurs.
  • chatPreKickDelayMs: Time (in milliseconds) before the kick when the pre-kick message is sent. Default is 2,000 (2 seconds before kick).

Permissions

  • afkkick.bypass: Players with this permission will not be kicked for being AFK.

Installation

  1. Place the AFKKick.jar in your server's mods folder.
  2. Restart the server to generate the configuration file.
  3. Customize the config.json in mods/AFKKICK/ to your liking.

The AFK Kick - Simple & Efficient AFK Management Team

profile avatar
Owner
  • 4
    Projects
  • 1.7K
    Downloads

More from nebhay

  • ClearChat project image

    ClearChat

    • 591
    • Mods

    A lightweight Hytale plugin to instantly clear the global chat or local player chat. Simple, efficient, and easy to use.

    • 591
    • January 24, 2026
    • Mods
  • Speed project image

    Speed

    • 519
    • Mods

    Take control of your movement/flying Speed plugin allows players to dynamically adjust their movement speed multipliers on the fly.

    • 519
    • January 16, 2026
    • Mods
    • +1
  • Mute Chat Server Admin Plugin project image

    Mute Chat Server Admin Plugin

    • 188
    • Mods

    MuteChat is a lightweight plugin to give server administrators total control over their global chat. Whether you're managing a large event, dealing with chat spam, or performing critical maintenance, MuteChat allows you to silence the noise with a command.

    • 188
    • January 14, 2026
    • Mods
  • ClearChat project image

    ClearChat

    • 591
    • Mods

    A lightweight Hytale plugin to instantly clear the global chat or local player chat. Simple, efficient, and easy to use.

    • 591
    • January 24, 2026
    • Mods
  • Speed project image

    Speed

    • 519
    • Mods

    Take control of your movement/flying Speed plugin allows players to dynamically adjust their movement speed multipliers on the fly.

    • 519
    • January 16, 2026
    • Mods
    • +1
  • Mute Chat Server Admin Plugin project image

    Mute Chat Server Admin Plugin

    • 188
    • Mods

    MuteChat is a lightweight plugin to give server administrators total control over their global chat. Whether you're managing a large event, dealing with chat spam, or performing critical maintenance, MuteChat allows you to silence the noise with a command.

    • 188
    • January 14, 2026
    • Mods