Raised This Month: $51 Target: $400
 12% 

Solved [CSGO] How can I start my server remotely?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ryan2
Senior Member
Join Date: Jul 2020
Old 09-18-2021 , 19:12   [CSGO] How can I start my server remotely?
Reply With Quote #1

I have a server on Linux (LinuxGSM) and I want to be able to start without without going through terminal. Is there a way I can launch the server remotely? I don't want to use a full webpanel just a script that can do this task for me if possible.

Does anyone know if one?

Last edited by Ryan2; 09-30-2021 at 17:06.
Ryan2 is offline
vijayar
Senior Member
Join Date: Sep 2020
Old 09-20-2021 , 13:24   Re: [CSGO] How can I start my server remotely?
Reply With Quote #2

Quote:
Originally Posted by Ryan2 View Post
I have a server on Linux (LinuxGSM) and I want to be able to start without without going through terminal. Is there a way I can launch the server remotely? I don't want to use a full webpanel just a script that can do this task for me if possible.

Does anyone know if one?
Curious to know why & when do you switch off the server and if you want to do that also remotely.

This is not a direct "remote" method, but it should address your requirement. Set up a cronjob to start and stop the server at whatever time you want. Use this page from LGSM as a reference - https://docs.linuxgsm.com/configuration/cronjobs

Last edited by vijayar; 09-20-2021 at 13:24.
vijayar is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 09-21-2021 , 00:52   Re: [CSGO] How can I start my server remotely?
Reply With Quote #3

Quote:
Originally Posted by vijayar View Post
Curious to know why & when do you switch off the server and if you want to do that also remotely.

This is not a direct "remote" method, but it should address your requirement. Set up a cronjob to start and stop the server at whatever time you want. Use this page from LGSM as a reference - https://docs.linuxgsm.com/configuration/cronjobs
Thanks for the link, it will come in handy.

Unfortunately what I need it quite different. The Linux server will always be running (obviously) but the CSGO server will not be. I want to make it so a player can select a map and basically launch the server at the click of a button on my website. Of course this can be done with sending a command to execute on Linux but I was looking to see if there is something like this already created.
Ryan2 is offline
Sarrus
Member
Join Date: May 2020
Location: France
Old 09-21-2021 , 08:39   Re: [CSGO] How can I start my server remotely?
Reply With Quote #4

Here is my Django View to control my servers:
https://github.com/Sarrus1/Tensor/bl...s/views.py#L26
You could implement this with a Python script.
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 09-21-2021 , 11:35   Re: [CSGO] How can I start my server remotely?
Reply With Quote #5

Quote:
Originally Posted by Sarrus View Post
Here is my Django View to control my servers:
https://github.com/Sarrus1/Tensor/bl...s/views.py#L26
You could implement this with a Python script.
Thank you! I will give this to my dev and see if he can implement to do exactly what I need.
Ryan2 is offline
Sarrus
Member
Join Date: May 2020
Location: France
Old 09-22-2021 , 04:05   Re: [CSGO] How can I start my server remotely?
Reply With Quote #6

If needed, I'd be willing to do paid work to implement this.
You can contact me on Discord
Sarrus#9090
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 09-25-2021 , 15:06   Re: [CSGO] How can I start my server remotely?
Reply With Quote #7

Quote:
Originally Posted by Sarrus View Post
If needed, I'd be willing to do paid work to implement this.
You can contact me on Discord
Sarrus#9090
Does this require my csgo server to run as a webserver?
Ryan2 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode