Skip to content

New launch parameters #44

Description

@Micke90s

Version 1.0 will add a few new options (see https://store.steampowered.com/news/app/1621690/view/4247544173385794673) which should be available as new launch parameters. These parameters should be set via the environment variables.
Unfortunately, the README of the dedicated server was not updated yet. I took a short view into the source using dnSpy. (File Pug.Base.dll)

[Flags]
public enum WorldMode
{
    Undefined = -1,
    Normal = 0,
    Hard = 1,
    Creative = 2,
    Casual = 4,
    Classic = 5
}
public enum WorldGenerationSettingType
{
    Chaos,
    OreDensity,
    Tunnels,
    Chambers,
    Rivers,
    Lakes,
    Pits,
    CeilingHoles
}
public enum WorldGenerationSettingLevel
{
    Off,
    Low,
    Normal,
    High,
    Extreme
}

I will try to figure out how the parameters are supplied to the dedicated server and add this to a pull request.
May we have luck, and the README will be updated tomorrow with the full 1.0 release. Otherwise, I will dig around.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions