AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   SM Super Menu (https://forums.alliedmods.net/showthread.php?t=57457)

pRED* 07-05-2007 02:51

SM Super Menu
 
13 Attachment(s)
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

janbanan 07-05-2007 03:20

Re: SM Super Menu
 
Great. Thanks!

SM is growing more mature each day because of active scripters like your self and the others. Keep up the good work! :up:

Rebell 07-05-2007 03:24

Re: SM Super Menu
 
Nice idea for some customisations ^^

cya

1695 07-05-2007 07:34

Re: SM Super Menu
 
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

TSCDan 07-05-2007 09:21

Re: SM Super Menu
 
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 :)

FlyingMongoose 07-05-2007 11:59

Re: SM Super Menu
 
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.

TSCDan 07-05-2007 12:37

Re: SM Super Menu
 
If that's the case, then a simple RegConsoleCmd("sm_menu", Command_Super) should do the trick, right? :D

Shaman 07-05-2007 17:09

Re: SM Super Menu
 
Please make menus work like we discussed:
Re-display on selection; exit goes up one level.
http://forums.alliedmods.net/showthread.php?t=55828

pRED* 07-06-2007 03:47

Re: SM Super Menu
 
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.

benkoren 07-06-2007 16:47

Re: SM Super Menu
 
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!


All times are GMT -4. The time now is 19:54.

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