Server owners were seeing people evading bans by abusing Steam Family sharing. We've now exposed Connection.OwnerSteamId which is the SteamId of whoever owns the game.
This works the same as in Garry's Mod, you can reject people based on who owns the copy of the game:
public override bool AcceptConnection( Connection connection, ref string reason )
{
// Check both the connecting SteamId and the owner SteamId (family sharing)
// OwnerSteamId is the account that actually owns the game license.
// If banned via family share, the owner's ID will differ from the player's.
if ( IsBanned( connection.SteamId ) )
{
reason = "You are banned from this server.";
return false;
}
// This check alone would be enough, but for the sake of the example
if ( IsBanned( connection.OwnerSteamId ) )
{
reason = "The owner of your shared game license is banned from this server.";
return false;
}
return true;
}
🔥 On behalf of the entire Russian community, I’d also like to express our gratitude for the changes that will allow us to play without a VPN.
P.S. Based first patch ngl
LETS GO
lets goo