Skip to content

Refresh whitelist when detected change to whitelist file #2663

Description

@Player505

Enhancement Type

Improve an existing feature

Describe the enhancement

Currently when adding players to the whitelist file provided to the WHITELIST_FILE environment variable the change isn't reflected till the container restarts which kinda sucks because to whitelist new players you have to basically kick any currently logged in players.

I propose using something akin to incrond to monitor changes in the whitelist file provided to the WHITELIST_FILE environment variable and when a change is detected running the relevant script based on the EXISTING_WHITELIST_FILE environment variable then sending an rcon command the server to reload the whitelist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions