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

Auto Server Shutdown When No Valve Connection


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
canadianjeff
BANNED
Join Date: Sep 2016
Old 09-14-2021 , 19:46   Auto Server Shutdown When No Valve Connection
#1

every patch tuesday the connection to valve servers goes down got me thinking if a plugin and/or extension could be made to auto kick everyone and/or auto shutdown the server to prevent potential hijacking of the servers from unauthorized players I already have a plugin in place that if steam is down and someone joins the server they are kicked with the following

Code:
Could not establish connection to Steam servers.

sm plugins list
[SM] Listing 97 plugins:
  01 "Anti-Flood" (1.11.0.6700) by AlliedModders LLC
  02 "Client Preferences" (1.11.0.6700) by AlliedModders LLC
  03 "[ANY] Dev Cmds" (1.19) by SilverShot
  04 "Fun Commands" (1.11.0.6700) by AlliedModders LLC
  05 "[ANY] Command Logger" (06.27.2021) by linux_canadajeff, Dustin

Client "JeffTest" connected (216.XXX.XXX.XXX:27005).
Dropped JeffTest from server (Your Client Did Not Auth With Steam, Please Try Again!)
my plugin 05 is doing this kicking of people that connect but not people who are already on the server

Last edited by asherkin; 03-07-2022 at 03:59. Reason: Restore to previous version.
canadianjeff is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 09-15-2021 , 14:33   Re: Auto Server Shutdown When No Valve Connection
#2

As this is related to the search for plugins/extensions, I have moved your thread to Plugin/Gameplay Ideas and Requests, and fixed your title (Value->Valve).

Quote:
Originally Posted by canadianjeff View Post
every patch tuesday the connection to valve servers goes down got me thinking if a plugin and/or extension could be made to auto kick everyone and/or auto shutdown the server to prevent potential hijacking of the servers from unauthorized players I already have a plugin in place that if steam is down and someone joins the server they are kicked with the following

Code:
Could not establish connection to Steam servers.

sm plugins list
[SM] Listing 97 plugins:
  01 "Anti-Flood" (1.11.0.6700) by AlliedModders LLC
  02 "Client Preferences" (1.11.0.6700) by AlliedModders LLC
  03 "[ANY] Dev Cmds" (1.19) by SilverShot
  04 "Fun Commands" (1.11.0.6700) by AlliedModders LLC
  05 "[ANY] Command Logger" (06.27.2021) by linux_canadajeff, Dustin

Client "JeffTest" connected (216.XXX.XXX.XXX:27005).
Dropped JeffTest from server (Your Client Did Not Auth With Steam, Please Try Again!)
my plugin 05 is doing this kicking of people that connect but not people who are already on the server
People connected before, while your connection to Steam was still operational, has already been authenticated.

They will remain authenticated for as long as they stay on the server, and won't be de-authenticated when your connection to the Steam network is lost.

So why you would ruin the experience of your community for those players already authenticated? That doesn't make sense.


So in the end, what you are already doing is the option that you have.

On the other hand, you could extend your plugin, so if it had kicked like e.g. more than 3 players within the past 30 seconds, it would execute "quit", or something similar.

I see no reasons for that though, as there are no reasons to destroy the user experience for the already authenticated users.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 09-15-2021 at 14:35.
DarkDeviL is offline
Closed Thread


Thread Tools
Display Modes

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 14:38.


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