AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Auto Server Shutdown When No Valve Connection (https://forums.alliedmods.net/showthread.php?t=334311)

canadianjeff 09-14-2021 19:46

Auto Server Shutdown When No Valve Connection
 
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

DarkDeviL 09-15-2021 14:33

Re: Auto Server Shutdown When No Valve Connection
 
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 (Post 2757783)
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.


All times are GMT -4. The time now is 00:23.

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