Skip to content

Admins no longer stored in server-settings.json #151

@DanielNagy

Description

@DanielNagy

admin(s) auto-promote is not working with 0.17 factorio, and upon further investigation, it appears that the admins list is no longer part of the server-settings.json file but rather a separate file server-adminlist.json file.

So, you need to, create a server-adminslist.json file in the same array format as current. and update that from the GUI.

When starting factorio add the arg --server-adminlist referencing the new file in "config.FactorioConfigDir". otherwise, factorio will default to look for server-adminlist.json file in /opt/factorio (which is not ideal when used in a docker configuration and the config folder is mapped local system)

References below to details required.

https://wiki.factorio.com/Multiplayer
To give yourself admin access, you need to create a server-adminlist.json in the same directory as factorio-current.log. The file should contain a list of admins, like so: [ "user1", "user2" ]

https://wiki.factorio.com/Console#Command_line_parameters
--server-adminlist FILE | Path to file with server adminlist.

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