Jump to content


Setup CS 1.6 with Webmin Control Panel

  • Please log in to reply
2 replies to this topic

#1 Khevin


    Advanced Member

  • Members
  • PipPipPip
  • 235 posts
  • LocationMauritius

Posted 05 August 2014 - 05:10 PM

Original Thread By Talha,


Setup CS 1.6 with webmin
Create a new script on cs directory and type

nano start.sh
screen -A -m -d -S hlds ./hlds_run -game cstrike +ip your.ip +port 27015 +maxplayers 12 +map de_dust2
echo "Server Started Successfully"

Press Ctrl+X and then Y to save

chmod +x start.sh

Now create Stop Script
nano stop.sh
screen -r hlds -X stop
echo "Server Stopped"

Press Ctrl+X and then Y to save

chmod +x stop.sh

Now create restart script
nano restart.sh
screen -r hlds -X stop
screen -A -m -d -S hlds ./hlds_run -game cstrike +ip your.ip +port 27015 +maxplayers 12 +map de_dust2

Press Ctrl+X and then Y to save

chmod +x restart.sh

Now Login to webmin and goto
Others -> Custom commands 677454ae270750cf472259ba5c807a83.png
Click Create new custom commandd6a1b6b53deb821895f8f1ae4d829c9e.png

Now type Start on Discriptions
Leave html discriptions
type ./start.sh on command
Change run in directory to your cs directory e.g /root/SteamCMD/cs
Run as user -> yourusername and tick Use user's environment?
Now click on the save

Do the same for the stop script and restart script
Just change command with scipt name
e.g for stop ./stop.sh
for restart ./restart.sh

Now goto Webmin - > Configuration -> Webmin Modules
click on the Clone use the follow setting on the screen shot 0d02554b29d5940a67f64295102d167d.png
And click Clone Module

Now Goto Webmin -> Users -> Create a new Webmin User
Enter your username and password the click Avalible webmin modules and tick on Counter Strike 1.6 Server95e56bc277155381ae149212a7608639.pngthen save

Now login again with the user you have created and click on Counter Strike 1.6 Server..ab7472aeb4c696b585fdfead6322a035.png
All done...
  • MrARM likes this

Undefined/Khevin | Haphost Support Administrator

Grab Your Free VPS And Web Hosting Here!

Follow Us On Facebook Twitter Google+ LinkedIn Youtube

#2 user848



  • Members
  • Pip
  • 3 posts

Posted 26 December 2014 - 08:37 PM

screen -r hlds -X stop



doesn't work



screen -r hlds -X quit


#3 Arctic


    Haphost Staff

  • Moderators
  • 341 posts
  • LocationGermany

Posted 10 March 2015 - 04:41 PM

doesn't work



screen -r hlds -X quit


then they have done something wrong just continue looking in the file the stop commands go all properly.

any support PM's be Ignored please use the Support section for it



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users