• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server Login to your KF server through Web Admin IN-GAME in Steam

SlayVus

Active member
May 17, 2009
26
4
This will be a small tutorial on how to login into the Web Admin in-game using the Steam overlay.

This can be really useful when you want to change maps fast, kick or ban players, edit difficulty on the fly or turn on mutators. Just remember changes made will not take effect until a new map has been loaded.

While in-game press Shift+Tab to bring up the Steam overlay.

In the bottom right corner, click the "Web" button. This will bring up a window with an address bar which should already have a website loaded.

Now, you will need to type this in to get into your web admin BECAUSE there are no pop up windows that will ask for your user name and password when you use this method.

Code:
http://YourUsername:YourPassword@YourServer'sIPAddress:Server'sWebAccessPort (Default 8075)

The web admin is much easier to use than the console in-game and I would suggest using over the in-game console.

Here is another way to access the WebAdmin from the Overlay Browser.
This solution requires the modification of one steam file (url_list.txt).


  1. Download the Zip file and extract the web.admin.mod.html into the "Public" folder of your steam installation.
    Code:
    I:\Program Files (x86)\Steam\Public
  2. Open the web.admin.mod.html with an html or text editor of your choice and change the following to the URL of your KF WebAdmin
    Code:
    http://YourName:[email protected]:8075/
  3. Change the following to the URL of your community control panel (copy and paste the URL from your steam client)
    Code:
    http://steamcommunity.com/id/YourSteamCommunityID/home
  4. Save the file, double click it to open it in the web browser and copy the URL from the browser's address bar... should look like this
    Code:
    file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html
  5. Create a backup of "url_list.txt" (it's also in the Public folder)
  6. Open the "url_list.txt" and look for
    Code:
    SteamIDControlPage
    {
        url            "%community%/profiles/%steamID%/home"
        method        "community"
    }
  7. Replace the "url" part of it with the URL of the web.admin.mod.html you just copied from the browser's address bar so it would look like this
    Code:
    SteamIDControlPage
    {
        url            "file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html"
        method        "community"
    }
  8. Save the file, done
If you now click on the Steam Overlay "Community" button it will open the web.admin.mod.html and give you two links as you can see in the attached picture. If you click on the KF WebAdmin link a new browser window will open and load your WebAdmin page. Click on the Steam Community link to go to your Steam Community Control Panel.
 

Attachments

  • WebAdminMod.zip
    849 bytes · Views: 40
  • steam.jpg
    steam.jpg
    32.2 KB · Views: 31
Last edited:
This method works well in place of long, complex and time consuming console commands. Nice tut.

tztsacdsyx.jpg
 
Upvote 0
I know this is a stupid question and i tend to find stuff like this scattered around the files, but unfortunatly i can't find this one...

I prefer to use the dedicated server launched by the game itself, and i got the webadmin interface working, but i can't find the default username and password or set them...

If there is a workaround out there or something i've missed let me know! :)
 
Upvote 0
In the killingfloor.ini in C:\Program Files\Steam\steamapps\common\killingfloor\System under [Engine.GameReplicationInfo] try putting whatever you want next to AdminName=. Then under [Engine.AccessControl] next to AdminPassword= put whatever password you want.

After you've done that, make sure the server isn't on during this, turn on the server and try using the information you just put in.

Okay, so I just tried using a different user name then the one in my .bat file and it worked, just make sure you have the password typed in right.
 
Last edited:
Upvote 0
Here is another way to access the WebAdmin from the Overlay Browser.
This solution requires the modification of one steam file (url_list.txt).


  1. Download the Zip file and extract the web.admin.mod.html into the "Public" folder of your steam installation.
    Code:
    I:\Program Files (x86)\Steam\Public
  2. Open the web.admin.mod.html with an html or text editor of your choice and change the following to the URL of your KF WebAdmin
    Code:
    http://YourName:[email protected]:8075/
  3. Change the following to the URL of your community control panel (copy and paste the URL from your steam client)
    Code:
    http://steamcommunity.com/id/YourSteamCommunityID/home
  4. Save the file, double click it to open it in the web browser and copy the URL from the browser's address bar... should look like this
    Code:
    file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html
  5. Create a backup of "url_list.txt" (it's also in the Public folder)
  6. Open the "url_list.txt" and look for
    Code:
    SteamIDControlPage
    {
        url            "%community%/profiles/%steamID%/home"
        method        "community"
    }
  7. Replace the "url" part of it with the URL of the web.admin.mod.html you just copied from the browser's address bar so it would look like this
    Code:
    SteamIDControlPage
    {
        url            "file:///I:/Program%20Files%20(x86)/Steam/Public/web.admin.mod.html"
        method        "community"
    }
  8. Save the file, done
If you now click on the Steam Overlay "Community" button it will open the web.admin.mod.html and give you two links as you can see in the attached picture. If you click on the KF WebAdmin link a new browser window will open and load your WebAdmin page. Click on the Steam Community link to go to your Steam Community Control Panel.
 

Attachments

  • kfwebadminmod.jpg
    kfwebadminmod.jpg
    29.7 KB · Views: 2
  • WebAdminMod.zip
    849 bytes · Views: 0
  • Like
Reactions: Jake74 and arramus
Upvote 0
How come it won't let me write anything into the address bar? i.e greyed out.

Edit: got it sorted.

Thanks for a great useful tip!

1 thing though - about the second method - got it to work - i got the new html page with the 2 links, if i click on the community link everything is OK but if i click on the webadmin link nothing happens?
 
Last edited:
Upvote 0
The WebAdmin link only works while in-game using the steam overlay.
This is because the IE doesn't support user names and passwords in Web site addresses (http, https) but there's a workaround.
There's not really a need to use this workaround as you will get the login pop-up if you open your WebAdmin and don't use the steam overlay.
http://support.microsoft.com/kb/834489/EN-US/
 
Last edited:
Upvote 0
I admin four servers.

Is it possible to have the menu give a choice for all four? If so, what would the code look like? (Lets assume the adminname and password remain the same for all four).

I've never really used the Steam Overlay so I'm not that familiar with it.
The method given by the original poster works great. However, being able to get to range of servers would be wonderful (if possible).

TIA,
Floyd
 
Upvote 0
I admin four servers.

Is it possible to have the menu give a choice for all four? If so, what would the code look like? (Lets assume the adminname and password remain the same for all four).

I've never really used the Steam Overlay so I'm not that familiar with it.
The method given by the original poster works great. However, being able to get to range of servers would be wonderful (if possible).

TIA,
Floyd
Use this one.
 

Attachments

  • WebAdminMod.zip
    869 bytes · Views: 3
Upvote 0