Raised This Month: $ Target: $400
 0% 

[REQ] AdminManagement from SQL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ashcan
Senior Member
Join Date: May 2008
Old 07-15-2011 , 08:35   [REQ] AdminManagement from SQL
Reply With Quote #1

Hello
I wonder if its hard to make, if not, can u do that for me ?

1. Admins will be loaded from SQL by...

Got table and there i got.

Name SteamID Access Group
Ashcan STEAM_0:1:123456 abz "Zombie Admin"
Ashcan2 STEAM_0:1:654321 abq "FFA Admin"


I want to read that base by Group (depending on what server it is installed)
If i install this plugin on Zombie Server, i want to have admins readed from sql table WHERE Group = "Zombie Admin". and if i got this plugin on FFA server, admins should be read from sql table WHERE Group = "FFA Admin".

It would be nice if this plugin's group name / and / table name to read admins from - could be cvar controlled.

I just dont know how to make it.
Can you do that, please ?

Regards, Ashcan

edit:::

I think this could be helpful -> http://forums.alliedmods.net/showthread.php?t=42186


edit2:::
oh, and i think it would be better to control on cvars, access too ! (not from sql)

Last edited by Ashcan; 07-15-2011 at 09:00.
Ashcan is offline
Aykay
Senior Member
Join Date: Jul 2009
Location: Australia
Old 07-15-2011 , 10:27   Re: [REQ] AdminManagement from SQL
Reply With Quote #2

If not, you could use AMXBans, or whatever it's called now.
__________________

Aykay is offline
Send a message via MSN to Aykay
Ashcan
Senior Member
Join Date: May 2008
Old 07-15-2011 , 10:29   Re: [REQ] AdminManagement from SQL
Reply With Quote #3

yea im using it atm...
but its kinda hard to always keep in mind that whenever i remove admins/vips from amxbans, to remove them also from forums...
So it would be nice that whenever i add user to group (on forums) he instantly get an admin/vip (depending on what group he is added)
Ashcan is offline
Aykay
Senior Member
Join Date: Jul 2009
Location: Australia
Old 07-15-2011 , 10:35   Re: [REQ] AdminManagement from SQL
Reply With Quote #4

Fair enough
I know nothing about SQL so can't help you mate.
__________________

Aykay is offline
Send a message via MSN to Aykay
Ashcan
Senior Member
Join Date: May 2008
Old 07-25-2011 , 04:44   Re: [REQ] AdminManagement from SQL
Reply With Quote #5

lready made it from admin.sma
Ashcan is offline
Reply



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:55.


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