Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Starting a game server

Maximiliano Jabase edited this page Dec 27, 2021 · 4 revisions

With SPCode, you can start a srcds server for you to easily prepare your testing environment. Visit the AlliedModders wiki to learn how to prepare your own Source Dedicated Server.

Before starting it, set up the required server information. Head to Configurations -> Edit Configurations.

In the Server Executable box, specify the path of your srcds.exe executable, and in the Server-Start Arguments box, the proper launch parameters. Depending on the game you've downloaded the server for, launch parameters could vary. For example, for a Team Fortress 2 server, the text in the second box would be:

-console -game tf +map cp_dustbowl

Or, if it's a Counter Strike: Source server:

-console -game cstrike +map de_dust2

You can get specific info about this in the wiki article linked earlier.

After setting up those 2 basic items, hitting the default server start hotkey F9 should start your server right away.