Class ServerJarInstaller.InstallResult
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
What the install left behind, in the shape the caller needs for its config.
public record ServerJarInstaller.InstallResult : IEquatable<ServerJarInstaller.InstallResult>
- Inheritance
-
ServerJarInstaller.InstallResult
- Implements
- Inherited Members
Remarks
An empty JarFile is not a failure: modern Forge and NeoForge genuinely have no
runnable jar and launch through ForgeArgs instead. Callers must not write a run script
in that case, because the loader ships its own.
Constructors
InstallResult(string, string, string)
What the install left behind, in the shape the caller needs for its config.
public InstallResult(string JarFile, string LoaderVersion, string ForgeArgs)
Parameters
Remarks
An empty JarFile is not a failure: modern Forge and NeoForge genuinely have no
runnable jar and launch through ForgeArgs instead. Callers must not write a run script
in that case, because the loader ships its own.
Properties
ForgeArgs
public string ForgeArgs { get; init; }
Property Value
JarFile
public string JarFile { get; init; }
Property Value
LaunchesViaArgsFile
True when this loader launches through an args file rather than a jar.
public bool LaunchesViaArgsFile { get; }
Property Value
LoaderVersion
public string LoaderVersion { get; init; }