nwb13 发表于 2004-7-16 21:34:35

[求助]这个插件是干什么用的?

这个是该插件的说明文件,都是英文,头大,大家谁看懂的记得告诉我,谢谢了

声明:crazy的服务器里有用这个哦
---------------------------------------------------------------------
NoSeeVar 2.0 Beta

http://www.100acrebloodbath.com/files/lib/nsv20beta_plugin.zip




2.0 Beta
- Completely re-wrote the cfg code. NSV now uses a standard
'exec nsv.cfg' type approach, where the cfg file is executed
from server.cfg. EXISTING USERS SHOULD REVIEW THE NEW APPROACH,
MODIFY THEIR CURRENT NSV.CFG TO USE THE NEW 'NSV_ADDMASK' COMMAND AND
ADD THE APPROPRIATE EXEC TO THEIR SERVER.CFG AS DOCUMENTED BELOW.

Note that this rewrite resolves the problem NSV had of 'seizing'
certain mod-specific cvars and preventing them from being used
properly by the server.

1.2
- Additions can be made to nsv.cfg without the need for a server
restart (map change only to have changes take effect).
- Values can now be assigned to new or modified cvars directly
through nsv.cfg
- Bug fix that forced flag assigned to FCVAR_EXTDLL all the time,
regardless of flag modifiers.
- NSV's position in the Metamod plugin.ini no longer matters.

1.1
- Revised installation process to use standard <mod>/addons directory
structure. Those with 1.0 installations should move their cfg files to
<mod>/addons/nsv as described below.
- Revised the build optimizations.

1.0
- Initial release




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




1) Create an addons/nsv directory in your mod folder (example: cstrike/addons/nsv)
2) Place nsv_mm.dll/so and nsv.cfg in the addons/nsv folder you created.
3) Add/modify cvar masks in your nsv.cfg as desired.
4) Add an appropriate reference to the nsv_mm.dll/so plugin in your Metamod
plugins.ini file. Generally it's a good idea to add it as the last plugin in
the list.
5) Add 'exec addons/nsv/nsv.cfg' to your server.cfg
6) Restart your server.

NSV has one console command and two cvars of its own:

nsv_addmask <name> : See the sample nsv.cfg for usage.

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 ONLY if nsv_build_list = 1.




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.




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


Thanks to Brain, Punisher, Grumpy Gourmet and everyone who has provided
feedback.

金闪闪 发表于 2004-7-17 07:37:27

这是给OP使用的,将一些没用的cavs修改并隐藏,目的是提高服务器的稳定。

可以防止一些人老是刷新服务器的信息。

例如,在服务器的启动参数maxplayers定义为32,OP可以通过命令修改为28,这样,服务器就28人了。但是随时可以再改为32人。修改过程不要重新启动hlds程序。
:wink:

nwb13 发表于 2004-7-17 13:17:51

:wink:
谢谢闪闪

xlv 发表于 2004-7-20 10:15:19

高手阿,佩服

xiangling 发表于 2004-8-1 18:11:13

金闪闪真强人.
页: [1]
查看完整版本: [求助]这个插件是干什么用的?