Add support for enabling/disabling cheats
This commit is contained in:
parent
30fb7aa77d
commit
af5c45a01e
5 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,7 @@ fi
|
|||
# Rewrite Config Files
|
||||
|
||||
sed -i -e "s/{{SERVER_HOSTNAME}}/${CS2_SERVERNAME}/g" \
|
||||
-e "s/{{SERVER_CHEATS}}/${CS2_CHEATS}/g" \
|
||||
-e "s/{{SERVER_PW}}/${CS2_PW}/g" \
|
||||
-e "s/{{SERVER_RCON_PW}}/${CS2_RCONPW}/g" \
|
||||
-e "s/{{TV_ENABLE}}/${TV_ENABLE}/g" \
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Server Defaults
|
||||
|
||||
hostname "{{SERVER_HOSTNAME}}" // Set server hostname
|
||||
sv_cheats {{SERVER_CHEATS}} // Enable or disable cheats
|
||||
|
||||
// Passwords
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue