[SOLVED] Is there any interface ? API ?
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++ ?
|
Re: Is there any interface ? API ?
If you've installed the game server, Metamod, SourceMod, and SourceBans++ correctly then you can add a manual ban (using the players' name, IP, and/or STEAM ID) on the installed SourceBans installation. Alternatively, you can also use your game server to ban. Simply use the in-game SourceMod admin menu and ban from there. This will automatically add the ban to SourceBans, again, if it's installed and set up correctly.
|
Re: Is there any interface ? API ?
Quote:
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. |
Re: Is there any interface ? API ?
I was looking for the forward, for some reasons, I couldn't find the include files. Thanks !
|
All times are GMT -4. The time now is 17:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.