Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

There are no mirrors, request one in the comment section below.
File: Anti-AFK v1.2
Version: 0
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=101301
Description: Simple Anti-AFK Script.

Independent of what admin mod you use, it doesn't require anything.

Featured on the CyberGmod servers ( http://www.cybergmod.net/ )

To install, extract to your server's addons folder.

ConVars:
afk_mark
- sets how long a player should be inactive, in seconds, before he's marked as AFK;
- if set to 0 players will not be kicked or marked as AFK;
- defaults to 30.

afk_kick
- sets the delay, in seconds, before a player is kicked, after being marked as AFK;
- if set to 0 AFK players will not be kicked;
- defaults to 300 (5 minutes).

afk_kick_admins
- if set to 0 admins will not be kicked for being AFK;
- defaults to 1.


Changelog:
v1.2
- Removed annoying chat notices;
- The notification panel only shows when kick is enabled now;
- Improved view angles check.

v1.1
- Players now see a notice in the chat whenever someone goes AFK or comes back;
- AFK Players now have a tag in front of their names;
- Changed the AFK notice panel a bit.

Image: Anti-AFK