How to Add Launch Parameters

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
L2KPrince
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Apr 08, 2014 1:26 pm

How to Add Launch Parameters

Post by L2KPrince »

Hi all, I'm trying to run a L4D2 server on an unmanaged Linux VDS. I want to add -tickrate 60 to my server's launch parameters. But since this is a VDS and I can't right click --> properties I am a bit stumped on what to do. Does anyone know of a way to add parameters on server launch?

Thanks in advance.
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: How to Add Launch Parameters

Post by Edge100x »

What command are you using to start the server? That is the line that you will need to add this to.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: How to Add Launch Parameters

Post by soja »

assuming you are on linux, you would add the command line options after srcds_run.

Taken from srcds.com
Extra) Running srcds in background (re-attachable)

We will make a script that will run the srcds in the background in a "screen"
you will need to have screen installed for this. make a file called server.sh and put this in:
Command(s):

#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
Change the command line options to the ones from l4d2.
Not a NFO employee
Post Reply