Langue

SimpleAFK

SimpleAFK

Modrinth

SimpleAFK is a mod that enables simple server AFK management

6.4k téléchargements 8 abonnés mis à jour 1mo ago
dernière v1.5.2 Modrinth
Fabric Forge Neoforge 1.18 – 26.1 ManagementSocial

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)

Wiki

Check out the wiki for detailed documentation.

If you think anything is missing from the wiki that is unclear, send a message in the discord or open an improve documentation issue.

Roadmap

Check out the version milestones

Join my Discord for support and updates! (Just created, so barebones)

Thanks to

Versions

Release
1.5.2
neoforge · 1.21.1 · 1mo ago
# 1.5.2 - 1.21.1 - Fixed an AFK calculation issue, not accounting correctly for both head and move AFK times.
78
Release
1.5.2
fabric · 1.21.1 · 1mo ago
# 1.5.2 - 1.21.1 - Fixed an AFK calculation issue, not accounting correctly for both head and move AFK times.
43
Release
1.5.2
neoforge · 26.1 · 1mo ago
# 1.5.2 - 1.21.1 - Fixed an AFK calculation issue, not accounting correctly for both head and move AFK times.
8
Release
1.5.2
fabric · 26.1 · 1mo ago
# 1.5.2 - 1.21.1 - Fixed an AFK calculation issue, not accounting correctly for both head and move AFK times.
32
Release
1.5.1
neoforge · 26.1 · 2mo ago
# 1.5.1 - 26.1 - Ported to 26.1
25
Release
1.5.1
fabric · 26.1 · 2mo ago
# 1.5.1 - 26.1 - Ported to 26.1
35
Release
1.5.1
neoforge · 1.21.11 · 3mo ago
# 1.5.1 - 1.21.11 - Ported to 1.21.11
17
Release
1.5.1
fabric · 1.21.11 · 3mo ago
# 1.5.1 - 1.21.11 - Ported to 1.21.11
184
Release
1.5.1
forge · 1.20.1, 1.20.2, 1.20.3 · 4mo ago
## 1.5.1 - 1.20.1 - Fixed a tick crash
72
Release
1.5.1
fabric · 1.20.1, 1.20.2, 1.20.3 · 5mo ago
# 1.5.1 - 1.20.1 - Fixed a tick crash
42
Release
1.5.1
neoforge · 1.21.1 · 5mo ago
# 1.5.1 - 1.21.1 - Fixed a tick crashing issue
347
Release
1.5.1
fabric · 1.21.1 · 5mo ago
# 1.5.1 - 1.21.1 - Fixed a tick crashing issue
92

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.