AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   How does sourcebans stores admin's info? (https://forums.alliedmods.net/showthread.php?t=200018)

LambdaLambda 11-04-2012 05:52

How does sourcebans stores admin's info?
 
Hey,

wanted to integrate mine plugin to buyin a slot with sourcebans, but i'm not sure how does sourcebans saves admins in database? Which table(s?), which field is what etc.

Hope someone will be able to help me with it.

Thanks!

LambdaLambda 11-04-2012 06:12

Re: How does sourcebans scores admin's info?
 
i see it adds data to sb_admins and sb_admins_servers_groups. But i've one question. Do I need to put in table 'sb_admins_servers_groups' record for every single server, or just that one where admin does have an admin? coz when i look at it, it shows me some double records like:

admin_id 1, group_id 1, srv_group_id 1, server_id -1
admin_id 1, group_id 1, srv_group_id 1, server_id 6


All times are GMT -4. The time now is 07:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.