AFK
Change Log
Check all changes which have been done so far.
Known Bugs
Animals/Players can cancel your AFK status by pushing you.
Using
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: def. true # 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] # IdleTimer: def. true, 60 sec # Messages: def. true (keys: {DISPLAYNAME}, {TIME}) Events: move: true chat: true Colors: message: gray player: gray IdleTimer: enabled: true period: 60 Messages: enabled: true nicknames: false +afk: "{DISPLAYNAME} is now AFK" -afk: "{DISPLAYNAME} is no longer AFK"
TO DO
Java 7 | V4.5 | 100 % | done |
Minecraft 1.10 | V4.5.1 | 100 % | done |
Minecraft 1.9 | V4.5 | 100 % | done |
Reason option | V4.5.1 | 100 % | done |
Permissions | 0 % | allmost | |
AFK commands support | 2 % | allmost | |
Reload command | 0 % | none | |
Idle Timer v2 | v4.0.0 | 100 % | done |
AFK Time | v2.1.0 | 100 % | done |
Java 6 | v2.0.2b | 100 % | done |
Idle Timer | v2.0.0 | 100 % | done |
Config | v1.3.0 | 100 % | done |
source code V4.3 & higher | source code V4.2.1 & lower.
Quote:Now that you got an /afk command, would you like an antiswearing plugin? try BSwear
bruv
is this plugin 1.16
In reply to odjoiaf:
it works in 1.16
Hey i have a little problem, i installed this plugin because if you have afk for too long you getted kicked and i hoped this plugin will solve this, but it didnt
help its because i doing somthing wrong or something.
(sorry for bad english im from Poland and im still learning)
Its very good, but I suggest something: a new feature that lets you establish some room or coordinate as AFK point, and then, when you write /afk it also teleports you there.
Love the simplicity. Just one small suggestion: Change the display name for the tab List so that it is "[AFK] Playername".
Hey what placeholder are you using to make the person have the grey tab list?
I've got a problem with version 4.5.4. When I activate (not disable) the /afk command it cuts off the last two letters. My username is Nightmarionette. So when I type /afk it doesn't say:
Nightmarionette is now afk.
But it says:
Nightmarionet is now afk.
Any help?
Hey, i stay afk when i move on my server, is that normal?
In reply to Forge_User_25623129:
hi
Would it be possible to add a check for vanished players?
When vanished the timer puts you in AFK mode which in that case reveals your online.
Besides that, it's a great plugin.
@sudoman281
It works fine for me
Hello there is a problem, that when player is idle and it marks him as afk, the color of his name doesn't change in tablist.
@ThisUsernameIsMine
Will be added in next update :)
and the events in the config are to get unafk (player pushes you while afk)
Yay, an(other) update! :-)
The only thing i'm (still) missing is an option/setting to preserve displayname (nickname) formatting/colors, as setting a color affects the whole line, including the player's name.
It would've been nice if the nickname remained untouched.
Perhaps you can add this as value "none" for the "player" and "message" part?
As example:
or
Oh, i thought of something else too... how about adding an option to make AFK player names show like this (Italic) under TAB?
Thanks for keeping the plugin alive! :-)
edit: I've noticed two things
I was chatting with someone on the server, and all of a sudden i went AFK (i was standing on the same spot for a long time).
Also, when using {DISPLAYNAME} and having a nickname. going AFK changes the TAB name to the regular player name.
@IsaiahPatton
Ah ha! I see what you did there!. Sneaky lil fella. ;-)
@LHammonds
You can now have a reason! :)
Ignoring the y-coordinate while checking the player for leaving the АFK state (for example, if a player during the flight, pressed Shift) - is normal..?
@LHammonds
Reason might be in next update!
afk version 4.5
AFK V4.5 is out!!!!!!!!!!!!!
Changes