hosts.txt

From Bohemia Interactive Community
Revision as of 18:09, 31 October 2021 by Lou Montana (talk | contribs) (Page refresh)
Jump to navigation Jump to search

The hosts.txt file is a special file that lists servers for Real Virtuality games.
When the multiplayer option is selected, the game will scan the file and list these servers in the multiplayer interface.


Supported Games


Location

The file has to be manually created in the game's root directory and named hosts.txt.


Format

The content of this file is so that each line is a server, defined as follow:

server:port
  • server can be an IPv4 address (e.g 192.168.1.33) or a DNS name (e.g arma3.my-server.com)
  • port is optional and is set to 2302 by default if it is not defined.

There is no limit to the amount of lines in the file.


Example

192.168.1.33
192.168.1.42:2402
arma3.my-server.com
arma3.my-server.com:2302