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
NamestringThe name shown in the app.
FolderstringThe folder the server is created in.
TypeServerTypeThe kind of server.
VersionMinecraftVersionThe Minecraft version, as Mojang's list knows it.
MemoryMemoryModeWhether the RAM is picked by the app or by the user.
MinRamGbintMinimum RAM in whole gigabytes.
MaxRamGbintMaximum RAM in whole gigabytes.
PortintThe port the server listens on.
SeedstringThe world seed, or null/empty for a random one.
MultiVersionboolWhether other client versions may join.
HydraulicboolWhether Bedrock mod content is enabled.
PlayitboolWhether the server goes out through a Playit tunnel.
CrossplayboolWhether 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
Folder
The folder the server is created in.
public string Folder { get; init; }
Property Value
Hydraulic
Whether Bedrock mod content is enabled.
public bool Hydraulic { get; init; }
Property Value
MaxRamGb
Maximum RAM in whole gigabytes.
public int MaxRamGb { get; init; }
Property Value
Memory
Whether the RAM is picked by the app or by the user.
public MemoryMode Memory { get; init; }
Property Value
MinRamGb
Minimum RAM in whole gigabytes.
public int MinRamGb { get; init; }
Property Value
MultiVersion
Whether other client versions may join.
public bool MultiVersion { get; init; }
Property Value
Name
The name shown in the app.
public string Name { get; init; }
Property Value
Playit
Whether the server goes out through a Playit tunnel.
public bool Playit { get; init; }
Property Value
Port
The port the server listens on.
public int Port { get; init; }
Property Value
Seed
The world seed, or null/empty for a random one.
public string? Seed { get; init; }
Property Value
Type
The kind of server.
public ServerType Type { get; init; }
Property Value
Version
The Minecraft version, as Mojang's list knows it.
public MinecraftVersion Version { get; init; }