Garry's Mod

Garry's Mod

109 ratings
DAFK - AFK Watcher and Notify
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
Updated
24.810 KB
24 Sep, 2016 @ 12:56am
11 Jun, 2020 @ 9:27pm
28 Change Notes ( view )

Subscribe to download
DAFK - AFK Watcher and Notify

Description
DAFK - Be notified when someone goes AFK, or backs to his keyboard!
This would be useful for server owners only.

Discord[discord.gg]

Variables:
* sv_dafk_chat 1 - Notify in chat (player still would be not notified IN CHAT if he is 2048 Hammer Units away from player (player is still notified in his console))
* sv_dafk_timer 180 - How much player must idle to get AFK status.

Clientside options
cl_dafk_chat : 1 : Display AFK messages in chat if server is allowing to do it.
cl_dafk_screen : 1 : Draw AFK time on screen
cl_dafk_text : 1 : Draw text on the top of sleeping player
cl_dafk_zzz : 1 : Draw ZZZ chars on the top of sleeping player

It DOES NOT kick players if they are AFK!



My addons are completely free and open, i work my best and please, support me, my things and my family[paypal.me]
17 Comments
|| 0xKoon || 15 Sep, 2024 @ 3:13pm 
thanks for the info, i tried using easychat, and sending local messages as well as sam commands worked where as it didnt in atlaschat, but darkrp commands for some reason still dont work. i am unsure what i could change in atlaschat or dlib code to make it work with this as im not sure what it is that causes dlib and atlaschat to not work together, but i appreciate the fast reply and will delete my messages here soon if needed, thanks again!
DBot  [author] 14 Sep, 2024 @ 11:55pm 
Atlaschat was never fixed by its author, all servers i know who previously used Atlaschat had modifications (fixes) done to it. Please use different chatbox solution if you must, i recommend EasyChat (despite its author having grudge against me, its the only proper public custom chatbox im aware of).
|| 0xKoon || 14 Sep, 2024 @ 10:20pm 
hi hows it going? :steamhappy: just wanted to ask about / address an issue where when using a non-default chatbox, and going to click enter and send my message, nothing appears in chat. but when using the say command through client console, it appears just fine. ive done lots of testing with different chat addons, and its only when having both dlib/dafk and a non-default chatbox installed that it doesnt work. i specifically use atlas chat from gmodstore if that helps. if you could please inform me on a potential fix via a certain change, removal, or adding of code to either one of the addons, or any other general help in regard to this issue is more than appreciated as i absolutely love dafk and dsit, but sadly wont be able to use either one in my servers until this issue is resolved, have a good one and thanks for any support! :gmod:
7 Feb, 2020 @ 1:51am 
DBOT HELP - I CAN'T SEE DAFK WTF
Sleepy 2 Jan, 2020 @ 5:50am 
This addon isn't genderneutral ;-;
spl mute 2 Sep, 2019 @ 12:07am 
Love all the addons ( Dmaps And DAFK ) Nay way to turn off the time above players head server wide?
RyanTheTechMan 28 Jul, 2019 @ 2:17pm 
Finally, I have created it! Here it is, DAFK with KICK! https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1818353800
(Most of the credit goes to DBotThePony)
GuardNexus 23 Aug, 2018 @ 11:55am 
Can you add 1 more func.: kicking player if they are afk too long time; default is non kicking, but after using var (for example) sv_dafk_kick 1 and sv_dafk_kicktime 900; player will be kicked. That would be a nice functionality :)
GuardNexus 23 Aug, 2018 @ 11:52am 
Best!
DocFur_07 29 Sep, 2017 @ 2:33pm 
C: