Page 1 of 1

Using sourcebans on a HL1 server..

Posted: Fri Sep 11, 2026 5:00 pm
by Archive-Poster
The attached code will show you the basics of how to look up players and insert bans from you HL1 server to a source bans website/database.

Notes:

If you want to see the admin name on the website you need to make a "dummy group" with admin names and ID's. And add you server to the site.
This will not look up admin rights in the database!

ATM this is a code snippet, not a fully functional plugin!

Bad coded? Maybe but it might give some ideas...

Re: Using sourcebans on a HL1 server..

Posted: Fri Sep 11, 2026 5:00 pm
by Archive-Poster

Code: Select all

        if(equal("STEAM_ID_PEDING", iSteam) )
        {
            set_task(4.0, "VertifyBan", id)
            return PLUGIN_CONTINUE
        }
Pretty sure it's supposed to be STEAM_ID_PENDING?