Server settings: Difference between revisions
m (→Sample file) |
|||
| Line 14: | Line 14: | ||
| gamemode|| Freeroam || The server's gamemode. | | gamemode|| Freeroam || The server's gamemode. | ||
|- | |- | ||
| encryption|| false|| | | encryption|| false|| Whether the connection to the server will be encrypted or not. | ||
|- | |- | ||
| maxplayers || 100 || Maximum number of players your server will hold. | | maxplayers || 100 || Maximum number of players your server will hold. | ||
| Line 24: | Line 24: | ||
| port || 22005 || The port that the server will use. The server uses both UDP and TCP protocols.<br/>The port after that one (''port + 1'', so 22006 by default) will be used for the HTTP server that hosts the client packages for the clients to download from. | | port || 22005 || The port that the server will use. The server uses both UDP and TCP protocols.<br/>The port after that one (''port + 1'', so 22006 by default) will be used for the HTTP server that hosts the client packages for the clients to download from. | ||
|- | |- | ||
| disallow-multiple-connections-per-ip|| false|| | | disallow-multiple-connections-per-ip|| false|| Allows (false) or disallows (true) multiple players to connect from the same IP address | ||
|- | |- | ||
| limit-time-of-connections-per-ip|| 0|| | | limit-time-of-connections-per-ip|| 0|| Maximum time a player can try to reconnect before getting timeout | ||
|- | |- | ||
| url|| || Website URL. | | url|| || Website URL. | ||
| Line 32: | Line 32: | ||
| language|| en|| Server's language | | language|| en|| Server's language | ||
|- | |- | ||
| sync-rate|| 40|| | | sync-rate|| 40|| This number indicates how many times per second the server has to synchronize its entities | ||
|- | |- | ||
| resource-scan-thread-limit|| || | | resource-scan-thread-limit|| || Indicates the maximum number of threads used for resource scanning | ||
|- | |- | ||
| max-ping|| || Maximum Ping accepted for the server | | max-ping|| || Maximum Ping accepted for the server | ||
| Line 44: | Line 44: | ||
| min-game-version|| || Accepted Game version for the server (Example: 1.41) | | min-game-version|| || Accepted Game version for the server (Example: 1.41) | ||
|- | |- | ||
| allow-cef-debugging || || | | allow-cef-debugging || || Whether the client can (true) or not (false) debug the server's CEF pages | ||
|- | |- | ||
| csharp || false|| C# | | csharp || false|| If your server will be using the C# bridge plugin set it to true, else don't add this line | ||
|} | |} | ||
Revision as of 08:07, 12 May 2018
- conf.json - is a configuration file which allows you manage your server easily.
Settings
The following table will explain the use of the following settings:
| Setting | Default value | Description |
|---|---|---|
| announce | false | Announce to the master server so people can see you in their server browser. |
| bind | 127.0.0.1 | The IP to listen to. |
| gamemode | Freeroam | The server's gamemode. |
| encryption | false | Whether the connection to the server will be encrypted or not. |
| maxplayers | 100 | Maximum number of players your server will hold. |
| name | RAGE:MP Unofficial server | Server name that will be displayed to the master server. |
| stream-distance | 500.0 | The distance on the X,Y plane which server entities will stream in for connected players. |
| port | 22005 | The port that the server will use. The server uses both UDP and TCP protocols. The port after that one (port + 1, so 22006 by default) will be used for the HTTP server that hosts the client packages for the clients to download from. |
| disallow-multiple-connections-per-ip | false | Allows (false) or disallows (true) multiple players to connect from the same IP address |
| limit-time-of-connections-per-ip | 0 | Maximum time a player can try to reconnect before getting timeout |
| url | Website URL. | |
| language | en | Server's language |
| sync-rate | 40 | This number indicates how many times per second the server has to synchronize its entities |
| resource-scan-thread-limit | Indicates the maximum number of threads used for resource scanning | |
| max-ping | Maximum Ping accepted for the server | |
| min-fps | Minimum FPS required for the server | |
| max-packet-loss | Maximum Packet loss accepted in the server | |
| min-game-version | Accepted Game version for the server (Example: 1.41) | |
| allow-cef-debugging | Whether the client can (true) or not (false) debug the server's CEF pages | |
| csharp | false | If your server will be using the C# bridge plugin set it to true, else don't add this line |
Sample file
This is an example of conf.json:
{
{
"announce": false,
"bind": "127.0.0.1",
"gamemode": "freeroam",
"name": "RAGE:MP Unofficial server",
"maxplayers": 100,
"port": 22005,
"streamdistance": 500.0
}
}