Noob here,
Read through all the docs and have a nquake server running on a Linux VPS with one game server.
Everything works fine, Can connect, play, etc.
What I would like to do now is get a bash script to be executed every time a match has ended / server loads a new map.
The idea is that the script pings a telegram bot I have made and sends end of match details to all of the bot's subscribers.
The script works fine I'm i manually execute it server side, however I am having a hard time trying to figure out how to get it to run when a match ends.
I've tried to exec the script from the server.cfg & reset.cfg scripts that sit in the ktx folder serverside.
However I am unsure if:
A) You can even exec a bash script from a .cfg file
B) That the server.cfg & reset.cfg files are called when the server is re-loaded on match end
Sorry if this is the wrong place to post this, any insight is appreciated!
Read through all the docs and have a nquake server running on a Linux VPS with one game server.
Everything works fine, Can connect, play, etc.
What I would like to do now is get a bash script to be executed every time a match has ended / server loads a new map.
The idea is that the script pings a telegram bot I have made and sends end of match details to all of the bot's subscribers.
The script works fine I'm i manually execute it server side, however I am having a hard time trying to figure out how to get it to run when a match ends.
I've tried to exec the script from the server.cfg & reset.cfg scripts that sit in the ktx folder serverside.
However I am unsure if:
A) You can even exec a bash script from a .cfg file
B) That the server.cfg & reset.cfg files are called when the server is re-loaded on match end
Sorry if this is the wrong place to post this, any insight is appreciated!