hosts.txt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|arma2\| +" to "{{GameCategory|arma2|")
m (category)
Line 15: Line 15:
The list can be as long as you like. Port number is optional, default 2302 is used when not specified.
The list can be as long as you like. Port number is optional, default 2302 is used when not specified.


[[Category:Multiplayer]]
[[Category:Multiplayer Hints and Tips]]
[[Category:Multiplayer Hints and Tips]]
{{GameCategory|arma2|Multiplayer}}
{{GameCategory|arma2|Multiplayer}}
[[Category:ArmA: Multiplayer]]
[[Category:ArmA: Multiplayer]]
[[Category:Take On Helicopters|MultiPlayer]]
[[Category:Take On Helicopters|MultiPlayer]]

Revision as of 15:21, 30 December 2020

Description:

The hosts.txt file is a special file that Operation FlashPoint, ARMA, ARMA 2, ARMA2: Operation Arrowhead recognizes.

When you select the multi-player option, engine will scan this file for you and list those servers for you.

You will need to create this file by making a new text file in the root of your game folder and calling it hosts.txt

The syntax of the file is as follows:

IP:port
dnsname.com:port number
192.168.1.1:2302

The list can be as long as you like. Port number is optional, default 2302 is used when not specified.