Admins manager
1 Attachment(s)
Admins Manager v1.3
-This plugin is a big useful tool, for manage admins in game. -You can delete admins from file, and add admins (*) with custom flags and save mode by (Ip, Steam id, Name + Password). -Also you can edit admin account from file (users.ini) by (Account, Password, Flags, Access flags). -Plugin works directly with file (users.ini). -After you added,edited or deleted an admin, admins list is reloaded automaticly. -This plugin is useful for multiple servers and one owner. *Player must be present on server.
say /adminsmanager - Open the main menu. say_team /adminsmanager - Open the main menu. say .adminsmanager - Open the main menu. say_team .adminsmanager - Open the main menu. console amx_adminpassword <password> - Save / change this password for specified admin. (Note:Is used on Edit Admin too) console amx_adminaccount <name / ip / steam id> - Save / change this account info for specified admin. (Note:Is used only when editing admins)
v1.1 - Added possibility to add admins. (*) v1.2 - Added possibility to add an admin with "Name + Password" v1.3 -Added flags(admin flags/access flags) description. -Modified the remove admin type. -Added posibility to edit admin accounts from file. -Bug fix. -Optimized. |
Re: Admins manager
Interesting.
Flags for cmd adminsmanager has to be set in cmdaccess.ini or what ? Should be ADMIN_RCON i guess ;) |
Re: Admins manager
To access the remove/add menu you must have "ADMIN_IMMUNITY".
I suggest, to test it. Is the only way to see how is look / work. |
Re: Admins manager
Oh yeah i see.
Access should really be ADMIN_RCON that is the supreme flag, but that's your plugin ;) Good job anyway (make noob's lives better :P) |
Re: Admins manager
The main menu, with add / remove ,all players are able to see it but only those with "ADMIN_IMMUNITY" can access it. :-D
Yeah, your right, "ADMIN_RCON", is the supreme flag, i will change it. Thanks. :P Little Update: Added Code:
#define MENU_ACCESS_FLAG ADMIN_RCON |
Re: Admins manager
Good job :)
|
Re: Admins manager
Quote:
r those commands for admin with the acsess flag that requires? ~Thank You :D P.S. and lol i was thinkin about tellin u to change it to L(rcon) but i saw the post... guess i was l8 +Karma |
Re: Admins manager
Any player can open the main menu (/adminsmanager) with add / remove but you must have the right "MENU_ACCESS_FLAG" to access the submenus. lol. Test it, and see your self. :wink:
Ty. |
Re: Admins manager
yeah tnx i did nice job
|
Re: Admins manager
Very nice plugin. I'll try it out in a little bit but it's a surprise this hasn't been made yet.
|
Re: Admins manager
excellent but what about us who have valve caffe and use nick and pass for admins ?
you should add nick+pass feature and also make it multilingual ;) |
Re: Admins manager
Ty for feedback.
@iggy_bus - No nick + pass. What valve caffe ?! I won't add nick + pass, is totaly useless, and what pass to add ?! And rofl, ML for what ?! 3 client messages ?! o.O, same is useless, there are alot of approved plugin with alot of client messages without ML... |
Re: Admins manager
iggy_bus speaks about guys who are playing cs in cyber café with the "valve cyber café program". Thoses guys have no steam id and need a nick + pass identification to be admin on a server ...
But imo multilang. is useless ... |
Re: Admins manager
He is right, you should implement all ways of adding an admin.
|
Re: Admins manager
Quote:
@connorr - ok ok, but i must enter a temp password until, is changed by owner , or ?! :| need ideas. :-D |
Re: Admins manager
Have it as an extra argument?
EDIT: Ah, it's menu-based. Maybe have a "set admin password" function, so you do "admin_password xyz" in console, then call the menu. |
Re: Admins manager
Yeah, but how player says the password to admin ?! You must give it in private, and if you do that, admin can open easyly users.ini and add it directly. Is so useless. :|
|
Re: Admins manager
Good point :-D
It doesn't really work, does it? |
Re: Admins manager
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 ;) |
Re: Admins manager
Quote:
If I have RCON, I wll add nick and password and I will tell it to that admin via mail or msn... And now for the menubased problem - an idea: What about if future admin has entered his nick that he wants for admin and he has already typed his setinfo and enters server, so server just reads "name" and "setinfo _whatever" (configurable) from players config.cfg and stores that in users.ini ? |
Re: Admins manager
Quote:
Quote:
I don't think is a good idea. Still useless, but maybe i will add something... :| |
Re: Admins manager
Maybe you could add support for people who do not use the users.ini file for admins, such as SQLite/MySQL
|
Re: Admins manager
Quote:
Quote:
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 ;) |
Re: Admins manager
@YamiKaitou - Dunno sql.
@iggy_bus - Ok, i will add name + pass. :-S asap |
Re: Admins manager
Updated:
v1.2 - Added possibility to add an admin with "Name + Password". - Save new admin password by command: "amx_adminpassword". |
Re: Admins manager
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 ;) |
Re: Admins manager
GJ! :)
Do I have to enter amx_adminpassword before or after making an admin? |
Re: Admins manager
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 :D
A new update will come later...with things specified by iggy_bus, and some optimizations. |
Re: Admins manager
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. |
Re: Admins manager
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? |
Re: Admins manager
yes thats the reason i removed the plugin
it is faster if i go to my users.ini remove or edit the flags i need and type amx_reloadadmins |
Re: Admins manager
Quote:
1.Yes is true,if you add all flags from page 1, then you switch to next 7 and select one is come back to first page...there is no way to fix this,but the flags are not reseted lol. I just test it and test it again, lol...you can even exit the menu...the flags are rested only if you press "Reset flags" or you save the admin. 2.Fixed. Redownload. @gevo - What ?! Yeah , if you have only one server is faster to go on users.ini and write the admin, but for a owner with 5 servers ?! o.O...And i think is more useful / handy to add from game even if you have only one server. |
Re: Admins manager
hmm, I guess I did something wrong, it's ok
@gevo, you are wrong, imagine me with 35 servers running and every server has his own head admin and 35 people come bother me to add admins every day. This plugin saved me quarter of a day ;) |
Re: Admins manager
well yes both of u proved me wrong but i did have it 1/2 corect since i run just 1 server xD
|
Re: Admins manager
...i've tested it and works fine, iggy can you confirm is working?:D or someone else...
Ty for suggestions... |
Re: Admins manager
I have dealed this plugin to my sub-head admins.
It works perfect. Good Job man ;) |
Re: Admins manager
what will be on the menu? screen shot or words please.
|
Re: Admins manager
Quote:
@imindfreak - wut ?! In menu will be 3 options (Add / Remove/ Edit) admins, then depends on menu, will show sub-menus...i can't explain. The best way to see is to test it. :E |
Re: Admins manager
Would it be better if you can have custom levels of admin? For ex. Master admin, Medium Admin, Low Admin.
So when you use the menu to add someone, you can just categorize him as Master admin and it will set all the appropriate flags. |
Re: Admins manager
Quote:
|
All times are GMT -4. The time now is 19:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.