Raised This Month: $7 Target: $400
 1% 

SM Super Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pRED*
Join Date: Dec 2006
Plugin ID:
64
Plugin Version:
0.3
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    48 
    Plugin Description:
    Extendable Menu plugin
    Unapprover:
    Reason for Unapproving:
    Part of SourceMod base plugin set now
    Old 07-05-2007 , 02:51   SM Super Menu
    Reply With Quote #1

    SM Super Menu

    This plugin is now available as part of the core package in 1.0.x and 1.1 hourly builds. http://www.sourcemod.net/snapshots.php
    Full documentation: http://wiki.alliedmods.net/Dynamic_A...28SourceMod%29

    This plugin will stay supported until SourceMod 1.0.1 is released at which point it will be deprecated.

    Generates a menu from a config file - runs commands
    Use inconjunction with addons plugins to do lots of pro shiz.
    Designed to be used in conjunction with the SM Super Commands plugin but both will run perfectly without the other.

    The attached smsuper.ini file is an example setup and includes commands (with some possible options) for all the Super Commands Plugins commands + kick and ban from normal sourcemod.

    Adding commands from other plugins like glow, cash etc is very easy. Read the below section of how to set out your smsuper.ini file, and read the example smsuper.ini.

    If the plugin acts weird or crashes the server, theres a very high chance you've missed a " or done something else weird in your config file. Check this first, check it again, check it backward, upside down and then just check it again before posting here. This includes PM'ing me. *glares at Tekniqal*

    Completely Rebuilt from scratch. Now you can have as many paremeters as you want.. As many options.. submenus.. team selection..


    Commands:
    None!!

    Setup:
    install plugin normally.
    Put the smsuper.ini file into your configs dir
    Setup the smsuper.ini file as you wish.

    smsuper.ini file info:
    See the top of the sp file and view the provided example smsuper.ini file to see how to lay them out.

    Changelog:

    0.1 - Initial Release
    0.11 - Added BuildPath
    0.2 - Complete Rebuild.
    0.3 - Fixed a few bugs
    - Added admin levels
    - Added 'mapcycle' type of menu
    - Added option for @num (unquoted) as well as #num
    0.4 - Mapcycle type now also needs a 'path' setting (relative to base mod dir)
    - Rewrote to use supermenu include file
    - Fixed stupid admin auth bug
    - Added admins levels for lists
    - Rewrote admin system
    - Base menu is now created on view (only shows needed entries)
    - Another large admin system change - Recommendation by Bail
    0.5 - Large re-write to use sm_admin menu. Should be more efficient
    - Removed supermenu.inc, silly waste of time that broke the web compiler
    - Added 'onoff' menu type
    Attached Files
    File Type: ini smsuper.ini (5.6 KB, 21772 views)
    File Type: sp Get Plugin or Get Source (sm_super_menu.sp - 42540 views - 21.2 KB)

    Last edited by pRED*; 04-07-2008 at 02:23.
    pRED* is offline
    janbanan
    Member
    Join Date: Jun 2007
    Old 07-05-2007 , 03:20   Re: SM Super Menu
    Reply With Quote #2

    Great. Thanks!

    SM is growing more mature each day because of active scripters like your self and the others. Keep up the good work!
    janbanan is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 07-05-2007 , 03:24   Re: SM Super Menu
    Reply With Quote #3

    Nice idea for some customisations ^^

    cya
    __________________
    Rebell is offline
    1695
    Senior Member
    Join Date: Jan 2006
    Old 07-05-2007 , 07:34   Re: SM Super Menu
    Reply With Quote #4

    nice job !
    How to restrict some commands ? like "sm_god" ? I mean, if I use super_commands, and i don't want some admin to use the "speed" command, how should i do ? And i'd like the command not to appear in the menu if it's restricted (like it was with mani :p).

    thx
    1695 is offline
    TSCDan
    Senior Member
    Join Date: Jan 2005
    Location: NY, USA
    Old 07-05-2007 , 09:21   Re: SM Super Menu
    Reply With Quote #5

    Can we get something like @menu (in chat, where the @ is whatever was configured in the core.cfg) instead of sm_super? Great work though
    TSCDan is offline
    Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 07-05-2007 , 11:59   Re: SM Super Menu
    Reply With Quote #6

    actually:
    /super
    and
    !super

    should both work as long as the commands are prefixed with sm_*

    it's a feature of sourcemod.

    "/" hides any output
    "!" allows output.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    TSCDan
    Senior Member
    Join Date: Jan 2005
    Location: NY, USA
    Old 07-05-2007 , 12:37   Re: SM Super Menu
    Reply With Quote #7

    If that's the case, then a simple RegConsoleCmd("sm_menu", Command_Super) should do the trick, right?
    TSCDan is offline
    Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
    Shaman
    Senior Member
    Join Date: Dec 2006
    Location: Istanbul, Turkey
    Old 07-05-2007 , 17:09   Re: SM Super Menu
    Reply With Quote #8

    Please make menus work like we discussed:
    Re-display on selection; exit goes up one level.
    http://forums.alliedmods.net/showthread.php?t=55828
    __________________
    Shaman is offline
    Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
    pRED*
    Join Date: Dec 2006
    Old 07-06-2007 , 03:47   Re: SM Super Menu
    Reply With Quote #9

    I am currently rewriting most of the menu code.

    The new version will have:

    Infinite menu size (add as many items as you want)
    Split into sub menus (as many as you want)
    Multiple parameters (as many as you want)
    As many options for the parameter as you want.
    Exiting / Going up one level as requested..
    Custom titles for each selection page (Like instead of always "Choose a Player", you can make it "Player to Ban")

    And yes TSCDan that would work if you wanted !menu as well as !super.
    pRED* is offline
    benkoren
    Junior Member
    Join Date: Jun 2007
    Old 07-06-2007 , 16:47   Re: SM Super Menu
    Reply With Quote #10

    As long as you're at it, it would be nice that when we select a player, we are also able to select T/CT/all, providing the corresponding command supports it. Personally, I just want to be able to disarm 20 bots for the fun of it, but there's obviously many more uses for this (slay CT for not rescuing hostages, etc.) Love the plugin though - great idea and implementation!
    benkoren 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 01:44.


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