Class ServerOptions
Server options
Inherited Members
Namespace: TerraProc.Server
Assembly: TerraProc.Server.dll
Syntax
public sealed class ServerOptions
Properties
| Edit this page View SourcePort
Port to listen on (HTTPS)
Declaration
public int Port { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
PortHttp
Port to listen on (HTTP h2c endpoints, dev only)
Declaration
public int PortHttp { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Seed
Seed for terrain generation
Declaration
public uint Seed { get; init; }
Property Value
| Type | Description |
|---|---|
| uint |
Threads
Number of threads to use for terrain generation
Declaration
public int Threads { get; init; }
Property Value
| Type | Description |
|---|---|
| int |