AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Dump All Cmds Cvars (https://forums.alliedmods.net/showthread.php?t=322440)

Bacardi 03-27-2020 08:20

Dump All Cmds Cvars
 
Dump All Cmds Cvars (24.04.2022)

Server console command: sm_dump_cmdscvars

- This plugin dump all commands and console variables into txt file, addons/sourcemod/data folder.
- Cmds and Cvars get dumb in each own txt file.
- Plugin collect all commands and cvars, even SourceMod's and MetaMod:Source's.
- Dump list is in random order, not alphabetical order. *Updated, now sort alphabetical order.
- Beware sharing txt files to others, it contain your passwords also.

Here tiny example of output
Commands List_Cmds_csgo_Engine_CSGO_SRCDS_2022-04-26.txt

CVARS List_ConVars_csgo_Engine_CSGO_SRCDS_2022-04-26.txt



From here you can now (27.03.2020 & 26.04.2022) see ready output txt files from
counter-strike global offensive
counter-strike source
day of defeat source
left 4 dead 2
team fortress 2
etc. etc.



Installation:
- Get and move "Dump All Cmds Cvars.smx" into plugins folder.
- Use server console, remote control rcon or sm_rcon to execute command: sm_dump_cmdscvars
- Go look files from ...addons/sourcemod/data

[GitHub] Source file and compiled plugin



Rant:
Note!
Use this plugin once and remove it from server, restart server.
It is not recommend to leave active on public server.
Plugin create lot of ConVar Handles and cannot close those, takes some memory.
So use plugin for testing/dev purpose



Credits:
Two other plugin creators, I can't find those any more. Those are still in here forum somewhere.
*edit
[L4D & L4D2] Cvar/Cmd list by disawar1 and Silvers

PC Gamer 03-27-2020 12:07

Re: Dump All Cmds Cvars
 
Impressive! Thanks for sharing.

Bacardi 03-27-2020 12:56

Re: Dump All Cmds Cvars
 
Your welcome.
I just "reinvent the wheel", I couldn't find those previous plugins any more so I made from scratch.

One thing I forgot to mention in first post is, you get list of cmds/cvars only from server side.
In client side, there are much more but you can't run addon in game, not at least easily.

Dragokas 03-28-2020 09:59

Re: Dump All Cmds Cvars
 
Quote:

Originally Posted by Bacardi (Post 2688867)
I just "reinvent the wheel", I couldn't find those previous plugins any more so I made from scratch.

https://forums.alliedmods.net/showpo...47&postcount=4

Bacardi 03-28-2020 10:19

Re: Dump All Cmds Cvars
 
There it is, nice find.

Silvers 03-28-2020 16:22

Re: Dump All Cmds Cvars
 
Nice modern and consolidated version. Thanks!

canadianjeff 11-08-2020 05:40

Re: Dump All Cmds Cvars
 
could probley add some code that hides rcon passwords but if anyone actually uses rcon in 2020 might need to be made aware that rcon is in plain text with no encryption and by far not the best option when sm_rcon works just fine

what might also be nice is if it detected duplicate commands from seperate plugins write the dupes to a log file for admins to go in and examine the issue for themself

Bacardi 04-26-2022 14:57

Re: Dump All Cmds Cvars
 
update
- now dump cvars and cmds in alphabetical order.
- File name include now is dump generate from SRCDS or Listen server
- Github output folder have new dump files (csgo, css, dods, hl2mp, tf2, l4d, l4d2, fof, nmrih)


All times are GMT -4. The time now is 12:14.

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