Home›Java›Mods›AFK Commands
AFK Commands
ModsJava

AFK Commands

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by fearlessaviatorclan · on Modrinth

⬇ Download on Modrinth
AFK Commands — screenshot 1

AFK Plugin

A lightweight Spigot plugin that automatically detects inactive players and runs any console command of your choice against them. No bloat, no dependencies — just drop it in and configure.


✦ Features


✦ Example Config

afk-time: 300
afk-command: "kick {playername} You have been kicked for being AFK too long."
warn-before-seconds: 30
afk-warn-message: "&eYou have been AFK for too long and will be removed from the server."
broadcast-afk: true
broadcast-message: "&7[&eAFK&7] &f{playername} &7is now AFK."

✦ Commands

Command Description Permission
/afk Shows your current inactivity time vs. the AFK threshold afk.use
/afkreload Reloads the config without restarting afk.reload

✦ Permissions

Permission Description Default
afk.use Use the /afk command Everyone
afk.reload Reload the config Ops
afk.exempt Never flagged as AFK Nobody
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more