View Single Post
Author Message
Forlix
Senior Member
Join Date: Dec 2008
Location: Hamburg, Germany
Old 07-17-2009 , 13:24   Forlix TempBanFix
Reply With Quote #1

This addon for SourceMod (made for CS:S, but should work with other mods) fixes the Source-Servers bug where some temporary (time) bans do not get automatically deleted from the filter list on expiration, and the players remain banned indefinitely (until the server restarts). It does so by taking over all temporary bans, leaving only the permanent bans in the servers filter list. Any newly added temporary ban by Steam-ID (which can be entered in any way, or by any plugin) will be removed from the servers list and handled by this plugin. It will make sure the player is allowed into the server once the ban has expired.


Detailed features:
  • Direct drop-in fix, works smoothly with the server, you almost wont notice it
  • Reads in bans using the server_addban event, therefore should work with almost any plugin
  • Responds to the standard listid command and displays all temporary bans with formatted ban time and time remaining below the servers permanent ban list
  • Unbanning works the usual way, using the standard removeid command, or through any plugin that uses the servers default filter list, Mani's ma_unban to name just one
  • As long as the temporary ban is in place, the banned player will be notified about the remaining ban time on each connection attempt
  • All time displays (to players and in the listid response) are formatted dynamically in minutes, hours+minutes, or days+hours, depending on the time length
Changes in v1.05: (2009/07)
  • Initial release
Configuration ConVars:

forlix_tempbanfix_version
- Version tracking (don't modify this)

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

Get the most recent version at:
http://forlix.org/gameaddons/tempbanfix.shtml

Last edited by Forlix; 10-27-2012 at 20:35.
Forlix is offline
Send a message via ICQ to Forlix Send a message via MSN to Forlix