Interface administrators, moderator
2,818
edits
No edit summary |
No edit summary |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Server Configuration}} | {{DISPLAYTITLE:Server Configuration}} | ||
== Summary == | == Summary == | ||
The | The server.xml file is used to configure your server with things like server name, game, networking, sync, which resources to load, and many other options. | ||
== | == Custom Config File == | ||
You can start the server with a [[ServerCommandLine|command switch]] for a different configuration file name. Example: <code>Server.exe -config my-config.xml</code>. | |||
== CVars == | |||
See the [[CVars|CVars]] page for info. | |||
== Options == | |||
{| class="wikitable" | {| class="wikitable" | ||
!Server Property Name | !Server Property Name | ||
| Line 18: | Line 20: | ||
|- | |- | ||
|bindip | |bindip | ||
| | |(empty string) | ||
|Forces the server to use a specific IP. Only for hosts that have multiple IP addresses. | |Forces the server to use a specific IP. Only for hosts that have multiple IP addresses. | ||
|- | |- | ||
|cvar | |cvar | ||
| | |(individual default values) | ||
|Sets a server's cvar value. See [[CVars|CVars]] for more information. | |Sets a server's cvar value. See [[CVars|CVars]] for more information. | ||
|- | |- | ||
| Line 46: | Line 48: | ||
|- | |- | ||
|httpurl | |httpurl | ||
| | |(empty string) | ||
|A URL (like a CDN) containing the server's client resource files and scripts. Clients will download them from that URL instead of the server. | |A URL (like a CDN) containing the server's client resource files and scripts. Clients will download them from that URL instead of the server. | ||
|- | |- | ||
| Line 59: | Line 61: | ||
|iv_nativemultiplayer | |iv_nativemultiplayer | ||
|true | |true | ||
|If enabled, server uses | |If enabled, server uses Rockstar's sync, otherwise server uses GTAC's custom sync. See [[NativeMultiplayer|this page for more information]] | ||
|- | |- | ||
|logpath | |logpath | ||
| | |(empty string) | ||
|The path to store the server logs. Leave blank to not use server logs. | |The path to store the server logs. Leave blank to not use server logs. | ||
|- | |- | ||
| Line 77: | Line 79: | ||
|minclientversion | |minclientversion | ||
|1.0.0.0 | |1.0.0.0 | ||
|The minimum version that clients can connect with. [https://gtaconnected.com/downloads/client/version See latest client version here]. | |The minimum version that clients can connect with. Between 1 and 4 dot-delimited tokens. [https://gtaconnected.com/downloads/client/version See latest client version here]. | ||
|- | |- | ||
|minuteduration | |minuteduration | ||
| Line 92: | Line 94: | ||
|- | |- | ||
|password | |password | ||
| | |(empty string) | ||
|The password to connect to the server. | |The password to connect to the server. | ||
|- | |- | ||
| Line 112: | Line 114: | ||
|- | |- | ||
|rconpassword | |rconpassword | ||
| | |(empty string) | ||
|The password to connect to the remote console service. | |The password to connect to the remote console service. | ||
|- | |- | ||
| Line 124: | Line 126: | ||
|- | |- | ||
|rule | |rule | ||
| | |(empty string) | ||
|Adds a server rule. See [[ServerRules|server rules]] for more info. | |Adds a server rule. See [[ServerRules|server rules]] for more info. | ||
|- | |- | ||
| Line 130: | Line 132: | ||
|false | |false | ||
|The status of whether to show the server in the server browser, use true or false. | |The status of whether to show the server in the server browser, use true or false. | ||
|- | |- | ||
|servername | |servername | ||
| Line 188: | Line 186: | ||
|- | |- | ||
|} | |} | ||
== Example == | == Example == | ||