View Single Post
Author Message
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 12-14-2018 , 17:44   [Any] Force Auth
Reply With Quote #1

Force Auth

v 1.0.0


This is a very simple plugin that enforces player authentication on connect by reconnecting or kicking unauthenticated players. Sometimes players are not able to properly authenticate with steam servers or the event doesn't fire at all, which can cause conflicts with other plugins, or even bypassing bans.

This plugin will log reconnects/kicks to addons/sourcemod/logs/error_date.log

If the reconnect method is used and the client has failed to authenticate three times, they will instead then be kicked.

ConVar
sm_forceauth_connect <0/1> // Hide connect message until client has authenticated
sm_forceauth_time <default 10.0> // How many seconds to wait after OnClientPutInServer to verify that the client has authenticated.
sm_forceauth_method <reconnect/kick> // Method of dealing with clients who have failed to authenticate (Options: reconnect, kick)


.
Attached Files
File Type: sp Get Plugin or Get Source (authorizeplayer.sp - 806 views - 3.5 KB)
__________________

Last edited by JoinedSenses; 12-19-2018 at 17:52.
JoinedSenses is offline