Author
|
Message
|
Senior Member
|
04-17-2022
, 06:53
[AMXBans] Combining admin permissions
|
#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 ;)
|
|
|
|