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...
Credit:
The sourcebans team! Friggin good job! Cant wait to see v2!
Exolent and ŽEmp
- Cheers!