Garry's Mod

Start.bat 'server starter' [GMOD]

Submitted by Tahoura, , Thread ID: 133711

Thread Closed
12-06-2019, 10:42 PM
This post was last modified: 15-06-2019, 04:27 PM by Tahoura
#1

Steps to run your gmod server correctly :


1-Create Start.txt
2- Open &Edit Start.txt (Using bloc-note, I prefer usingnotepad++)
3- Copy & Paste the following:
@echo off

cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +gamemode sandbox +map gm_construct +maxplayers 12
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds

Customize the orange section as you want,you can add more stuff but I keptit simple <3

4- Save Start.txt as .bat file (Batch file)
5- Launch your server with the Start.bat,ENJOY!
Note : If you have Linux,check this linux-forum about running bat files in linux:Click me


HOPE THIS HELPS! :peace:

RE: Start.bat 'server starter' [GMOD]

#2
Thanks was looking for something like this! Very helpfull +rep

RE: Start.bat 'server starter' [GMOD]

OP
#3
15-06-2019, 10:47 AM
PhysiOS Wrote:
Good guide but how do you do it in linux I cannot run start.bat

Thanks for the reply,check this linux-forum about running bat files in linux:Click me

RE: Start.bat 'server starter' [GMOD]

#4
14-06-2019, 02:42 PM
bedvb Wrote:
Thanks was looking for something like this! Very helpfull +rep

Yes, true.
The Tutorial for Linux is missing.

Users browsing this thread: 2 Guest(s)