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

[CS:GO ZR / All?] Admin Buttons


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PikaJew
Junior Member
Join Date: Mar 2020
Plugin ID:
6962
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow admins to press map buttons via a menu
    Old 03-02-2020 , 18:05   [CS:GO ZR / All?] Admin Buttons
    Reply With Quote #1

    Description:

    I made this plugin with Zombie Escape in mind.
    A lot of ZE maps have admin rooms that let you change levels and its rather annoying to have to noclip/tp to the buttons and then try to find the right button.
    This plugin looks at all the func_buttons on the map with certain names and adds them to a menu admins can use to use the button.

    Features:
    • The plugin automatically makes a list of all the buttons with substrings found in the admin_buttons.txt file.
    • The plugin allows viewing of the buttons that are in the list accessable to admins, and a list of all the maps buttons.
    • The plugin allows root admins to temporarily add other buttons in the map to the list of accessable buttons with a simple command.

    Commands:
    • sm_buttonwatchlist: List all phrases flagged by the Admin Buttons plugin
    • sm_buttonlist: List all button names on the map
    • sm_buttons: Allows admin to activate any buttons on the map (Reserved for generic admins and higher)
    • sm_buttonadd <arg>: Allows root admin to add a search term and redo the button search for that term (Reserved for root admins) (eg. "/buttonadd bubble")

    Installation:

    Just go to my github repo and download the sourcemod folder, then drag it into the addons folder. You can add keywords you want to be automatically found in button names by adding them to new lines in the admin_buttons.txt file

    Big thanks to everybody who has helped me on the Sourcemod Discord server!
    PikaJew is offline
    CrazyGhostRider
    Member
    Join Date: Apr 2014
    Location: Russia
    Old 03-03-2020 , 06:02   Re: [CS:GO ZR / All?] Admin Buttons
    Reply With Quote #2

    Most often, these buttons have no names. (There is no sense in this)
    Will the plugin find nameless buttons?

    P.S. as an option, manually add nameless buttons at the coordinates (under the gun) and give them names.
    CrazyGhostRider is offline
    PikaJew
    Junior Member
    Join Date: Mar 2020
    Old 03-03-2020 , 12:14   Re: [CS:GO ZR / All?] Admin Buttons
    Reply With Quote #3

    Quote:
    Originally Posted by CrazyGhostRider View Post
    Most often, these buttons have no names. (There is no sense in this)
    Will the plugin find nameless buttons?

    P.S. as an option, manually add nameless buttons at the coordinates (under the gun) and give them names.
    Most ze maps I have seen name all their buttons (and everyone should name their buttons), adding nameless buttons wouldn't really help as you wouldn't know what you are pressing. If more people want me to add support to specify buttons by coordinates I would consider adding per map config files where you could specify button coordinates but I don't think It would be that useful at least for the purpose I made the plugin for.
    PikaJew is offline
    Zeddy_god
    Senior Member
    Join Date: May 2015
    Location: Mumbai, India
    Old 03-04-2020 , 01:50   Re: [CS:GO ZR / All?] Admin Buttons
    Reply With Quote #4

    Could you add an option to teleport to these buttons? That'll be pretty neat
    __________________
    Zeddy_god 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 23:36.


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