Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want to add an option, such as “-zone 8192” to the start command for my HalfLife server. How do I do this?

Command halflife option server
0
Posted

I want to add an option, such as “-zone 8192” to the start command for my HalfLife server. How do I do this?

0

At the top level of your home directory is a file called customer_server_settings. Open this file in your favorite text editor and find the following option (it’s near the bottom): ## User-Defined Command Line Opions ## USE AT YOUR OWN RISK!!!!! MISUSE WILL BREAK YOUR SERVER!!! ## Enter any command line options here, and keep them WITHIN the quotes… ## They will be appended EXACTLY AS ## TYPED to the hlds_run command. You probably don’t need to put anything ## here, and if you do, you should already know exactly what you need… ## If you don’t, then leave this option blank… ## USER_COMMANDLINE_OPTIONS=”-option1 value1 -option2 value2″ Add your command line options (and me sure they stay within the quotes!!) and restart your server. If you do not see the USER_COMMANDLINE_OPTIONS=” ” line, then add it, and the options you define will be appended at the end of hlds_run script EXACTLY as you defined them, so make sure they are correct or you could break your server!

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123