NoSeeVar HL plugin 1.00

http://www.100acrebloodbath.com/pub/nsv_plugin.zip


- Overview -

NoSeeVar (NSV) allows admins to remove Half-Life cvars (both from the
server and other plugins) from the the public server query list. There
are several reasons why an admin might want to do this.

1) RuleInfo errors are being generated on the server due to too many
cvars consuming too much memory.
2) GameSpy or other server browsers choking on excessive public cvars
from the server.
3) Anyone wishing to hide the fact that a particular mod is running
(for security and other reasons)
4) Housekeeping. Many cvars made public by plugins simply don't need
to be public. They increase the size of the server cvar list, increase
bandwidth usage by server monitors and contribute to query 'bloat'.

NSV works by registering the CVAR if it does not yet exist, or
re-casting the flags if it does. (Incidentially, NSV can be used to
create your own custom-use cvars). While NSV should function properly
regardless of where it is in the Metamod plugin load order, placing it
first generally provides the best functionality.


- Usage -

1) add cvar values to your nsv.cfg (see enclosed sample for format and
location)
2) add a reference to the nsv_mm plugin in your Metamod plugins.ini
file. nsv_mm SHOULD APPEAR BEFORE ANY OTHER PLUGINS IN ORDER FOR NSV
TO WORK PROPERLY.
3) See 2 again. Is the nsv_mm reference FIRST in plugins.ini?
4) restart your server.

NSV has two cvars of its own
* nsv_list: This holds a reference to all cvars blocked by NSV. This
is provided as a convenience to game browser engines. Those looking
for particular cvars can search 'nsv_list' as well to see if it exists
but is being blocked.
* nsv_build_list: If set to 1, this will allow the nsv_list to be
built. Add 'nsv_build_list 1' to your server.cfg to enable nsv_list.

Note that nsv_list is itself a public cvar, and NSV can be set to
block it if desired. :)



- A Word of Warning -

Making some cvars invisible to public queries could have adverse
effects (for example, phpua_mm_port, sparky_version or any other cvar
that works as part of a system and needs to be 'seen' by other
components). NSV will not allow you to block core Half-Life cvars.
However, ultimately it is up to the admin to exercise care and caution
when choosing what cvars to block.



- Support -

http://www.100acrebloodbath.com/forums  (HL Server -> Buzz's Plugins)