View Single Post
Author Message
chromatikmoniker
Junior Member
Join Date: Apr 2024
Old 04-29-2024 , 18:47   [ALL] Ban By SteamID
Reply With Quote #1

This is a plugin designed to allow admins to effectively ban or unban a user by their STEAM_ID, this plugin also comes with a built in feature for grabbing the STEAM_ID of a client that is ready to be banned from the server and the plugin automatically intercepts the STEAM_ID as it is connect and essentially bans them from the server on that one account

This plugin logs the STEAM_ID's to a configuration file called bannedplayers.ini in your configs folder this is where the plugin stores all available STEAM_ID's of banned users and saves them until unbanned to which the ID's will be promptly removed by the sm_unbansteamid command allowing the user to play the server again.

Cvars:

sm_getsteamid - Obtains a target client's steam id and tells you what it is (Useful for banning the target client)

sm_bansteamid - Adds the affected STEAM_ID to the config which is then read and bans the user

sm_unbansteamid - Lifts the ban on the affected STEAM_ID and allows that ID to play the server again
Attached Files
File Type: smx sm_banbysteamid.smx (6.7 KB, 29 views)
File Type: sp Get Plugin or Get Source (sm_banbysteamid.sp - 78 views - 5.2 KB)

Last edited by chromatikmoniker; 04-29-2024 at 18:57.
chromatikmoniker is offline