From ACC Wiki (Unofficial)
Jump to navigation
Jump to search
Line 1:
Line 1:
− {| class="wikitable" width="100%"
+ {| class="wikitable mw-datatable " width="100%"
! style="width:150px;"| File Content !! Property !! Description
! style="width:150px;"| File Content !! Property !! Description
|-
|-
Revision as of 11:09, 13 November 2019
Information about message (contribute ) This message has no documentation.
If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Server Configuration )
{| class="wikitable mw-datatable" ! style="width:222px;"| Property !! Description |- style="vertical-align:top;" | tcpPort || ACC clients will use this port to establish a connection to the server |- style="vertical-align:top;" | udpPort || Connected clients will use this Port to stream the car positions and is used for the ping test. In case you never see your server getting a ping value, this indicates that the udpPort is not accessible |- style="vertical-align:top;" | registerToLobby || * 0 = This server is not registered in the backend. the server is declared →[[Multiplayer_Overview#Variants_of_Servers|Private Multiplayer]]. Is useful for LAN sessions. * 1 = this server register to the backend. the server is declared →[[Multiplayer_Overview#Variants_of_Servers|Public Multiplayer]]. |- style="vertical-align:top;" | maxConnections || The maximum amount of connections a server will accept at a time. If you own the hardware server, you can just set any high number you want. If you rented a 16 or 24 slot server, your Hosting Provider probably has set this here and doesn’t give you write-access to this configuration file. * ↓[[Server_Configuration#settings.json|setting.json / maxCarSlot]] * ↓[[Server_Configuration#settings.json|setting.json / spectatorPassword]] |- style="vertical-align:top;" | lanDiscovery || Defines if the server will listen to LAN discovery requests. Can be turned off for dedicated servers. |- style="vertical-align:top;" | configVersion || ... |- style="vertical-align:top;" | publicIP || Explicitly defines the public IP address. Useful if the backend is connected via a load balancer or reverse proxy. '''Attention:''' If used, the server ''must'' use the same port number for tcpPort and udpPort (e.g. 9231 for ''both''), and respond to an additional handshake on the UDP port one number higher (e.g. 9232) than its udpPort, or it will shutdown during startup. |}
{| class="wikitable mw-datatable"
! style="width:222px;"| Property !! Description
|- style="vertical-align:top;"
| tcpPort || ACC clients will use this port to establish a connection to the server
|- style="vertical-align:top;"
| udpPort || Connected clients will use this Port to stream the car positions and is used for the ping test. In case you never see your server getting a ping value, this indicates that the udpPort is not accessible
|- style="vertical-align:top;"
| registerToLobby ||
* 0 = This server is not registered in the backend. the server is declared →[[Multiplayer_Overview#Variants_of_Servers|Private Multiplayer]]. Is useful for LAN sessions.
* 1 = this server register to the backend. the server is declared →[[Multiplayer_Overview#Variants_of_Servers|Public Multiplayer]].
|- style="vertical-align:top;"
| maxConnections || The maximum amount of connections a server will accept at a time. If you own the hardware server, you can just set any high number you want. If you rented a 16 or 24 slot server, your Hosting Provider probably has set this here and doesn’t give you write-access to this configuration file.
* ↓[[Server_Configuration#settings.json|setting.json / maxCarSlot]]
* ↓[[Server_Configuration#settings.json|setting.json / spectatorPassword]]
|- style="vertical-align:top;"
| lanDiscovery || Defines if the server will listen to LAN discovery requests. Can be turned off for dedicated servers.
|- style="vertical-align:top;"
| configVersion || ...
|- style="vertical-align:top;"
| publicIP || Explicitly defines the public IP address. Useful if the backend is connected via a load balancer or reverse proxy.
'''Attention:''' If used, the server ''must'' use the same port number for tcpPort and udpPort (e.g. 9231 for ''both''), and respond to an additional handshake on the UDP port one number higher (e.g. 9232) than its udpPort, or it will shutdown during startup.
|}
Translation {| class="wikitable mw-datatable" width="100%" ! style="width:150px;"| File Content !! Property !! Description |- | rowspan="7" style="vertical-align:top;"| <span style="color:red; font-weight:bold;">{</span></br> "udpPort": 9201,</br> "tcpPort": 9201,</br> "maxConnections": 30,</br> "lanDiscovery": 1,</br> "registerToLobby": 1,</br> "configVersion": 1</br> <span style="color:red; font-weight:bold;">}</span> |- style="vertical-align:top;" | tcpPort || ACC clients will use this port to establish a connection to the server |- style="vertical-align:top;" | udpPort || Connected clients will use this Port to stream the car positions and is used for the ping test. In case you never see your server getting a ping value, this indicates that the udpPort is not accessible |- style="vertical-align:top;" | registerToLobby || * 0 = this server <u>won’t</u> register to the backend. the server is declared [[Multiplayer_Overview#Variants_of_Servers|Private Multiplayer]]. Is useful for LAN sessions. * 1 = this server register to the backend. the server is declared [[Multiplayer_Overview#Variants_of_Servers|Public Multiplayer]]. |- style="vertical-align:top;" | maxConnections || The maximum amount of connections a server will accept at a time. If you own the hardware server, you can just set any high number you want. If you rented a 16 or 24 slot server, your Hosting Provider probably has set this here and doesn’t give you write-access to this configuration file. Check also: * [[Server_Configuration#settings.json|setting.json / maxCarSlot]] * [[Server_Configuration#settings.json|setting.json / spectatorPassword]] |- style="vertical-align:top;" | lanDiscovery || Defines if the server will listen to LAN discovery requests. Can be turned off for dedicated servers. |- style="vertical-align:top;" | configVersion || ... |}
File Content
Property
Description
{
"udpPort": 9201,
"tcpPort": 9201,
"maxConnections": 30,
"lanDiscovery": 1,
"registerToLobby": 1,
"configVersion": 1
}
tcpPort
ACC clients will use this port to establish a connection to the server
udpPort
Connected clients will use this Port to stream the car positions and is used for the ping test. In case you never see your server getting a ping value, this indicates that the udpPort is not accessible
registerToLobby
0 = this server won’t register to the backend. the server is declared Private Multiplayer . Is useful for LAN sessions.
1 = this server register to the backend. the server is declared Public Multiplayer .
maxConnections
The maximum amount of connections a server will accept at a time. If you own the hardware server, you can just set any high number you want. If you rented a 16 or 24 slot server, your Hosting Provider probably has set this here and doesn’t give you write-access to this configuration file. Check also:
lanDiscovery
Defines if the server will listen to LAN discovery requests. Can be turned off for dedicated servers.
configVersion
...