Skip to content

If RESOURCE_PACK is unset, remove entry from server.properties (or document manual step) #1117

@xurizaemon

Description

@xurizaemon

Enhancement Type

Improve an existing feature

Describe the enhancement

In #379 it became possible to add a resource pack via setting RESOURCE_PACK. Awesome!

However, if you do this and then disable the variable, the resource pack behaviour persists. As a new MC admin, it was not clear to me how the configuration had persisted. Initially I looked for a cached .zip file locally, and then for the extracted values. But the persistence was that setting the variable had written it to server.properties, and clearing the variable did not trigger a corresponding update to server.properties to remove it.

This might be complicated since we don't want to clear the entry if it's manually added ... perhaps just documenting an additional step to unset that variable would help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions