hosts.txt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page refresh)
m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\'=-]+)<\/tt>" to "{{hl|$1}}")
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
  server:port
  server:port


* ''server'' can be an IPv4 address (e.g <tt>192.168.1.33</tt>) or a DNS name (e.g <tt>arma3.my-server.com</tt>)
* ''server'' can be an IPv4 address (e.g {{hl|192.168.1.33}}) or a DNS name (e.g {{hl|arma3.my-server.com}})
* ''port'' is optional and is set to <tt>2302</tt> by default if it is not defined.
* ''port'' is optional and is set to {{hl|2302}} by default if it is not defined.


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

Latest revision as of 00:57, 16 November 2021

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