Skip to content

Consider reverting the change in program arguments to remove -worldpath #1914

@fjfnaranjo

Description

@fjfnaranjo

Is your feature request related to a problem? Please describe.

I was able to pass the -worldpath argument value from TShock to the upstream Terraria server but now I cannot because of the commit 7ad46ab. I think this posibility served many purposes to me and other users. The main one being able to show a particular list of worlds in the "world selection" CLI interface.

Describe the solution you'd like

I will like this argument to be restored. I don't want to lose the ability to use -world nor I think you shouldn't use it when you already now the final path. I will like just to pass the value to the upstream Terraria server to be able to list the world in a particular directory in the "world selection" CLI interface.

Describe alternatives you've considered

I already implemented an alternative to my case using a symbolic link to the default Linux path ~/.local/share/Terraria/Worlds. As you can see in: https://github.com/fjfnaranjo/tshock-docker/blob/master/Dockerfile#L13-L14

Additional context

Relevant commit: 7ad46ab

Disclaimer: I'm the developer for the Docker image: https://hub.docker.com/r/fjfnaranjo/tshock/ . But I think this may serve well other users. The code for the Docker image is in: https://github.com/fjfnaranjo/tshock-docker . A post in the forums exists talking about this image here: https://tshock.co/xf/index.php?threads/i-just-dockerized-tshock.5198/ .

Kind regards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions