Raised This Month: $32 Target: $400
 8% 

[ANY] Groups Online


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Plugin ID:
6868
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Display online admins and vips by groups.
    Old 12-23-2019 , 09:56   [ANY] Groups Online
    Reply With Quote #1

    Description: Show online admins and vips by groups. Admins can hide their name from players with lower access (or regular players if the command is public).

    Example of output:
    - for sm_admins command:
    Code:
    [SM] Owners: Ilusion, p1mple
    [SM] Mods: baitzera
    [SM] Helpers: ZyWhO?, ecov1ce
    - for sm_vips command:
    Code:
    [SM] Gold-Vips: Ilusion, Clown9 | auti
    [SM] Vips: baitzera
    Commands:
    Code:
    sm_admins [visible|hidden] - Show online admins by groups
    sm_vips - Show online vips by groups
    GitHub: https://github.com/Ilusion9/groups-online-sm
    __________________

    Last edited by Ilusion9; 02-19-2020 at 08:18.
    Ilusion9 is offline
    Sincronic
    Senior Member
    Join Date: Dec 2018
    Old 12-23-2019 , 13:37   Re: [ANY] Display online admins by groups (or ranks)
    Reply With Quote #2

    Can't compile it:

    Code:
    // D:\Octa\CS gO\sourcemod-1.9.0-git6269-windows\addons\sourcemod\scripting\include\admin.inc(752) : warning 219: local variable "flag" shadows a variable at a preceding level
    // D:\Octa\CS gO\sourcemod-1.9.0-git6269-windows\addons\sourcemod\scripting\include\admin.inc(764) : warning 219: local variable "flag" shadows a variable at a preceding level
    // displayadmins.sp(13) : error 001: expected token: "{", but found "struct"
    // displayadmins.sp(15) : error 001: expected token: "public", but found "char"
    // displayadmins.sp(16) : error 001: expected token: "}", but found "int"
    // displayadmins.sp(17) : error 054: unmatched closing brace ("}")
    // displayadmins.sp(23) : error 017: undefined symbol "GroupInfo"
    // displayadmins.sp(23) : error 029: invalid expression, assumed zero
    // displayadmins.sp(23) : warning 215: expression has no effect
    // displayadmins.sp(43) : warning 219: local variable "flag" shadows a variable at a preceding level
    // displayadmins.sp(49) : error 104: cannot find any methods for GroupInfo
    // displayadmins.sp(49) : error 017: undefined symbol "GroupInfo"
    // displayadmins.sp(49) : error 029: invalid expression, assumed zero
    // displayadmins.sp(49) : fatal error 190: too many error messages on one line
    //
    // Compilation aborted.
    // 10 Errors.
    //
    // Compilation Time: 0.23 sec
    // ----------------------------------------
    Sincronic is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 12-23-2019 , 13:58   Re: [ANY] Display online admins by groups (or ranks)
    Reply With Quote #3

    Sourcemod 1.10 is required.
    __________________
    Ilusion9 is offline
    Sincronic
    Senior Member
    Join Date: Dec 2018
    Old 12-23-2019 , 14:16   Re: [ANY] Display online admins by groups (or ranks)
    Reply With Quote #4

    Quote:
    Originally Posted by Ilusion9 View Post
    Sourcemod 1.10 is required.
    I compiled on sourcemod web site.

    This is from chat.
    Code:
    [SM] of: SmoKey
    [SM] unique: Cipci__->, HvHc
    And this is from cfg

    Code:
           /* Name of the group - unique flag (groups below this group must not have this flag) */
    	"Owners"        "z"
    	"Co-Owner"      "o"
    	"Mods"          "p"
    	"Administrator" "q"
    	"Helpers"       "r"
    	"VIP"           "s"
    Is not showing the group
    Sincronic is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 12-23-2019 , 15:05   Re: [ANY] Display online admins by groups (or ranks)
    Reply With Quote #5

    Quote:
    Originally Posted by Sincronic View Post
    I compiled on sourcemod web site.

    This is from chat.
    Code:
    [SM] of: SmoKey
    [SM] unique: Cipci__->, HvHc
    And this is from cfg

    Code:
           /* Name of the group - unique flag (groups below this group must not have this flag) */
    	"Owners"        "z"
    	"Co-Owner"      "o"
    	"Mods"          "p"
    	"Administrator" "q"
    	"Helpers"       "r"
    	"VIP"           "s"
    Is not showing the group
    Delete the comment line or paste the config from github
    __________________
    Ilusion9 is offline
    Sincronic
    Senior Member
    Join Date: Dec 2018
    Old 12-24-2019 , 12:00   Re: [ANY] Display online admins by groups (or ranks)
    Reply With Quote #6

    Quote:
    Originally Posted by Ilusion9 View Post
    Delete the comment line or paste the config from github
    Now works ! Thanks, and good job !
    Sincronic is offline
    ApoziX
    Member
    Join Date: Sep 2018
    Old 01-06-2020 , 06:56   Re: [ANY] Display online admins and vips by groups
    Reply With Quote #7

    Quote:
    Originally Posted by Ilusion9 View Post
    Description: Display online admins and vips by groups (or ranks).

    Example of output:
    - for sm_admins command:
    Code:
    [SM] Owners: Ilusion, p1mple
    [SM] Mods: baitzera
    [SM] Helpers: ZyWhO?, ecov1ce
    - for sm_vips command:
    Code:
    [SM] Gold-Vips: Ilusion, Clown9 | auti
    [SM] Vips: baitzera
    Commands:
    Code:
    sm_admins
    sm_vips
    GitHub: https://github.com/Ilusion9/sm-show-admin-vip-groups
    Add show and Dont show command, I mean If I am vip or admin I could do !admindontshow and it remove me from the menu and say No Admins Online
    __________________
    Looking To Start A TF2 Community
    My Discord | My Steam
    ApoziX is offline
    ApoziX
    Member
    Join Date: Sep 2018
    Old 01-06-2020 , 06:57   Re: [ANY] Display online admins and vips by groups
    Reply With Quote #8

    Convert it to menu, or add an option to menu
    __________________
    Looking To Start A TF2 Community
    My Discord | My Steam
    ApoziX is offline
    HiddenConn1
    AlliedModders Donor
    Join Date: Aug 2009
    Location: Cambridge, UK
    Old 01-07-2020 , 07:01   Re: [ANY] Display online admins and vips by groups
    Reply With Quote #9

    I don't understand where I'm meant to get the plugin smx file from?
    __________________
    HiddenConn1 is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 01-07-2020 , 09:06   Re: [ANY] Display online admins and vips by groups
    Reply With Quote #10

    Quote:
    Originally Posted by ApoziX View Post
    Add show and Dont show command, I mean If I am vip or admin I could do !admindontshow and it remove me from the menu and say No Admins Online
    I will do it.

    Quote:
    Originally Posted by HiddenConn1 View Post
    I don't understand where I'm meant to get the plugin smx file from?
    Compile the .sp file
    __________________
    Ilusion9 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 19:06.


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