Running several mods on one server

When you have read all the other sections good, this should be a piece of cake.

In this example, I will show you how to run a Counter-Strike, Day of Defeat and Frontline Force server all on one machine using screen.

After you have installed all the files, go to your /halflife/hlds_l/ directory

1.  cd /usr/local/games/halflife/hlds_l
2.  screen
3.  export LD_LIBRARY_PATH=/halflife/hlds_l:$LD_LIBRARY_PATH
4.  ./hlds_run -game cstrike +exec server.cfg +ip +port 27015 +maxplayers 16 +map de_dust
5.  CTRL a + d (detached)

6.  cd /usr/local/games/halflife/hlds_l
7.  screen
8.  export LD_LIBRARY_PATH=/halflife/hlds_l:$LD_LIBRARY_PATH
9.  ./hlds_run -game dod +exec server.cfg +ip +port 27050 +maxplayers 16 +map dod_omaha
10. CTRL a + d (detached)

11. cd /usr/local/games/halflife/hlds_l
12. screen
13. export LD_LIBRARY_PATH=/halflife/hlds_l:$LD_LIBRARY_PATH
14. ./hlds_run -game flf +exec server.cfg +ip +port 27065 +maxplayers 16 +map flf_bier
15. CTRL a + d (detached)

At this point you have 3 servers running under screen and all running a different mod.

The first server is running Counter-Strike, the second is running Day of Defeat and the third is running Frontline Force.

You can finetune your motd.txt (welcome text when entering the server) and your server.cfg in your cstrike, dod or flf directory, using vi or pico.

If you have any problem with setting up such a server you can contact me using the  forum.