-
Notifications
You must be signed in to change notification settings - Fork 1
Game Properties File
Games are added to the Server with .properties
files from Java. All of the following explained fields have to be in the games .properties
file. If any field is missing the game is not added to the Server.
This field refers to the filename of the packed gamefiles in the gamefolder of the Server. This can not be emtpy.
This field refers the relative path of the .exe
to start the game. The relative path must be within the gamefolder of the game to start.
This field refers the relative path of the .exe
to start a server. The relative path must be within the gamefolder of the game to start a server. If no extra executable
is needed/available leave this field empty.
This field refers to the passed command-line arguments of the game. They are only passed if the game is started or a client tries to connect to a server. For server command-line arguments see exe.server.param.
This field refers to the passed command-line arguments for starting a server of the game. They are only passed if a server is started.
This field refers to the gamename. Do not use any special sign.
This field refers to the format, which is used to determine the version of the local available game on the Client system. There are 2 options available:
-
exe
the version is determined through the games.exe
-file. It is the same version that is found in the properties under windows. -
file
the version is determined through any file within the gamefolder. The file has to be a textfile.
If for the version.format field exe
is used this field can be empty, because it is not used. If file
is used, then this field will be used to query for the version. To query for the version, line after line is picked and searched for the query. If the query is found in a line, all information after the query in this line is used to determine the local version.
This field refers to the version of the game on the server. This information is used to update the games at the Clients.
This field refers to the ability of the game to connect directly to a server through command-line arguments. This field is either true
or false
.
This field refers to the command-line argument used to connect directly to a server. This can be empty if connect.direct is false
. The wildcard ?
is used for the ip-address in the command-line argument.
This field refers to the ability of the game to start a server outside of the game through an extra .exe
or command-line arguments. This field is either true
or false
.
This field refers to an web URL of the cover to show for the Client. If the Server provides covers by itself (see Server Setup) this field can be empty.
Every field has to be on a sinlge line. This example shows the .properties
-file for Call of Duty 2
. More exmaples are provided under Game Properties File Examples.
file.server=cod2.7z
exe.file=CoD2MP_s.exe
exe.server=
exe.param=
exe.server.param=+set dedicated 1 +map mp_carentan
name=Call of Duty 2
version.format=file
version.file=version.inf
version.query=ExtVersion=
version=1.3
connect.direct=true
connect.param=+connect ?
openserver=true
cover.url=