hosts.txt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\'=-]+)<\/tt>" to "{{hl|$1}}")
 
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[category:Multi Player|S]]
{{TOC|side}}
'''''Description:'''''
The '''hosts.txt''' file is a special file that lists servers for [[Real Virtuality]] games.<br>
When the multiplayer option is selected, the game will scan the file and list these servers in the multiplayer interface.


The '''hosts.txt''' file is a special file that Operation FlashPoint recognizes. When you select the multi player option, OFP 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 OFP folder and calling '''hosts.txt'''
== Supported Games ==


The syntax of the file is as follows:
* {{GameCategory|ofp|link= y}}
* {{GameCategory|arma1|link= y}}
* {{GameCategory|arma2|link= y}}
* {{GameCategory|arma2oa|link= y}}
* {{GameCategory|tkoh|link= y}}
* {{GameCategory|arma3|link= y}}


  IP:port
 
  dnsname.com:port
== Location ==
   
 
The list can be as long as you like.
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 {{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.
 
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
 
 
[[Category:Multiplayer Hints and Tips]]
{{GameCategory|ofp|Multiplayer}}
{{GameCategory|arma1|Multiplayer}}
{{GameCategory|arma2|Multiplayer}}
{{GameCategory|arma3|Multiplayer}}
{{GameCategory|tkoh}}

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