Skip to content

MagnusHJensen/SimpleAFK

Repository files navigation

SimpleAFK

AFK Tab List

This mod enables simple AFK management for servers.

It provides the ability to configure:

  • when a player is marked as afk.
  • when (if at all) a player is kicked for being afk too long.
  • Formatting options to format the afk message, kick message and afk name in tab list.

It skips players that are AFK when checking for the percentage of players sleeping.

This overrides the vanilla setIdleTimeout command, and discards any values set in there.

AFK Messages

Permission Nodes

Simple AFK introduces some standard permission nodes if you are using a permission system.

NOTE: The default defined in () only matters if you are NOT using a permission mod.

  • simpleafk.toggle - Allows the player to toggle their AFK status
  • simpleafk.toggle.target - Allows the player to toggle another player's AFK status
  • simpleafk.bypass - Allows the player to bypass AFK status (Meaning they won't get marked as AFK and won't get kicked)
  • simpleafk.bypass_sleep - Allows the player to bypass the sleep required percentage check (Default: Only OP's have this permission)