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

[AMXBans] Combining admin permissions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sebxx4
Senior Member
Join Date: Feb 2013
Old 04-17-2022 , 06:53   [AMXBans] Combining admin permissions
Reply With Quote #1

Hello everyone.
I use AMXBans to add admins and VIPs to my server. Previously I got a problem; if I enter one person twice to AMXBans database, let's say first one with admin premissions (flags abcd...) and the second one with only VIP permissions (flag t), AMXBans loads only one of them. I modyfied SQL query in amxbans_core file and added GROUP_CONCAT so now SQL merges all entries with the same steamid value into one. And it works, but there's second problem I can't solve: if, for example, one person has admin permissions with steam_id authorization and the second one, eg. with IP+pass authorization, only one of them is loaded.

The best I would like this amxbans plugin to do is to recognizes all 3 types of authorization (steam_id, ip, nick) and, if somebody has various entries in database, merge permissions into one and load as single admin.

PS - Sorry for my english, hope you understood my problem guys ;)
sebxx4 is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 04-17-2022 , 07:15   Re: [AMXBans] Combining admin permissions
Reply With Quote #2

It's really going to look for one authorization, so what you're trying to do is a lot of work. Let alone, not the purpose of amxbans.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
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 07:11.


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