Skip to content

ServerListLibrary

Max S edited this page Aug 14, 2015 · 1 revision

Server List

When the Snipe server is working, it periodically (once per 10 seconds) updates the file that contains JSON with the list of available game servers. Each server has the external host, external port and the number of logged in users on it. You may ignore it or you may open it to connections from the clients if you have multiple game servers and need to balance the load between them. The file is called "_serverlist.txt" and is generated in the directory where the uniserver or cache server are located.

Here's the example of the contents:

[{"host":"192.168.0.10","port":2101,"cnt":106},{"host":"192.168.0.10","port":2103,"cnt":97}]
Clone this wiki locally