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

Admins manager


Post New Thread Reply   
 
Thread Tools Display Modes
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-10-2007 , 14:41   Re: Admins manager
Reply With Quote #21

Quote:
Originally Posted by iggy_bus View Post
Ok let me explain...

If you add admin via ID, the line looks like this:
"STEAM_ID_xxxxxxxx" "" "abcdefghijkl.." "a"

If you add admin via IP, the line looks like this:
"xxx.xxx.xxx.xxx" "" "abcdefghijkl..." "d"

Now you just have to add a mode for editing the third way to add admins, the line contains 4 fields (nick, password, flags, connection flags)
"nick" "password" "abcdefghijkl....." "a"

Example:
"admin" "secret" "abde" "a"
---player must enter [name "admin"] and [setinfo _pw "secret"] and he has commands that come with "abde" flags...

Hope it is more clear, many servers use nick+pass to add admins since large number of admins play from game centers where they do not have their own steam account but some random valve steam_id, so for them, amxx modders made the third way od admin logging, so I think you should implement it because you plugin is awesome ;)
LOL =)), dude i know how yo add admins. ROFL

Quote:
Originally Posted by iggy_bus
Nevermind that.
If I have RCON, I wll add nick and password and I will tell it to that admin via mail or msn...
lol, so what's the point ?! You don't get it. If he want a specific password ?! He must tell you the pass then add it, so you can add it directly. IMO USELESS.

I don't think is a good idea. Still useless, but maybe i will add something...
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-10-2007 , 14:47   Re: Admins manager
Reply With Quote #22

Maybe you could add support for people who do not use the users.ini file for admins, such as SQLite/MySQL
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 12-10-2007 , 15:02   Re: Admins manager
Reply With Quote #23

Quote:
Originally Posted by Alka View Post
LOL =)), dude i know how yo add admins. ROFL
well sorry but you sound very confused on my first post so I had to "dummy explain" just in case, nhf m8 ;)

Quote:
Originally Posted by Alka View Post
lol, so what's the point ?! You don't get it. If he want a specific password ?! He must tell you the pass then add it, so you can add it directly. IMO USELESS.

I don't think is a good idea. Still useless, but maybe i will add something...
I guess you do not get it
I have 20+ servers, and only I have ssh access to machines (linux) and every server has it's own rcon head admin. They all bug me to add admins so I always need to go and write users.ini. It is annoying for 20+ servers.

That's why I would like this plugin to be able to add name+pass so I can just give those head admins this plugin so they can add admins by them selves ;)
iggy_bus is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-11-2007 , 00:23   Re: Admins manager
Reply With Quote #24

@YamiKaitou - Dunno sql.
@iggy_bus - Ok, i will add name + pass. :-S asap
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-11-2007 , 09:48   Re: Admins manager
Reply With Quote #25

Updated:
v1.2
- Added possibility to add an admin with "Name + Password".
- Save new admin password by command: "amx_adminpassword".
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 12-11-2007 , 18:30   Re: Admins manager
Reply With Quote #26

thanx for adding nick+pw, it works ;)

Some ideas:

1) As you have the list of admins when removing them, you could add "Edit Admin" feature, where you can chose an admin and from the list and edit his name, password or flags ?

2) When I remove admins directly, I just add ";" in front of the line just in case I give them back the access. But your plugin overwrites the line.
Can you change it so when the plugin removes an admin, the line remains but it just adds ";" in front. Admin will be disabled anyway.

3) It would be very useful if you could implement some explanations for the flags on menu.

Example:
a (Immunity)
b (Reserved Slot)
etc.

That would be it for now. I hope I am not too annoying but I like this plugin and I would like it to be much more advanced ;)
iggy_bus is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 12-12-2007 , 11:48   Re: Admins manager
Reply With Quote #27

GJ!
Do I have to enter amx_adminpassword before or after making an admin?
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-12-2007 , 12:41   Re: Admins manager
Reply With Quote #28

Ty. Afte you selected the admin flags and save mode ("name + password") you must eneter the password. Anyway it will warn you if you don't enter a password

A new update will come later...with things specified by iggy_bus, and some optimizations.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 12-12-2007 , 14:27   Re: Admins manager
Reply With Quote #29

Updated(a big one):
v1.3
-Added flags(admin flags/access flags) description.
-Modified the remove admin type.
-Added posibility to edit admin accounts from file.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 12-12-2007 , 22:22   Re: Admins manager
Reply With Quote #30

great man ;)

bugs:

1) when adding flags, you have 7 flags on screen 1 and you select them all, then you switch to next 7 flags and as soon as you select 1 flag from screen 2 it goes back to screen 1 reseting all the flags selected from screen 1 so now you have only 1 flag from screen 2 selected if you save admin

2) when you remove admin, ok it just adds ";" in front of a line but and admin is disabled, but next time when you try to add an admin with the same name and pass as that removed admin, it says "there is already account...", maybe it should not recognize disabled accounts at all?
iggy_bus 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 10:02.


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