I'd like to reopen a old topic because I'm not fully understanding, sorry.
Yes, that would work. You can either create a plugin which sends the messages and shuts the server down, or alternatively you can just send input commands to the server process (e.g. "shutdown" to shutdown the server, or "say" or "yell" to send a message to all players). In case you create a script to handle the restart, the input commands may be handier (so there is no need to use the plugin API at all)
Firstly, I am not at all concerned about the restarting the server. I have a solution for relaunching after a shutdown.
Secondly, I know this can be done with API.
and lastly, yes I know this can be done manually, but I'm asking for purposes of automation, without using the API.
So, my question is only about rcon and ways to communicate those commands.
Specifically this part:
In case you create a script to handle the restart, the input commands may be handier (so there is no need to use the plugin API at all) :)
So far I can successfully connect via http webrequest on rcon port but I don't know if there are any commands I can send via a hyperlink?
Example of what I tried http://localhost:rconport/run?command=shutdown
Alternatively there is the 'rcon.exe application, do these executable rcon applications support any input paramers?
Example of what I tried start rcon.exe -shutdown
If there is a way to script commands directly to the server console that works too!
@red51 sorry to tag you. I've asked many people, but this information has been hard for me to verify, could you elaborate on which methods work or don't please and thanks