Using sourcebans on a HL1 server..
Posted: Fri Sep 11, 2026 5:00 pm
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...
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...