Table of Contents

Class NewServerPlan

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

What the new-server form asks for, once it has been checked and is safe to act on.

public sealed record NewServerPlan : IEquatable<NewServerPlan>
Inheritance
NewServerPlan
Implements
Inherited Members

Constructors

NewServerPlan(string, string, ServerType, MinecraftVersion, MemoryMode, int, int, int, string?, bool, bool, bool, bool)

What the new-server form asks for, once it has been checked and is safe to act on.

public NewServerPlan(string Name, string Folder, ServerType Type, MinecraftVersion Version, MemoryMode Memory, int MinRamGb, int MaxRamGb, int Port, string? Seed, bool MultiVersion, bool Hydraulic, bool Playit, bool Crossplay)

Parameters

Name string

The name shown in the app.

Folder string

The folder the server is created in.

Type ServerType

The kind of server.

Version MinecraftVersion

The Minecraft version, as Mojang's list knows it.

Memory MemoryMode

Whether the RAM is picked by the app or by the user.

MinRamGb int

Minimum RAM in whole gigabytes.

MaxRamGb int

Maximum RAM in whole gigabytes.

Port int

The port the server listens on.

Seed string

The world seed, or null/empty for a random one.

MultiVersion bool

Whether other client versions may join.

Hydraulic bool

Whether Bedrock mod content is enabled.

Playit bool

Whether the server goes out through a Playit tunnel.

Crossplay bool

Whether Bedrock players may join (only honoured when the type allows it).

Properties

Crossplay

Whether Bedrock players may join (only honoured when the type allows it).

public bool Crossplay { get; init; }

Property Value

bool

Folder

The folder the server is created in.

public string Folder { get; init; }

Property Value

string

Hydraulic

Whether Bedrock mod content is enabled.

public bool Hydraulic { get; init; }

Property Value

bool

MaxRamGb

Maximum RAM in whole gigabytes.

public int MaxRamGb { get; init; }

Property Value

int

Memory

Whether the RAM is picked by the app or by the user.

public MemoryMode Memory { get; init; }

Property Value

MemoryMode

MinRamGb

Minimum RAM in whole gigabytes.

public int MinRamGb { get; init; }

Property Value

int

MultiVersion

Whether other client versions may join.

public bool MultiVersion { get; init; }

Property Value

bool

Name

The name shown in the app.

public string Name { get; init; }

Property Value

string

Playit

Whether the server goes out through a Playit tunnel.

public bool Playit { get; init; }

Property Value

bool

Port

The port the server listens on.

public int Port { get; init; }

Property Value

int

Seed

The world seed, or null/empty for a random one.

public string? Seed { get; init; }

Property Value

string

Type

The kind of server.

public ServerType Type { get; init; }

Property Value

ServerType

Version

The Minecraft version, as Mojang's list knows it.

public MinecraftVersion Version { get; init; }

Property Value

MinecraftVersion