Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
SimpleAFK

SimpleAFK

SimpleAFK is a neoforge mod that enables afk management

1,571
6
Management
Social
AboutGalleryChangelogVersions

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

Configuration

Simple AFK aims to be highly configurable, to allow for any server to make it act the way they want. In the server config file, you will find the following options:

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

  • secondsBeforeAfk which is how many seconds after a last player movement the player is marked as afk.
  • secondsBeforeKick which is how many seconds after the player has been marked as afk they are going to be kicked, set to 0 to disable kicking.
  • isNowAfkMessage is a string where you can customize how the global message should look when a player goes afk. This allows for color codes
  • isNoLongerAfkMessage is a string where you can customize how the global message should look when a player is no longer afk. This allows for color codes
  • playerNameFormat is how the tablist is formatted for when a player is afk. This allows for color codes
  • afkKickMessage is how the message should look when a player gets kicked after the amount of seconds defined. This allows for color codes
Permission Nodes

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

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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20–1.20.2
1.19–1.19.2
1.18.x

Platforms

Forge
NeoForge

Supported environments

Server-side

Links

Report issues View source

Creators

legenden
legenden Owner

Details

Licensed GPL-3.0-only
Published last year
Updated 5 months ago

Modrinth is open source.

main@fafd47f

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.