View Single Post
Author Message
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-23-2015 , 22:23   [ANY] Ban Disconnected Players [UPDATED 1/3/17]
Reply With Quote #1

[ANY] Ban Disconnected Players


Introduction:
I rewrote this plugin due to the creator of the old one mad_hamster no longer supporting it. This plugin shares the same idea as the old one, but is now supported and has bug fixes. I also added a command called sm_listdisconnected to see the last 10 people who left your server printed to your console!

Also, with this plugin there is no limit to the amount of players that is saved due to it supporting ADT arrays. As long as your server doesn't restart often, you can go back pretty far. Refer to the screenshot below to see me scrolling through ~200 disconnected players.

Instructions:
  • Install the plugin by moving the .smx file into your /plugins/ folder
  • Load the plugin
  • Type sm_admin or sm_bandisconnected
  • Click on the "Ban disconnected player" option and view all disconnected clients
  • Enjoy!

ConVars:
  • hl_bandisconnected_max <value> (A limit for the amount of disconnected players stored, default value is 100)

SourceMod Version 1.7+ Is Required!
Attached Files
File Type: sp Get Plugin or Get Source (hl_bandisconnected.sp - 1613 views - 12.3 KB)

Last edited by headline; 03-11-2020 at 17:27.
headline is offline