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

All Admins Status Menu 0.2.7


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical       
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-26-2010 , 04:54   All Admins Status Menu 0.2.7
Reply With Quote #1

Note:

This plugin is an old idea that i had it but i didn't made it becouse on that times didn't have the knowledge to do it. I remember that i requested an idea similar to this and Exolent made it the plugin, but... this plugin is coded by me and started by 0. But why not, credits to Exolent.

Also, the code is not really NEW, have something like 1 or 2 mounths ago, and optimized somethings today.

Description:

Maybe you know about Admin Check plugin by OneEyed or others similar plugins. Well, "All Admins Status Menu" have a similar base (show admins) but with some important differences. This plugin show ALL admins that are registered in users.ini (except STEAMID for now). But the show of the admins, is not by chat or hud message, is by MENU. Other special thing is that show the actual status per admin (Online or Offline).

Also, if you select an admin in the menu you can see some information of him (Real Name, Email and Status). But if you want, you can set some or all information as private (per admin). All this configurations can be made using users.ini file.

Requirements:

Code:
#include <cstrike>

But only if you want to install this plugin in Counter-Strike game, if not you should comment this part:

Code:
/* *   Comment this if you don't want to install the plugin in Counter-Strike game */ #define USE_CSTRIKE

And also this:

Code:
/* *   Comment this if you want chat color prints, for the information things *   But you have to know that this only work on Counter-Strike */ #define USE_CHAT_COLOR

Commands:
  • /adms - Show the Admins Status Menu
  • /admins - Show the Admins Status Menu

SMA Configuration:

The only thing you want to edit is this:

Code:
/* *   Uncomment this if you want to destroy the menu after a player select an option *   To uncomment this you only have to remove the "//" */ //#define DESTROY_MENU

Plugin Configuration:

When you select an admin option in the menu, you can see some information about the admin selected. To configure this informations you have to use the users.ini

Like you know, to add a simple admin you use this:

Quote:
< name/ip/steamid > < password > < first flags > < second flags >
But now, you have new parameters:

Quote:
< name/ip/steamid > < password > < first flags > < second flags > < Real Name > < Email > < Status >
Also, you can hide some infos adding "private" to the parameter that you want to hide. And if you want to set all the information as private you have to put "allprivate" to the first parameter (Real Name) and thats all.

Here some examples of how to use users.ini to add information:

Quote:
"Alucard" "password" "abcdefghijklmnopqrstu" "ab" "Laureano Miceli" "[email protected]" "Owner"
"DVD Jon" "password" "abcdefghijklmnopqrstu" "ab" "Jon Lech Johanse" "private" "Admin"
"Coool" "password" "abcdefghijklmnopqrstu" "ab" "allprivate"
Warning: You have to add info to ALL players registered in users.ini (except STEAMID's), if you don't want to show information just use "private" on all parameters or "allprivate" in the first or "" to all parameters but don't leave without nothing... here some BAD examples:

Quote:
"Alucard" "password" "abcdefghijklmnopqrstu" "ab" "private"
"Alucard" "password" "abcdefghijklmnopqrstu" "ab"
"Alucard" "password" "abcdefghijklmnopqrstu" "ab" "Laureano Miceli" "[email protected]"
Images:

To-Do List:
  • Change read_file to fopen, fgets, and thats other natives...
  • Some type of support for STEAM_ID
  • More info parameters to add
  • Add multillingual system

Credits:
  • Exolent[jNr] - I Learned how to use dinamics arrays looking a plugin of him
  • Speed - Suggested me something of STEAM_ID detection (by flags)

Changelog:
  • Version 0.2.0
    • First public release.

  • Version 0.2.7
    • Cstrike module required now, only if you want to install in this game
    • Added more defines for preprocessors (ChatColor, Cstrike)
    • BuyIcon hide/draw only in Counter-Strike game
    • ChatColor.inc requirement removed, code included to this plugin
    • Added a delay to load admins in users.ini to prevent from crash
    • Changed old files natives to "new" files natives

* You can see the old changelog (or non-public changelog) in the source code
Attached Files
File Type: sma Get Plugin or Get Source (all_admins_status.sma - 2585 views - 12.3 KB)
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...

Last edited by Alucard^; 06-28-2010 at 12:01.
Alucard^ is offline
Send a message via Skype™ to Alucard^
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 06-26-2010 , 05:03   Re: All Admins Status Menu 0.2.0
Reply With Quote #2

nice
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-26-2010 , 05:13   Re: All Admins Status Menu 0.2.0
Reply With Quote #3

Awesome. Good job
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 06-26-2010 , 06:13   Re: All Admins Status Menu 0.2.0
Reply With Quote #4

plugin support amxbans ?
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
Vechta
Veteran Member
Join Date: Jun 2010
Old 06-26-2010 , 06:17   Re: All Admins Status Menu 0.2.0
Reply With Quote #5

Saw this on Spanish forum already but Nice Job
Vechta is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-26-2010 , 06:30   Re: All Admins Status Menu 0.2.0
Reply With Quote #6

Quote:
Originally Posted by eforie View Post
plugin support amxbans ?
amxbans for what? o.O This plugin has nothing to do with BAN.

Quote:
Originally Posted by Vechta View Post
Saw this on Spanish forum already but Nice Job
Yes, here: http://forums.alliedmods.net/showthr...ghlight=Status

But is updated now, so you should download this version.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 06-26-2010 , 08:26   Re: All Admins Status Menu 0.2.0
Reply With Quote #7

I think I will use this on our server. Sounds awesome sauce.

One question: If a player opens up the menu, and an admin joins while the player is looking at the menu, does the status change from "offline" to "online"?
RedRobster is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-26-2010 , 08:55   Re: All Admins Status Menu 0.2.0
Reply With Quote #8

Good question.

No, i will add this, thanks for the suggestion.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
BigMac
Member
Join Date: Jul 2009
Old 06-26-2010 , 09:19   Re: All Admins Status Menu 0.2.0
Reply With Quote #9

Nice Job Man!!!! This looks cool will try this now!
__________________
BigMac is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-26-2010 , 09:36   Re: All Admins Status Menu 0.2.0
Reply With Quote #10

Why don't you include colorchat code inside the .sma ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 02:54.


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