Garry's Mod

Garry's Mod

评价数不足
DAFK - With Kick
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
29.777 KB
2019 年 7 月 28 日 下午 2:07
2020 年 4 月 8 日 上午 8:36
7 项改动说明 ( 查看 )

订阅以下载
DAFK - With Kick

在 RyanTheTechMan 的 2 个合集中
Chillen With Friends
137 件物品
G.O.D: Server Utilities
17 件物品
描述
ALL CREDIT GOES TO THE ORIGINAL DEV: DBotThePony

Original Addon: DAFK - AFK Watcher and Notify

I have added a kicking feature to the already amazing DAFK addon.

ULX is supported for giving players the permission to bypass the kick as well as editing server variables.

>>>>>You must remove the original version for this to work!<<<<<

~~~~~~~~~~~~

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

Server 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.
NEW: sv_dafk_kickenabled 1 (enabled by default, enable it to enable the kicking feature)
NEW: sv_dafk_ignoreadmins 0 (disabled by default, enable it to kick admins / users with the permission as well)
NEW: sv_dafk_kicktime 600 (10 min by default, will kick the player in this amount of time)
NEW: sv_dafk_ticking_only 0 (Should time it counts down only have a ticking noise, instead of the bell ringing as well?)

You can edit all server variables within ULX!

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

NEW: ULX Permissions:
dafk_kick_immunity: Admins+ have this by default. Give this to a group to bypass the auto kick
dafk_admin: Admins+ have this by default. Give this to a group to allow changing DAFK settings within ULX

NEW: Commands:
!afk: Set yourself as AFK.

~~~~~~~~~~~~
7 条留言
RyanTheTechMan  [作者] 2021 年 7 月 9 日 下午 3:47 
It may, I don't have a bitbucket and I also haven't touched gmod code in a while. When I make another gmod server I may work out a fix. He has the right to the code so he can take what he wants. If he doesn't end up taking it, then I will make a push when I get around to it.
Background 2021 年 7 月 8 日 下午 5:14 
Wouldn't be bad for it to just offer to push to his repository for a feature like this. xD
YuRaNnNzZZ 2020 年 1 月 2 日 上午 9:18 
you are breaking workshop rules
that's enough for a takedown
RyanTheTechMan  [作者] 2020 年 1 月 2 日 上午 8:18 
I am not breaking any of the rules. I am linking the original dev and I have added quite a bit of content to this addon. This is not a reupload because I have added things to it. Also, his orignal addon is under the Apache License 2.0, please read about that! "It allows users to use the software for any purpose, to distribute it, to modify it, and to distribute modified versions of the software under the terms of the license, without concern for royalties."
YuRaNnNzZZ 2020 年 1 月 2 日 上午 6:40 
addon's license doesn't give you permission from original author to reupload it on workshop - http://wiki.garrysmod.com/page/Steam_Workshop_Rules
" Do not reupload addons - Reuploaded addons will be taken down. Search workshop before uploading. Reuploading workshop addons is strictly forbidden, whatever the reupload reason is. (Even if the original workshop addon was removed)"
RyanTheTechMan  [作者] 2019 年 9 月 10 日 下午 4:08 
Foxtrot, I have added a server variable:
sv_dafk_ticking_only just set it to 1 after you update.
dashu 2019 年 9 月 8 日 上午 2:08 
The sound effects are obnoxious, just keep the ticking sound and it's perfect.