Raised This Month: $12 Target: $400
 3% 

How does sourcebans stores admin's info?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 11-04-2012 , 05:52   How does sourcebans stores admin's info?
Reply With Quote #1

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!

Last edited by LambdaLambda; 11-04-2012 at 06:19.
LambdaLambda is offline
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 11-04-2012 , 06:12   Re: How does sourcebans scores admin's info?
Reply With Quote #2

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
LambdaLambda is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:29.


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