Server settings: Difference between revisions
No edit summary |
m (→Sample file) |
||
| Line 51: | Line 51: | ||
== Sample file == | == Sample file == | ||
This is an example | This is an example of '''conf.json''': | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
{ | { | ||
{ | { | ||
"announce" : false, | "announce": false, | ||
"bind" : "127.0.0.1", | "bind": "127.0.0.1", | ||
"gamemode" : "freeroam", | "gamemode": "freeroam", | ||
"name" : "RAGE:MP Unofficial server", | "name": "RAGE:MP Unofficial server", | ||
"maxplayers" : 100, | "maxplayers": 100, | ||
"port": 22005, | "port": 22005, | ||
"streamdistance" : 500.0 | "streamdistance": 500.0 | ||
} | } | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Reference]] | [[Category:Reference]] | ||
Revision as of 15:10, 31 March 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 | ... |
| 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 | ... |
| limit-time-of-connections-per-ip | 0 | ... |
| url | Website URL. | |
| language | en | Server's language |
| sync-rate | 40 | ... |
| resource-scan-thread-limit | ... | |
| 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 | ... | |
| csharp | false | C# state |
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
}
}