[0.15.12] Headless + multi save = unable to configure admins

Bugs that are actually features.
Beerbelott
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun May 21, 2017 1:51 pm
Contact:

[0.15.12] Headless + multi save = unable to configure admins

Post by Beerbelott »

Here is the scenario:
  1. Joined a game hosted by a friend on his PC (v0.15.10)
  2. Saved the game to mine when he left (server closed)
  3. Uploaded the savegame to a headless server (v0.15.12)
  4. Configured the server-settings.json file with a directive as following:

    Code: Select all

    {
      [...]
      "admins": ["foo"]
    }
  5. Joining the game, displaying the admins list with the help of the /admins command, the name my friend originally used when he was hosting the game on his computer, and only his name, appears
Following the configuration, is was expected to see :
  1. The player named 'foo' to be promoted to admin and connect
  2. No-one else being admin, including the original owner of the savegame, since the savegame could be loaded anywhere else where he has no authority
Comments on questions you might have:
  • Yes, the server-settings file is correct, the format of which has not changed since v0.14.23 and another factorio headless instance (v0.14.23) has been successfully loaded with me being promoted as admin there.
  • It is worthy to note that another savegame has been used to bootstrap the other (v0.14.23) instance, but this time it was a savegame of solo play, not multiplay
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.12] Headless + multi save = unable to configure admins

Post by Rseding91 »

The admins section only applies to players as they join the game. Once they've joined it doesn't do anything.

You can use the headless instance to promote anyone you like by just typing in the console.
If you want to get ahold of me I'm almost always on Discord.
Beerbelott
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun May 21, 2017 1:51 pm
Contact:

Re: [0.15.12] Headless + multi save = unable to configure admins

Post by Beerbelott »

Step 5 specified precisely that joining the game while appearing in the admins list (and with the configuration file loaded beforehand of course) does not promote the said player to admin, as it is expected.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.12] Headless + multi save = unable to configure admins

Post by Rseding91 »

Beerbelott wrote:Step 5 specified precisely that joining the game while appearing in the admins list (and with the configuration file loaded beforehand of course) does not promote the said player to admin, as it is expected.
If you have previously joined the game then it doesn't apply. It only happens the *first* time you join a specific save file. Once you've joined the game your player exists in the world and is saved.

Use the headless instance and just type /promote *name* and it will promote your player.
If you want to get ahold of me I'm almost always on Discord.
Beerbelott
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun May 21, 2017 1:51 pm
Contact:

Re: [0.15.12] Headless + multi save = unable to configure admins

Post by Beerbelott »

OK that is clearer.

Is that documented anywhere? I don't recall having read it before.

Thanks for your help!
This post is thus not a bug, and can be closed.
Post Reply

Return to “Not a bug”