#include <sourcemod>
#include <sdktools>
public Plugin:myinfo = {
name = "Kick on Connect",
author = "Author Name",
description = "Kicks players when they connect to the server",
version = "1.0",
url = "https://www.example.com"
};
public void OnClientPutInServer(int client)
{
KickClient(client, "You have been kicked for connecting to the server");
}