server config: Difference between revisions
From Onset Developer Wiki
Created page with "{| class="wikitable" style="text-align: left;" !colspan="6"|server_config.json |- |Config |Description |- |servername |The hostname of your server. Markup for colors and UTF8..." ย |
No edit summary |
||
Line 30: | Line 30: | ||
|- | |- | ||
|masterserver | |masterserver | ||
|'''true''' to have your server made public in the server list. '''false'' otherwise. This only works if your server is reachable on the internet. | |'''true''' to have your server made public in the server list. '''false''' otherwise. This only works if your server is reachable on the internet. | ||
|- | |- | ||
|plugins | |plugins |
Revision as of 23:03, 22 March 2019
server_config.json | |||||
---|---|---|---|---|---|
Config | Description | ||||
servername | The hostname of your server. Markup for colors and UTF8 icons require a subscription. | ||||
gamemode | A description what you can do on your server. | ||||
website_url | A link to your servers homepage. | ||||
ipaddress | Address to bind your server on. Use "localhost" to make it accessible from your computer only. Use "0.0.0.0" to bind on any address. | ||||
port | Main network port to connect to your server (UDP). Query port (UDP) is this port - 1. File port (TCP) is this port - 2. | ||||
password | Leave empty to disable. | ||||
timeout | Time in milliseconds after which an unresponsive player will be dropped. This should be between 10000 and 20000 milliseconds. | ||||
iplimit | Limit the amount of connections per ip. New connections exceeding that nummer are being dropped immediately. | ||||
masterserver | true to have your server made public in the server list. false otherwise. This only works if your server is reachable on the internet. | ||||
plugins | Array of plugins you want to load. These must be in the plugins folder. | ||||
packages | Array of packages you want to load. |
Example server_config.json
{
"servername": "[g]๐ด [c=#00ff00]Horizon[/c] [c=red]Prototype[/c] [c=yellow]Labs[/c] ๐ฝ [b]LIT AF[/b] ๐ฌ๐ฅ [i]ะฑะปััั[/i] ๐ซ + ๐ = ๐จ [u][b]NOICE[/b][/u] OK come on in ๐[/g]",
"gamemode": "GET THE EXPERIENCE โบ ๐",
"website_url": "https://bluemountains.io",
"ipaddress": "0.0.0.0",
"port": 7777,
"maxplayers": 500,
"password": "",
"timeout": 15000,
"iplimit": 5,
"masterserver": true,
"plugins": [
"mysql"
],
"packages": [
"horizon"
],
"stream_distance": 12000.0,
"stream_update_rate": 0.05,
"voice": true,
"voice_sample_rate": 24000,
"voice_distance": 4000.0,
"voice_spatialization": true
}