ThisCalculator

Everyday

Killing Floor 2 Admin: How to Make Yourself Admin

Updated · Standard formula, shown below

Killing Floor 2 Admin: How to Make Yourself Admin

This guide shows you how to grant yourself admin privileges on a Killing Floor 2 server, whether it’s a locally hosted listen server or a dedicated server you control. You’ll need access to the server’s configuration files or the ability to run console commands in-game, and we’ll cover both methods. By the end, you’ll be able to use admin commands like kicking players, changing maps, and spawning items.

What You’ll Need

  • Access to the server’s file system (for dedicated servers) or the ability to open the in-game console (for listen servers).
  • Your Steam64 ID (a 17-digit number). You can find it by visiting a site like steamid.io or by using the “status” command in the game console.
  • A text editor like Notepad or Visual Studio Code for editing config files.

Step-by-Step

Method 1: Using the In-Game Console (Listen Server)

  1. Start Killing Floor 2 and create a solo or online match (listen server).
  2. Open the console by pressing the tilde key (~) or F3 (depending on your keyboard layout). If the console doesn’t open, you may need to enable it in settings: go to Options > Gameplay > Enable Console and set it to Enabled.
  3. Type enablecheats and press Enter. This unlocks admin commands for your session.
  4. Type AdminLogin <yourpassword> if your server has a password set (usually in the web admin or command line). If no password is set, you can skip this step.
  5. You are now admin for this session. To test, type AdminKick <player name> or AdminChangeMap <mapname>.
  6. Note that this only lasts for the current session; you’ll need to repeat these steps each time you start a new match.

Method 2: Editing the PCServer-KFGame.ini (Dedicated Server)

  1. Stop your dedicated server if it’s running.
  2. Navigate to your server’s config folder, typically <server_directory>/KFGame/Config/.
  3. Open PCServer-KFGame.ini with a text editor.
  4. Find the [Engine.GameInfo] section (or create it if missing).
  5. Add a line that specifies the admin Steam IDs. The syntax is: AdminIDs=STEAM_0:1:12345678 (replace with your Steam64 ID). You can add multiple lines for multiple admins.
  6. Save the file and restart the server.
  7. In-game, you can now use admin commands without logging in, as long as your Steam ID matches. If you want to require a password, also add AdminPassword=YourPassword in the same section, then use AdminLogin in the console.

Method 3: Using Web Admin (Dedicated Server)

  1. Ensure your server has web admin enabled. In PCServer-KFGame.ini, under [KFGame.KFGameInfo], set WebAdminEnabled=True and choose a port (default is 8080).
  2. Restart the server.
  3. Open a web browser and go to http://your_server_ip:8080.
  4. Log in with the admin username and password you set in the config (look for AdminUsername and AdminPassword).
  5. Once logged in, you can manage players, maps, and settings. To make yourself admin permanently, use the “Admins” tab to add your Steam ID.

Common Mistakes

  • Using the wrong Steam ID format: Make sure you’re using the Steam64 ID (17 digits) not the Steam3 or custom URL. The config expects the full 64-bit ID.
  • Editing the wrong config file: There are multiple .ini files; make sure you edit PCServer-KFGame.ini, not KFEngine.ini or KFWeb.ini.
  • Forgetting to restart the server: Config changes only take effect after a restart.
  • Using enablecheats on a dedicated server: This command only works on listen servers (solo/offline). For dedicated servers, you must use the config method or web admin.
  • Typing commands incorrectly: Admin commands are case-sensitive and require exact syntax. For example, AdminKick not adminkick.

Tips

  • Always back up your config files before editing, so you can revert if something goes wrong.
  • If you’re running a dedicated server, consider using a server manager tool like KF2 Server Launcher or a web control panel to simplify admin management.
  • For a listen server, you can also add your Steam ID to the PCServer-KFGame.ini in your local Documents\My Games\KillingFloor2\KFGame\Config folder to make yourself admin automatically every time you host.
  • Use the AdminHelp command in console to see a list of all available admin commands.

Troubleshooting

  • Admin commands not working: Make sure you’ve run enablecheats (listen server) or that your Steam ID is correctly added and the server restarted (dedicated). Also check that you’re not using a command that requires a higher permission level.
  • Console won’t open: Enable it in Options > Gameplay. If it still doesn’t work, try binding a key: type setbind F3 Console in the console if it opens at all, or edit KFInput.ini to add a binding.
  • Web admin not loading: Check that the port is open in your firewall and that you’re using the correct URL (http, not https). Also verify that WebAdminEnabled is set to True and you’ve restarted the server.
  • Steam ID not recognized: Double-check that you’ve entered the correct Steam64 ID. You can verify by using the status command in the console while connected to the server – it shows your Steam ID.
  • Config edits not saving: Ensure the server is stopped when editing the file; if it’s running, it will overwrite your changes on shutdown.

Frequently Asked Questions

Can I make someone else admin?

Yes, simply add their Steam64 ID to the AdminIDs line in the config file, or add them via the web admin interface.

What’s the difference between a listen server and a dedicated server?

A listen server is hosted by a player who is also playing; it only runs while that player is in the game. A dedicated server runs independently, often on a separate machine or service, and stays up 24/7.

Do I need to enable cheats to use admin commands on a dedicated server?

No, on a dedicated server you just need to be listed as an admin in the config. The enablecheats command is only for listen servers.

How do I find my Steam64 ID?

You can use a website like steamid.io, or open the in-game console and type status – your Steam ID will be displayed in the format STEAM_0:1:12345678. To convert to Steam64, use the same website or a converter tool.

Can I set a password for admin login?

Yes, add AdminPassword=YourPassword to the [Engine.GameInfo] section of the config. Then, in-game, use AdminLogin YourPassword to authenticate.

Why do my admin commands work in solo but not on my dedicated server?

Because solo is a listen server, and you used enablecheats. On a dedicated server, you must be listed as an admin in the config file or via web admin. The commands themselves are the same, but the authentication method differs.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.