[img]https://img.shields.io/static/v1?logo=GitHub&labelColor=gray&color=blue&logoColor=white&label=&message=Open Source[/img] [img]https://img.shields.io/github/license/GenZmeY/KF2-AdminAutoLogin[/img] [img]https://img.shields.io/steam/downloads/2848836389[/img] [img]https://img.shields.io/steam/favorites/2848836389[/img] [img]https://img.shields.io/steam/update-date/2848836389[/img] [url=https://steamcommunity.com/sharedfiles/filedetails/changelog/2848836389][img]https://img.shields.io/github/v/tag/GenZmeY/KF2-AdminAutoLogin[/img][/url] [h1]πŸ“‹ Description[/h1] Small server-side mutator that allows specified players to automatically login as an admin. [h1]❌ Whitelisted?[/h1] No. This mod is not whitelisted and will de-rank your server. Any XP earned will not be saved. But I 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 [h1]πŸ–₯️ Usage (server)[/h1] [b]Note:[/b] [i]If this is unclear, first read: [url=https://wiki.killingfloor2.com/index.php?title=Dedicated_Server_(Killing_Floor_2)][u]Dedicated Server Guide (KF2 wiki)[/u][/url][/i] [olist] [*]Open [b]PCServer-KFEngine.ini[/b] / [b]LinuxServer-KFEngine.ini[/b]. [*]Find [b][IpDrv.TcpNetDriver][/b] section and ensure line exists (add if missing): [code]DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload[/code] (If there are several [b]DownloadManagers[/b] then the line above should be the first) [*]Add the following string to the [b][OnlineSubsystemSteamworks.KFWorkshopSteamworks][/b] section (create one if it doesn't exist): [code]ServerSubscribedWorkshopItems=2848836389[/code] [*]Start server and wait for mutator download. [*]When the download is complete, stop the server. [*]Create a file [b](*)[/b]: [code]\KFGame\Config\KFAAL.ini[/code] with content: [code][AAL.AAL] Version=0[/code] [*]Add mutator to server start parameters: [code]?Mutator=AAL.Mut[/code] and start the server (this will generate the default KFAAL.ini content). [*]Close the server and configure the mutator (see [b]βš™οΈ Setup (KFAAL.ini)[/b] below). [*]Start the server again. [/olist] [h1]🐞 (*) Buggy config initialization[/h1] This mutator (like many others) relies on UnrealScript's default values (0 for int type) to detect first-time use and generate a config. However, the game contains a bug that initializes unset values to random data, which can lead to incorrect settings or missing configs. As a workaround, I recommend explicitly setting [b]Version=0[/b] in the config during the first initialization. Unfortunately, I can't fix this issue because it's a game engine problem (not the mutator's fault). [h1]βš™οΈ Setup (KFAAL.ini)[/h1] [list] [*]Use [b]AdminId[/b] to set the list of admins, you can use UniqueID or SteamID. The default config contains example UniqueID and SteamID entries - replace them with the values ​​you need or delete them, but don’t leave it as is. [*]Set [b]bAutoEnableCheats=True[/b] to automatically enable cheats for admins. [/list] [h1]πŸ”Ž Getting IDs[/h1] You can view the Steam ID and UniqueID in WebAdmin on the PLAYERS tab: [img]https://raw.githubusercontent.com/GenZmeY/KF2-AdminAutoLogin/master/PublicationContent/ID1.png[/img] 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: [img]https://raw.githubusercontent.com/GenZmeY/KF2-AdminAutoLogin/master/PublicationContent/ID2.png[/img] If a player uses a nickname in a link to their profile, then add this to the profile url: [b]?xml=1[/b] [img]https://raw.githubusercontent.com/GenZmeY/KF2-AdminAutoLogin/master/PublicationContent/ID3.png[/img] [h1]🌍 Credits[/h1] [list] [*]The cat on the cover is Meawbin (original character by [url=https://x.com/horrormove]Cotton Valent[/url]). [/list] [h1]β˜‘οΈ Status: Completed[/h1] βœ”οΈ The mutator works with the current version of the game (v1150) and I have implemented everything I planned. ⛔️ Development has stopped: I no longer have the time or motivation to maintain this mod. No further updates or bug fixes are planned. [h1]πŸ“œ Sources[/h1] https://github.com/GenZmeY/KF2-AdminAutoLogin [b](GNU GPLv3)[/b]