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

[ANY] Donor Menu (v1.5, 2016-06-17)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sarabveer
Veteran Member
Join Date: Feb 2014
Plugin ID:
4124
Plugin Version:
1.5
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    In-Game VIP/Donor Menu
    Unapprover:
    Reason for Unapproving:
    requested by author - quote: "It's a crappy and broken."
    Old 03-06-2014 , 16:16   [ANY] Donor Menu (v1.5, 2016-06-17)
    Reply With Quote #1

    [ANY] Donor Menu


    This is basically designed so you can have a Donor Menu without the hassle, just put the VIP commands in donors.cfg.

    The plugin considers anyone with the Kick "C" flag a Donor.

    Put the commands going in "donors.cfg" in "admin_overrides.cfg" so only admins and donors can use it!

    Donors.cfg:
    Code:
    "Donor Menu"
    {
        "title"    "Menu Title"
        "type"     "list"
        "items"
        {
            "sm_example"    "Here's an informational item"
            "sm_example2"   "This launches a client command when selected
        }
    }
    CVARS:
    sm_donormenu_version (Do Not Touch this!)
    sm_donormenu_welcome "1" //Show welcome message to newly connected users
    sm_donormenu_admins "0" //Show a list of online admins in the menu

    Commands:
    sm_donor
    !donor

    Changelog:
    Spoiler


    How to Install:
    "donormenu.smx" --> "<game>/addons/sourcemod/plugins"
    "donors.cfg" --> "<game>/addons/sourcemod/configs"

    Note:
    This is a heavily modified version of HelpMenu v0.3.
    HelpMenu 0.3 vs. Donor Menu 1.4
    Attached Files
    File Type: zip donormenu.zip (13.5 KB, 406 views)
    __________________

    Last edited by Sarabveer; 06-27-2018 at 21:16.
    Sarabveer is offline
    DJ Data
    SourceMod Donor
    Join Date: Dec 2012
    Location: Switzerland
    Old 03-07-2014 , 04:31   Re: [ANY] Donor Menu
    Reply With Quote #2

    This requires plugin dependencies. So please state them in your post.
    __________________
    SourcePawn Coding Level: Novice
    DJ Data is offline
    Sarabveer
    Veteran Member
    Join Date: Feb 2014
    Old 03-07-2014 , 16:06   Re: [ANY] Donor Menu
    Reply With Quote #3

    Quote:
    Originally Posted by DJ Data View Post
    This requires plugin dependencies. So please state them in your post.
    This plugin needs no dependencies, I don't know what your talking about?
    __________________
    Sarabveer is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 03-07-2014 , 18:16   Re: [ANY] Donor Menu
    Reply With Quote #4

    Quote:
    Originally Posted by Sarabveer View Post
    This plugin needs no dependencies, I don't know what your talking about?
    I think he's talking about the commands. They're for "be the robot", "resize players" plugins. Unless you compiled those plugins together they're dependencies.
    __________________
    serpentine is offline
    Sarabveer
    Veteran Member
    Join Date: Feb 2014
    Old 03-07-2014 , 18:20   Re: [ANY] Donor Menu
    Reply With Quote #5

    Quote:
    Originally Posted by serpentine View Post
    I think he's talking about the commands. They're for "be the robot", "resize players" plugins. Unless you compiled those plugins together they're dependencies.
    No their examples for the config file! The plugin doesn't need those plugins!
    __________________
    Sarabveer is offline
    DJ Data
    SourceMod Donor
    Join Date: Dec 2012
    Location: Switzerland
    Old 03-08-2014 , 13:59   Re: [ANY] Donor Menu
    Reply With Quote #6

    Oh right sorry, didnt see that.
    __________________
    SourcePawn Coding Level: Novice
    DJ Data is offline
    taRik
    AlliedModders Donor
    Join Date: Apr 2010
    Old 03-08-2014 , 14:43   Re: [ANY] Donor Menu
    Reply With Quote #7

    So the donors are considered everyone with the "A" flag?
    taRik is offline
    Sarabveer
    Veteran Member
    Join Date: Feb 2014
    Old 03-08-2014 , 16:32   Re: [ANY] Donor Menu
    Reply With Quote #8

    Quote:
    Originally Posted by taRik View Post
    So the donors are considered everyone with the "A" flag?
    It depends what flag you set for the commands in the admin_overrides.cfg.
    This is my current admin_overrides.cfg (B=ADMIN ONLY A=Admins and Donors)
    Code:
    Overrides
    {
    	"sm_resizeme"  "a"
    	"sm_resizemyhead"  "a"
    	"sm_noclip"  "b"
    	"sm_rof_access"  "a"
    	"sm_betherobot_admin"  "b"
    	"sm_god" "b"
    	"sm_pp" "a"
    	"sm_powerup" "a"
    	"sm_powerplay" "a"
    }
    EDIT: Yes, Donors are considers players with the "A" flag.
    __________________

    Last edited by Sarabveer; 10-05-2014 at 21:45.
    Sarabveer is offline
    taRik
    AlliedModders Donor
    Join Date: Apr 2010
    Old 03-08-2014 , 16:50   Re: [ANY] Donor Menu
    Reply With Quote #9

    Quote:
    Originally Posted by Sarabveer View Post
    It depends what flag you set for the commands in the admin_overrides.cfg.
    This is my current admin_overrides.cfg (B=ADMIN ONLY A=Admins and Donors)
    Code:
    Overrides
    {
    	"sm_resizeme"  "a"
    	"sm_resizemyhead"  "a"
    	"sm_noclip"  "b"
    	"sm_rof_access"  "a"
    	"sm_betherobot_admin"  "b"
    	"sm_god" "b"
    	"sm_pp" "a"
    	"sm_powerup" "a"
    	"sm_powerplay" "a"
    }
    Ah okay I understand. Is it possible to make it so under a certain menu, for example Slay (sm_slay) it lists all the players you can use the command on? (similiar to sm_admin) Because right now it just tells you how to use the command in the chatbox.

    Also, does the List current admins and Map rotation option work?
    taRik is offline
    Sarabveer
    Veteran Member
    Join Date: Feb 2014
    Old 03-08-2014 , 16:58   Re: [ANY] Donor Menu
    Reply With Quote #10

    Quote:
    Originally Posted by taRik View Post
    Ah okay I understand. Is it possible to make it so under a certain menu, for example Slay (sm_slay) it lists all the players you can use the command on? (similiar to sm_admin) Because right now it just tells you how to use the command in the chatbox.

    Also, does the List current admins and Map rotation option work?
    Yea, you can put in donors.cfg:
    Code:
    "Donor"
    {
    	"Slay People"
    	{
    		"items"
    		{
    			"sm_slay Bob" "Slay Bob"
    			"sm_slay Player2" "Slay Player2"
    		}
    	}
    }
    Or do you want a menu to come up when someone clicks "Slay People" listing current people on the server?

    And, Yes, the list shows online admins, and map rotations.
    __________________

    Last edited by Sarabveer; 03-08-2014 at 17:02.
    Sarabveer 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 21:17.


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