Quote:
Originally Posted by Arkarr
Is there any API for Sourceban++ that I use somewhere ? Or I have to do manually the query to the database ? How does one add a ban to sourceban++ ?
|
Within SourceMod plugins, the official SourceBans allows you these forwards:
scripting/include/sourcebans.inc
scripting/sourcebans_sample.sp
And the SourceBans++ fork:
scripting/include/sourcebanspp.inc
If you are referring to external things (e.g. a web service poking the SourceBans installation), then no, there is no API for that, and querying the database directly would be your only / best shot.
__________________