View Single Post
Author Message
mad_hamster
Member
Join Date: Nov 2009
Old 08-17-2010 , 07:45   Ban disconnected players
Reply With Quote #1

Ban disconnected players


This plugin tracks recently disconnected players (currently 100) and lets you ban them, either through the admin menu or through the admin command "sm_bandisconnected", which requires the admin ban flag.

I made this plugin primarily to fix a couple of issues I was having with the Too Late To Ban plugin, namely:
  • Admin needed RCON flag to ban disconnected players
  • Admin immunities were not respected
This is how the admin menu looks like:




Installation:

Just put the plugin in your plugins directory, no configuration needed. If you want the "Ban disconnected player" option to show up right next to the "Ban player" option in the admin menu just edit your adminmenu_sorting.txt file under "configs" and add sm_ban_disconnected underneath sm_ban, like so:

Code:
        "item"        "sm_ban"
        "item"        "sm_bandisconnected"
Change history:
  • 1.03 - (Hopefully) fixed some issues with GMOD and TF2

Attached Files
File Type: sp Get Plugin or Get Source (ban_disconnected.sp - 13533 views - 10.4 KB)

Last edited by mad_hamster; 02-05-2011 at 03:26. Reason: bugfix
mad_hamster is offline