Interface administrators, moderator
2,591
edits
No edit summary |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
|- | |- | ||
|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 36: | Line 36: | ||
|n/a ('''required''') | |n/a ('''required''') | ||
|Custom text to identify the game mode. Appears in the server browser. '''This is not IV gamemode ID'''. | |Custom text to identify the game mode. Appears in the server browser. '''This is not IV gamemode ID'''. | ||
|- | |- | ||
|httpport | |httpport | ||
Line 50: | Line 46: | ||
|- | |- | ||
|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 66: | Line 62: | ||
|- | |- | ||
|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 81: | Line 77: | ||
|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 94: | Line 90: | ||
|false | |false | ||
|Enables/disables using multiple threads for managing network peers. Useful on multi-core systems. | |Enables/disables using multiple threads for managing network peers. Useful on multi-core systems. | ||
|- | |- | ||
|password | |password | ||
| | |(empty string) | ||
|The password to connect to the server. | |The password to connect to the server. | ||
|- | |- | ||
Line 110: | Line 102: | ||
|100.0 | |100.0 | ||
|The distance that a pickup is removed from the client, recommended to be about 100.0. '''Must be higher than pickupstreamindistance'''. | |The distance that a pickup is removed from the client, recommended to be about 100.0. '''Must be higher than pickupstreamindistance'''. | ||
|- | |- | ||
|port | |port | ||
Line 124: | Line 112: | ||
|- | |- | ||
|rconpassword | |rconpassword | ||
| | |(empty string) | ||
|The password to connect to the remote console service. | |The password to connect to the remote console service. | ||
|- | |- | ||
Line 136: | Line 124: | ||
|- | |- | ||
|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 142: | Line 130: | ||
|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 162: | Line 146: | ||
|200.0 | |200.0 | ||
|The distance that an entity is removed from a client, recommended to be about 200.0. '''Must be higher than streamindistance'''. | |The distance that an entity is removed from a client, recommended to be about 200.0. '''Must be higher than streamindistance'''. | ||
|- | |- | ||
|syncinterval | |syncinterval | ||
Line 173: | Line 153: | ||
|synclocalentities | |synclocalentities | ||
|false | |false | ||
|Whether to sync local entities | |Whether to sync local entities to other players (objects and entities created by a client and sent to server) | ||
|- | |- | ||
|syncmethod | |syncmethod | ||
Line 181: | Line 161: | ||
|syncpacketpriority | |syncpacketpriority | ||
|low | |low | ||
|The priority of sync packets. | |The priority of sync packets. Use low, medium, high, or immediate. | ||
|- | |- | ||
|syncpacketreliable | |syncpacketreliable | ||
Line 194: | Line 174: | ||
|true | |true | ||
|Enables/disables syncing the time set by server to all clients. | |Enables/disables syncing the time set by server to all clients. | ||
|- | |- | ||
|weathersync | |weathersync | ||
Line 253: | Line 217: | ||
Using <code>iv_gamemode</code> with a value of <code>30</code>, is different than using <code>iv_gamemode</code> with a value of <code>-1</code>.<br> | Using <code>iv_gamemode</code> with a value of <code>30</code>, is different than using <code>iv_gamemode</code> with a value of <code>-1</code>.<br> | ||
This setting value is currently left in for backward compatibility, however may become obsolete in the future. | This setting value is currently left in for backward compatibility, however may become obsolete in the future. | ||
== Example == | |||
<source> | |||
<server> | |||
<!-- General Information --> | |||
<servername>Default Server</servername> | |||
<game>gta:iii</game> | |||
<gamemode>Free Roam</gamemode> | |||
<serverbrowser>true</serverbrowser> | |||
<maxplayers>32</maxplayers> | |||
<password></password> | |||
<minclientversion>1.5.0</minclientversion> | |||
<duplicatenames>false</duplicatenames> | |||
<!-- Networking --> | |||
<port>22000</port> | |||
<httpport>22000</httpport> | |||
<httpserver>true</httpserver> | |||
<streaminterval>1000</streaminterval> | |||
<syncinterval>30</syncinterval> | |||
<syncmethod>interval</syncmethod> | |||
<synclocalentities>true</synclocalentities> | |||
<!-- Element Streaming --> | |||
<streamindistance>200</streamindistance> | |||
<streamoutdistance>250</streamoutdistance> | |||
<pickupstreamindistance>30</pickupstreamindistance> | |||
<pickupstreamoutdistance>50</pickupstreamoutdistance> | |||
<!-- Logging --> | |||
<logpath>logs</logpath> | |||
<logtimestamp>[%d/%m/%Y - %X]</logtimestamp> | |||
<!-- GTA IV --> | |||
<!-- https://wiki.gtaconnected.com/Resources/GTAIV/GameModes --> | |||
<!-- https://wiki.gtaconnected.com/Resources/GTAIV/Episodes --> | |||
<iv_gamemode>8</iv_gamemode> | |||
<iv_episode>-1</iv_episode> | |||
<!-- Modules --> | |||
<!-- https://wiki.gtaconnected.com/Modules --> | |||
<modules> | |||
</modules> | |||
<!-- Global CVars --> | |||
<!-- https://wiki.gtaconnected.com/CVars --> | |||
<cvar name="nametags" value="1" /> | |||
<cvar name="gunshops" value="1" /> | |||
<cvar name="uniquestuntjumps" value="1" /> | |||
<cvar name="stuntjumps" value="1" /> | |||
<cvar name="stauntontoiletcamera" value="1" /> | |||
<cvar name="gates" value="1" /> | |||
<cvar name="trains" value="1" /> | |||
<cvar name="planes" value="1" /> | |||
<cvar name="maximumwantedlevel" value="6" /> | |||
<cvar name="defaultparkedcars" value="1" /> | |||
<cvar name="ambulances" value="1" /> | |||
<cvar name="traffic" value="1" /> | |||
<cvar name="civilians" value="1" /> | |||
<cvar name="defaultpickups" value="1" /> | |||
<cvar name="singleplayer" value="1" /> | |||
<cvar name="bigmap" value="1" /> | |||
<cvar name="iv_playerwalking" value="0" /> | |||
<cvar name="iv_scenariopeds" value="1" /> | |||
<cvar name="iv_randomcops" value="1" /> | |||
<!-- Rules --> | |||
<!-- https://wiki.gtaconnected.com/ServerRules --> | |||
<rule name="Owner" value="Nobody" /> | |||
<rule name="Website" value="https://gtaconnected.com" /> | |||
<!-- Resources --> | |||
<!-- https://wiki.gtaconnected.com/Resources --> | |||
<resources> | |||
<resource src="freeroam" /> | |||
</resources> | |||
</server> | |||
</source> |