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