you can remove the NOTIFY flag from the convar, by recompiling the plugin or
by doing something like this
new Handle:cv = FindConVar("sm_hidden"); new flags = GetConVarFlags(cv);
flags &= ~FCVAR_NOTIFY; SetConVarFlags(cv, flags);
BTW, which are the server rules you think should be hidden? and why?
for instance if you want to hide sv_steamgroup and sv_tags just to protect
your steam group id, you are out of luck since this is replicated in the
"additional info" field of the A2S_INFO reply
On Wed, Oct 13, 2010 at 2:00 AM, DreamsCN <[email protected]> wrote:
> Hi,
> There are information about how to query a server and get info,player
> and rules on this page
> http://developer.valvesoftware.com/wiki/Server_queries. My concern is
> some rules(Server Variables/cvars) shouldn't be public(non-players).
> HLSW and game-monitor.com can show most of the rules. Is there a way
> to blcok queries for some rules like sv_steamgroup and some cvars
> created by sourcemod plugins.
> Thanks.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux