[DiscordArchive] any one knows that is that possible to use shell script to run game server command like `.gps xyz ..
[DiscordArchive] any one knows that is that possible to use shell script to run game server command like `.gps xyz ..
Archived author: birdnest • Posted: 2023-05-06T19:22:05.014000+00:00
Original source
any one knows that is that possible to use shell script to run game server command like `.gps xyz ...`, `.account list` ?
Archived author: Roboto • Posted: 2023-05-06T19:45:38.933000+00:00
Original source
I guess you can use telnet or SOAP as described here <https://www.azerothcore.org/wiki/remote-access> or maybe write to stdin directly
Archived author: birdnest • Posted: 2023-05-06T19:49:41.695000+00:00
Original source
Thank you <@175631911450836993> I deploy my server on AWS EC2 with security group, fire wall and IAM role. Also the command is sent via AWS SSM remote command, so it is all encrypted on the fly. If I am on my game server VM terminal, what would be the recommended way? I am looking for something like writing a Python shell script.
Archived author: birdnest • Posted: 2023-05-06T19:51:14.363000+00:00
Original source
Looks like telnet is also a interactive shell interface, but I am looking for something like shell script, any clue?
Archived author: Roboto • Posted: 2023-05-06T19:51:23.364000+00:00
Original source
I'm sure there are plenty of python libraries for SOAP
Archived author: birdnest • Posted: 2023-05-06T19:52:37.174000+00:00
Original source
I see. so it is like run a telnet proxy service on server local machine, and use Python to submit http request to localhost via SOAP protocol including the command. Am I right? BTW Thank you again roboto
Archived author: Roboto • Posted: 2023-05-06T19:54:01.143000+00:00
Original source
I don't think you'd need telnet, unless that's something specific to your setup. SOAP alone is sufficient
Archived author: birdnest • Posted: 2023-05-06T19:56:39.940000+00:00
Original source
Got it, I just figured out. I guess this is how people setup the registration website. So they basically create a login, then automatically send a command via soup from their internal API server. Thank you very much, this is super helpful!
Archived author: Roboto • Posted: 2023-05-06T19:56:48.734000+00:00
Original source
Correct