Headless Server Software/Example Configurations: Difference between revisions

From Resonite Wiki
Updated to current default config
 
No edit summary
Line 1: Line 1:
To help our users with [[Headless Client/Configuration File|Headless Client configuration]] here are some example files:
To help our users with [[Headless Client/Configuration File|Headless Client configuration]] here are some example files:
== Minimal ==
The bare minimum required to run a single headless world
<code>
{
  "$schema": "https://raw.githubusercontent.com/Yellow-Dog-Man/JSONSchemas/main/schemas/HeadlessConfig.schema.json",
  "startWorlds": [
    {
      "isEnabled": true,
      "sessionName": "Cheese Testing",
      "maxUsers": 16,
      "accessLevel": "Anyone",
      "loadWorldPresetName": "Grid"
    }
  ]
}
</code>


== Default ==
== Default ==

Revision as of 00:33, 1 March 2024

To help our users with Headless Client configuration here are some example files:

Minimal

The bare minimum required to run a single headless world

{

 "$schema": "https://raw.githubusercontent.com/Yellow-Dog-Man/JSONSchemas/main/schemas/HeadlessConfig.schema.json",
 "startWorlds": [
   {
     "isEnabled": true,
     "sessionName": "Cheese Testing",
     "maxUsers": 16,
     "accessLevel": "Anyone",
     "loadWorldPresetName": "Grid"
   }
 ]

}

Default

The default configuration file from the Resonite Installation.

{
  "$schema": "https://raw.githubusercontent.com/Yellow-Dog-Man/JSONSchemas/main/schemas/HeadlessConfig.schema.json",
  "comment": "DO NOT EDIT THIS FILE! Your changes will be lost. Copy it over and create a new file called Config.json",
  "universeId": null,
  "tickRate": 60.0,
  "maxConcurrentAssetTransfers": 4,
  "usernameOverride": null,
  "loginCredential": null,
  "loginPassword": null,
  "startWorlds": [
    {
      "isEnabled": true,
      "sessionName": null,
      "customSessionId": null,
      "description": null,
      "maxUsers": 16,
      "accessLevel": "Anyone",
      "useCustomJoinVerifier": false,
      "hideFromPublicListing": null,
      "tags": null,
      "mobileFriendly": false,
      "loadWorldURL": null,
      "loadWorldPresetName": "Grid",
      "overrideCorrespondingWorldId": null,
      "forcePort": null,
      "keepOriginalRoles": false,
      "defaultUserRoles": null,
      "roleCloudVariable": null,
      "allowUserCloudVariable": null,
      "denyUserCloudVariable": null,
      "requiredUserJoinCloudVariable": null,
      "requiredUserJoinCloudVariableDenyMessage": null,
      "awayKickMinutes": -1.0,
      "parentSessionIds": null,
      "autoInviteUsernames": null,
      "autoInviteMessage": null,
      "saveAsOwner": null,
      "autoRecover": true,
      "idleRestartInterval": -1.0,
      "forcedRestartInterval": -1.0,
      "saveOnExit": false,
      "autosaveInterval": -1.0,
      "autoSleep": true
    }
  ],
  "dataFolder": null,
  "cacheFolder": null,
  "logsFolder": null,
  "allowedUrlHosts": null,
  "autoSpawnItems": null
}