make a new file named xxx.cfg ( xxx = which name you want. )
put this in your hltv folder & just run it in screen. like ./xxx.cfg
this here is an example which i use :
PHP Code:
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
./hltv -ip 78.143.57.139 -port 1338 +connect 78.143.57.139:1337 +serverpassword XXXXX +maxclients 255 +autorecord 1
name "Hardstyle-eSports | HLTV"
hostname "Hardstyle-eSports | HLTV"
offlinetext "Sorry, game is delayed. Please try again later."
delay 120.0
maxrate 10000
chatmode 1
record auto 1
autorecord 1
adminpassword "XXXXX"
loopcmd 1 180 localmsg "hardstyle-esports.de" 8 -1 0.85 FFA000FF
loopcmd 2 180 localmsg "www.hardstyle-esports.de" 8 -1 0.82 FFFFFFFF
loopcmd 3 180 localmsg "Community @ www.hardstyle-esports.de/forum/" 8 -1 0.79 FF0000FF
loopcmd 4 60 localmsg "HLTV by www.hardstyle-esports.de" 61 1 1 FFFFFFFF
maxclients 255
hltvdemo1234
nomaster 1
exit 0
-ip = the ip on which your hltv should be runned
-port = the port of hltv
+connect = the ip & port of your server ( game not hltv )
+serverpassword = Server password ( game not hltv )
+maxclients = slots of hltv
*** You can use all files which you like. like xxx.sh or just xxx or xxx.exe oO
__________________