This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Admin List


Post New Thread Reply   
 
Thread Tools Display Modes
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 09-25-2011 , 16:47   Re: Admin List
Reply With Quote #81

As answer to this request, this is a modified version of Antithasys' fixed one adding a /adminon and /adminoff admin command so admins could hide themselves from the adminlist ingame if they want to act stealthy

This only hides them from the !admins list and doesn't touch their permissions at all.

Commands:
sm_adminon, sm_adminoff
Both require the generic admin flag.

(Also replaced GetMaxClients() with MaxClients)
Attached Files
File Type: sp Get Plugin or Get Source (AdminList.sp - 1270 views - 3.4 KB)
__________________
Peace-Maker is offline
Rp.KryptoNite
Senior Member
Join Date: Feb 2012
Location: Israel
Old 06-05-2012 , 04:45   Re: Admin List
Reply With Quote #82

if i want it to look like

------------------------------
ADMIN1
ADMIN2
...
------------------------------
Help ? PM me
Rp.KryptoNite is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-05-2012 , 05:45   Re: Admin List
Reply With Quote #83

Quote:
Originally Posted by Rp.KryptoNite View Post
if i want it to look like

------------------------------
ADMIN1
ADMIN2
...
------------------------------
Help ? PM me
Just edit the text.
I already told you in your server [Im TimeBomb], I have a custom admin-list that i made for my private server, if you want it talk to me on steam.
__________________
retired
shavit is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-05-2012 , 10:49   Re: Admin List
Reply With Quote #84

Quote:
Originally Posted by Rp.KryptoNite View Post
if i want it to look like

------------------------------
ADMIN1
ADMIN2
...
------------------------------
Help ? PM me
This makes it -> https://forums.alliedmods.net/showthread.php?p=1715146
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Skippy
Senior Member
Join Date: Nov 2011
Old 11-20-2012 , 20:44   Re: Admin List
Reply With Quote #85

Is there a way to get the admins tag in the admin menu? Like [Owner] and [Admin]
Skippy is offline
Zwappy
New Member
Join Date: May 2013
Old 05-17-2013 , 14:18   Re: Admin List
Reply With Quote #86

Does this plugin work really good ?
Zwappy is offline
wingblack
Junior Member
Join Date: Jan 2013
Old 05-29-2013 , 08:53   Re: Admin List
Reply With Quote #87

After I choose to use SourceBans database for managing donators I find this plugin show donators as admins (not so surprice)

I fixed it as I can (as I noob in scripting)

Added
Code:
......
new Handle:AdminListFlag = INVALID_HANDLE;
......
AdminListFlag           = CreateConVar("adminlist_flagbits", "2", "Flag bits to show only admins with some flags. 1=a, 2=b, 4=c and etc. 1+2+4+... for many flags use");
......
And change this code
Code:
(AdminID != INVALID_ADMIN_ID)
to
Code:
((AdminID != INVALID_ADMIN_ID) && (GetUserFlagBits(i) & GetConVarInt(AdminListFlag) ) )
By default Admin List plugin will show only admins with B flag (Generic admin)

Feel free to improve this code
Attached Files
File Type: sp Get Plugin or Get Source (AdminList.sp - 685 views - 3.1 KB)
wingblack is offline
Fridge
Junior Member
Join Date: Jun 2013
Old 08-09-2013 , 16:00   Re: Admin List
Reply With Quote #88

Uhm..? Just a thought, but.. what about adding custom names aswell? Instead of just [ADMIN], you could add custom ones like, [OWNER], [MOD] etc.. Just an idéa
Fridge is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-09-2013 , 17:47   Re: Admin List
Reply With Quote #89

Quote:
Originally Posted by Fridge View Post
Uhm..? Just a thought, but.. what about adding custom names aswell? Instead of just [ADMIN], you could add custom ones like, [OWNER], [MOD] etc.. Just an idéa
As this? https://forums.alliedmods.net/showthread.php?p=1715146
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Wliu
Veteran Member
Join Date: Apr 2013
Old 10-29-2013 , 17:35   Re: Admin List
Reply With Quote #90

Updated Peace-Maker's version with an adminmenu option to toggle your adminon/off status, and also added an option to permanently hide you from the list (might not work, untested). Admin names now also have a space between them (admin1, admin2, etc.), and if there are no admins online, it displays that as such.

adminlist.smx
adminlist.sp
__________________
~Wliu
Wliu 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 22:33.


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