Raised This Month: $51 Target: $400
 12% 

[Any] Command Dumper with Flag List


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2475
Plugin Version:
1.1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    20 
    Plugin Description:
    Lists all commands created by SM along with their info including required admin flags.
    Old 08-03-2011 , 07:35   [Any] Command Dumper with Flag List
    Reply With Quote #1

    [Any] Command Dumper
    TF2 Version 1.1.0



    Description:
    This plugin will create a file (plaintext or .csv) with all SM-created commands, along with their descriptions and required admin flags.
    For more info, see Notes.

    Commands:
    • sm_dumpcommands
      • Dumps all commands to a file.

    Cvars:
    • sm_commanddump_version
      • Plugin Version
    • sm_commanddump_use_csv
      • 0 = The plugin will output to a .txt file (default).
      • 1 = The plugin will output to a .csv file. Useful for importing into excel/google docs/etc so you can sort commands by flag, etc.

    Install Instructions:

    1. Place CommandDump.smx into your addons/sourcemod/plugins/ folder.

    Notes:
    • The plugin will tell you the location of the output file when you run the command.
    • The plugin is only able to detect adminflags that are registered when the command is registered.
      Plugins that use CheckCommandAccess or equivalent in the callback will be reported as "No flag registered".
    • The plugin will report flags as they appear on the server. A slay command that is overridden to ban will be detected as "ADMFLAG_BAN".

    Version History:
    • V1.0.0
      • Initial Release
    • V1.0.1
      • No longer loads common.phrases as doing so is not required.
    • V1.1.0
      • Now handles commands that use multiply flags properly.

    Total downloads as prior to last edit: 43




    Attached Files
    File Type: sp Get Plugin or Get Source (CommandDump.sp - 2464 views - 4.3 KB)
    __________________

    Last edited by DarthNinja; 08-16-2011 at 19:37.
    DarthNinja 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 19:38.


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