Raised This Month: $32 Target: $400
 8% 

Command to Show CVARs List like sm plugins?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-13-2021 , 22:42   Command to Show CVARs List like sm plugins?
Reply With Quote #1

Is there a command to display all cvars a server uses, like theres "sm plugins" to show plugins or "sm exts list" ?
Hawkins is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-13-2021 , 23:18   Re: Command to Show CVARs List like sm plugins?
Reply With Quote #2

In your server?

You can try:
https://forums.alliedmods.net/showthread.php?p=2688799
__________________
Marttt is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-13-2021 , 23:35   Re: Command to Show CVARs List like sm plugins?
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
I was thinking about someone else's server.
A list, or atleast a specific cvar at a time.
Hawkins is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-14-2021 , 09:26   Re: Command to Show CVARs List like sm plugins?
Reply With Quote #4

I don't think is possible unless you are an admin in "someone else's server"

Is possible to see some cvars in gametracker -> server_variables for example

But only the main ones (usually server related cvars)
__________________

Last edited by Marttt; 09-14-2021 at 09:27.
Marttt is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 09-14-2021 , 11:17   Re: Command to Show CVARs List like sm plugins?
Reply With Quote #5

You can see a list of cvars/cmds of a specific plugin in 'sm plugins list'.

Example:
sm plugins list
1
2
3
4
5

Then put in console and you can see results:
sm cvars <number>
sm cmds <number>

Example:
sm cvars 2
sm cmds 4
Tonblader is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-15-2021 , 01:07   Re: Command to Show CVARs List like sm plugins?
Reply With Quote #6

Doesn't seem to work:
Spoiler

Last edited by Hawkins; 09-15-2021 at 01:07.
Hawkins is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-15-2021 , 01:29   Re: Command to Show CVARs List like sm plugins?
Reply With Quote #7

Like Marttt said, you can only view all the server's plugin cvars if you have admin access. Using the same command on my own server shows that it works.
Code:
...
  64 "[L4D & L4D2] Map Configs" (1.2) by Psyk0tik (Crasher_3637)
  65 "L4D2 force_max_intensity" (0.0.1) by hjhee
  66 "[MT] Abilities Set #1" (8.89) by Psyk0tik
  67 "[MT] Abilities Set #2" (8.89) by Psyk0tik
  68 "[L4D & L4D2] Mutant Tanks" (8.90) by Psyk0tik
  69 "No Friendly-fire" (8.5) by Psykotik (Crasher_3637)
  70 "[L4D1/2]physics_object_pushfix" (1.0) by Lux
  71 "Player Commands" (1.11.0.6735) by AlliedModders LLC
  72 "Plugin Auto-Reloader" (1.0) by Timiditas
  73 "Reserved Slots" (1.11.0.6735) by AlliedModders LLC
  74 "Player List" (1.0) by urus and Psyk0tik (Crasher_3637)
  75 "[ANY] Quiet/Silent Cvars" (1.0) by Psyk0tik (Crasher_3637)
  76 "[ANY] Gamedata Sig Tester" (1.4) by SilverShot
  77 "[ANY] Gamedata Offset Tester" (1.3) by SilverShot
  78 "Sound Commands" (1.11.0.6735) by AlliedModders LLC
  79 "stop_air_revive" (1.0) by Lux
  80 "[L4D2]Survivor_AFK_Fix" (1.0.4) by Lux
...
Code:
sm cvars 66
[SM] No convars found for: [MT] Abilities Set #1
sm cvars 67
[SM] No convars found for: [MT] Abilities Set #2
sm cvars 68
[SM] Listing 6 convars for: [L4D & L4D2] Mutant Tanks
  [Name]                           [Value]
  mt_disabledgamemodes
  mt_enabledgamemodes
  mt_gamemodetypes                 0
  mt_listensupport                 0
  mt_pluginenabled                 1
  mt_pluginversion                 8.90
sm cvars 69
[SM] Listing 12 convars for: No Friendly-fire
  [Name]                           [Value]
  nff_blockexplosions              1
  nff_blockfires                   1
  nff_blockguns                    1
  nff_blockmelee                   1
  nff_disabledgamemodes
  nff_enable                       1
  nff_enabledgamemodes
  nff_gamemodetypes                0
  nff_infected                     1
  nff_pluginversion                8.5
  nff_saferoomonly                 0
  nff_survivors                    1
__________________
Psyk0tik is offline
Reply



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


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