Manual Reference Pages - HLMASTER.GAMESERVER (1)
hlmaster.gameserver - How to configure your gameserver to send heartbeats to hlmaster.
If you want to get your gameserver dynamically added/removed from
your master-server, youll have to add an entry into the file
woncomm.lst. This file is located within the gameservers mod directory (eg. valve, cstrike, tfc...).
There might be no
woncomm.lst in a mods directory, but that doesnt really matter. You can either copy the one found in
the valve directory, or just leave it there and edit it. If Half-Life does not find a
woncomm.lst in the mods directory, it defaults to using the one found in the valve directory.
After editing your
woncomm.lst, its required to restart your gameserver for the changes to take effect. To verify,
your gameserver is really sending heartbeats to your master, you can go to the
Half-Life console and enter
setmaster - respectivly rcon setmaster.
You should now get a lists of the currently configured master-servers. You can also
add a master-server, while half-life is running. This is performed with
setmaster add ip port - where
ip is your master servers ip-address (eg. 18.104.22.168) and
port is its port-number (normally 27010).
NOTE: Configuration changes made with the setmaster
command only remain active till next gameserver shutdown. Therefore, youll
have to edit your
woncomm.lst is provided within the examples directory of the source distribution. However, heres
a short example of the master section:
Report bugs to <email@example.com>.
Silvan Minghetti <firstname.lastname@example.org>.
Copyright (c) 2001 Silvan Minghetti
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Half-Life is a trademark of valve software.
Check http://hlmaster.sourceforge.net for newest version.
|HLMaster ||HLMASTER.GAMESERVER (1) ||22 June 2001 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.