hosts.txt: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\']+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\'=-]+)<\/tt>" to "{{hl|$1}}") |
||
Line 24: | Line 24: | ||
server:port | server:port | ||
* ''server'' can be an IPv4 address (e.g {{hl|192.168.1.33}}) or a DNS name (e.g | * ''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 {{hl|2302}} by default if it is not defined. | * ''port'' is optional and is set to {{hl|2302}} by default if it is not defined. | ||
Latest revision as of 23:57, 15 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
- Operation Flashpoint
- ArmA: Armed Assault
- Arma 2
- Arma 2: Operation Arrowhead
- Take On Helicopters
- Arma 3
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