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


Raised This Month: $ Target: $400
 0% 

[L4D2] Admiral Menu - The Ultimate VIP Plugin (2.3) | 20/10/2022


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Plugin ID:
8192
Plugin Version:
2.3
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Display Admiral Menu For Your Loyal Players
    Unapprover:
    Reason for Unapproving:
    no source
    Old 09-23-2022 , 21:19   [L4D2] Admiral Menu - The Ultimate VIP Plugin (2.3) | 20/10/2022
    Reply With Quote #1

    « L4D2 Admiral Menu »


    About:
    • This plugin I'm calling it "Admiral Menu"
    • It allows only selected players to have access to it.
    • You can add a tag to admiral players, and change their text color
    • You can spawn them with higher hp value
    • They can receive health when killing special infected
    • And multiple more stuff, you can check the menu list below


    The Menu List:
    • Admiral Duties: These are simple text lines to show admirals the rules they should follow.
    • Server Commands: These are external commands from other plugins for easy access.
    • Appearance: You can change your skin color, aura, particles and trails.
    • Weapons Menu: This a list of weapons/upgrades admirals can select, you can adjust how many weapons admirals are allowed to select through a cvar.
    • Teams Manager: To display teams, join specific team, takeover, swap players
    • Vote System: You can vote map, vote restart, vote shuffle, vote slay, vote kick, vote ban as an admiral.
    • Settings: To view your profile, enable chat prefix, auto laser activation, manage admiral players as an admin only.


    To Do List:
    • Adding Config Data > Done
    • Adding Membership Timer > Done
    • Adding More Weapons and Upgrades > Done
    • Adding Vote Restart > Done


    Credits: (Many Thanks - You Guys Are Awesome)
    • Special Thanks To: Dragokas: for completely adding the config data. You are an incredible scripter who made the game better for us.
    • Silvers
    • AtomicStryker
    • King_OXO
    • 000
    • Eyal282
    • Eddie
    • Sourcemod


    Commands:
    • sm_admiral > To display the admiral menu
    • sm_admins > To display the admirals and admins list
    • sm_admiral_reload > To refresh the data file after editing L4D2_Admiral_Menu.cfg to enforce the new changes.


    Cvars:
    PHP Code:
    // This file was auto-generated by SourceMod (v1.11.0.6911)
    // ConVars for plugin "L4D2_Admiral_Menu.smx"


    // Enable Admiral Menu To Autherized Players (Admins and Admirals).
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_admiral_menu_enable "1"

    // Add Special Tag Prefix And Color Change To Admiral Players When Using Chats.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_admiral_tag_prefix "1"

    // Block Team Switch Menu, And Allow Changing Teams Throw Admiral Menu Only.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_admiral_team_menu_access "1"

    // Set How Many Weapons Survivors Are Allowed To Pick From The Weapons Menu.
    // -
    // Default: "1"
    l4d2_admiral_weapons_selection "1"

    // Set Survivors Max Health (Health Above 100 Will Unlock Maximum Healing Limit)
    // -
    // Default: "125"
    // Minimum: "0.000000"
    // Maximum: "65535.000000"
    l4d2_admiral_survivors_health "125"

    // Set The Ammount Of Health Admirals Will Get After Killing Special Infected
    // -
    // Default: "5"
    // Minimum: "0.000000"
    // Maximum: "65535.000000"
    l4d2_admiral_survivors_lifesteal "5"

    // Set The Smoke RGB Color (Seperated By Space): <Red> <Green> <Blue> (0-255)
    // -
    // Default: "16 122 0"
    l4d2_admiral_smoke_color "16 122 0"

    // Set The Damage Ammount (Every 2 Seconds) When Someone Trapepd Inside The Smoke
    // -
    // Default: "4.0"
    l4d2_admiral_smoke_damage "4.0"

    // Set The Time Duration Before The Smoke Fades Away (In Seconds)
    // -
    // Default: "20.0"
    l4d2_admiral_smoke_duration "20.0"

    // Allow Smoke Ability For The Speical Infected (Located In The Upgrades Section)
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_admiral_smoke_enable "1"

    // Set The Time Duration After Which Infected Can Use The Smoke Ability Again (In Seconds)
    // -
    // Default: "60.0"
    l4d2_admiral_smoke_locktime "60.0"

    // Set The Length Of A Vote Ban (In Minutes), After A Successfuly Vote Ban Occurs.
    // -
    // Default: "30"
    // Minimum: "0.000000"
    l4d2_admiral_vote_ban_time "30"

    // Set The Minimum Delay (In Seconds) Between Each Vote To Avoid Abusing It.
    // -
    // Default: "120"
    // Minimum: "0.000000"
    l4d2_admiral_vote_delay "120"

    // Set The Minimum Number Of Players Required To Be Able To Initiate A Vote.
    // -
    // Default: "3"
    // Minimum: "0.000000"
    // Maximum: "32.000000"
    l4d2_admiral_vote_minplayers "3"

    // Set The Minimum Percentage Required For A Successful Vote.
    // -
    // Default: "0.51"
    // Minimum: "0.010000"
    // Maximum: "1.000000"
    l4d2_admiral_vote_percent "0.51" 
    Requirements:
    • None


    Installation:
    • Make sure to delete the old "L4D2_Admiral_Menu.smx" from your "\addons\sourcemod\plugins" folder.
    • Extract "L4D2_Admiral_Menu.zip" file in your "\addons\sourcemod" folder.


    Who can access to the admiral menu?
    • Any admin and all registered admirals


    How to add a player to the admiral list?
    • Method 1: As an admin, type "!admiral", then go to the last section called "Settings", then "Manage Admirals", after that select a player you want to add as an admiral and adjust time for them.
    • Method 2: As a server owner, go to "data" folder located in "\addons\sourcemod\data", and search for a file called "L4D2_Admiral_Menu.cfg", you will find a section called "Admirals List", follow the existed example, then after adding their steam id, go to the game and type "!admiral_reload" to refresh the data file.
    • Note: When editing "data/L4D2_Admiral_Menu.cfg", if the admiral duration is set to "-1", this will give a permanent access to the menu, and any value above 0, is equal to the access duration in seconds


    How to change the rules or add more external commands?
    • Go to "data" folder located in "\addons\sourcemod\data", and search for a file called "L4D2_Admiral_Menu.cfg", you would find 2 sections, one for rules and the other one for commands, then after adding your desired rules/commands, go to the game and type "!admiral_reload" to refresh the data file.


    How a player can display the admiral tag or change the text color?
    • When you set someone as an admiral, they should access to the menu by typing "!admiral" and then go to "Settings". Then they should toggle chat prefix (set it to "Yes"), and then go to "Change Text Color", and select your desired color.


    Updates:
    Code:
    • 20-10-2022 > Version 2.3: Adding more texts color, and general fixes.
    • 15-10-2022 > Version 2.2: Fixing some particles positions, and adding an option to change texts color
    • 14-10-2022 > Version 2.1: Clearing admiral ghosts, thanks to Dragokas, and fixed some bugs
    • 11-10-2022 > Version 2.0: Data file was added, thanks to Dragokas and some general updates
    • 24-09-2022 > Version 1.0: Initial release
    This is now a private plugin and is not allowed to be shared in public
    __________________

    Last edited by alasfourom; 04-03-2023 at 20:53. Reason: Plugin Updated: v2.0
    alasfourom is offline
     



    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 06:42.


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