Forlix.org

2010/03/11 - 10:03
38.107.191.91 - 539v
 
Last modified 2009/10/08
 

AFKtoSpec SourceMod plugin (2009/07)

This is a small SourceMod addon, (made for CS:S, but might work with other mods) designed to remove AFK players from the active team and put them into Spectator-mode.
The AFK-check is based solely on the players buttons pressed and is optimized for minimal server load.


Changes in v1.05: (2009/07)

  • Initial release

Changes in v1.12: (2009/10)

  • AFK detection now done by checking players buttons every 200ms

Configuration ConVars:

forlix_afktospec_time
- Time in full seconds players can be AFK before being moved to Spectator (0 to disable)

forlix_afktospec_version
- Version tracking (don't modify this) - Servers running this plugin (Game-Monitor.com)


The plugin file (.smx) goes into "mod_dir/addons/sourcemod/plugins".


AFK to Spectator message
AFK to Spectator message
Download:

The plugin binary has been built for SourceMod version 1.2.



Forlix AFKtoSpec v1.12
License: GPL v3

forlix_afktospec.smx (4 kB, SourceMod plugin)
forlix_afktospec.sp (4 kB, Plugin source)

© 2006-2009 Forlix.org | Terms of use | Contact

Powered by Apache 2.2

Powered by Perl        Valid XHTML 1.1