SRCDS Steam group

nice way to stop server via .sh file
Currently I have a .sh file that I run to stop and restart the game server.

I simply run the game server using screen and in the .sh file I have:

# Destroy the current screen that the game server uses
screen -r cs -X quit

# Load screen cs with the game server
screen -dmS cs ./hlds_run -console -game cstrike +maxplayers 10 +map cs_assault +ip +port 27015

I was just wondering rather than just shutting down the screen session I could quit the server like when you type quit in the console or type rcon quit in the game console.
Then quit the screen session as the game server has been stopped.

Or is there really no need to quite it first and that just destoying the game server has no bad effect what so ever?


Forum Jump:

Users browsing this thread: 1 Guest(s)