Home›Java›Mods›AFK
ModsJava

AFK

Java mod listed for Minecraft 1.8–1.19. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Usage
Write /afk and server will broadcast " player_name is now AFK" message. If you move, type this command again, or type something into chat, server broadcasts opposite message " player_name is no longer AFK". If player is AFK, his name is gray in a player list.

Have outher plugin with /afk command?
then use /afk:afk

If you want to use Afk Time you must add {TIME} key.
ForEx:
noAfk: '{DISPLAYNAME} is back after {TIME}!'

Config
Events:
# in 1.9 you can push players so move is set to false
# Events: def. Move False, Chat true
move: false
chat: true
Colors:
# Colors: def. gray [black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white]
message: gray
player: gray
IdleTimer:
# IdleTimer: def. true, 120 sec
enabled: true
period: 120
Messages:
# Messages: def. true (keys: {DISPLAYNAME}, {TIME})
enabled: true
nicknames: false
+afk: '{DISPLAYNAME} is now AFK'
-afk: '{DISPLAYNAME} is no longer AFK'


NOTE: This is NOT my own plugin, I do not own it I am simply just updating the code to work with newer versions of Minecraft. Any and all credit goes to the original author.

link to original post = https://dev.bukkit.org/projects/afk

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

AFK is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 926 times (via Spigot). Download it and open it directly in the game.

Explore more