Killing Floor 2

Killing Floor 2

Not enough ratings
Admin Auto Login
   
Award
Favorite
Favorited
Unfavorite
Maps and Mods: Mutators, Gamemodes
File Size
Posted
Updated
21.887 KB
14 Aug, 2022 @ 2:14am
8 Mar @ 5:42am
6 Change Notes ( view )

Subscribe to download
Admin Auto Login

Description


Description
Small server-side mutator that allows specified players to automatically login as an admin.

Whitelisted?
No. But I really hope that it will be whitelisted.

⚠️ I submitted whitelist request here:
https://forums.tripwireinteractive.com/index.php?threads/whitelisting-mods-and-mutators.120340/post-2353666

Usage (server)
Note: If you don't understand what is written here, read the article Dedicated Server (KF2 wiki)[wiki.killingfloor2.com] before following these instructions.
  1. Open your PCServer-KFEngine.ini / LinuxServer-KFEngine.ini;
  2. Find the [IpDrv.TcpNetDriver] section and make sure that there is a line (add if not):
    DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload
    ❗️ If there are several DownloadManagers= then the line above should be the first ❗️
  3. Add the following string to the [OnlineSubsystemSteamworks.KFWorkshopSteamworks] section (create one if it doesn't exist):
    ServerSubscribedWorkshopItems=2848836389
  4. Start the server and wait until the mutator is downloading;
  5. Add mutator to server start parameters: ?Mutator=AAL.Mut and restart the server.

Important setup information
The config should be created on first start, but now the game contains a bug that initializes the config values ​​randomly if they are not explicitly set. Thus, the config may have incorrect values ​​or not be created at all.
So if you are using this mutator for the first time, I highly recommend doing the following:
  1. Create (modify) KFAAL.ini manually. Put the following content there:
    [AAL.AAL]
    Version=0

  2. Start the game/server with AAL to generate the contents of the config.
  3. Close the game/server.
Right now this is the only way to correctly create the default config.
Unfortunately I can't do anything about it because it's a game problem (not mutator). I hope TWI fixes this someday.

Setup (KFAAL.ini)
  • Use AdminId to set the list of admins. You can use UniqueID or SteamID;
  • Set bAutoEnableCheats=True to automatically enable cheats for admins.

Getting ID
You can view the Steam ID and UniqueID in WebAdmin on the PLAYERS tab:


But don't try to use the SteamID from here for EGS players - it won't work. SteamID is for Steam players only.
UniqueID is suitable for all platforms.

SteamID can also be obtained from the player's profile, look at the URL:


If a player uses a nickname in a link to their profile, then add this to the profile url: ?xml=1


Sources
https://github.com/GenZmeY/KF2-AdminAutoLogin (GNU GPLv3)