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

Solved [ANY] Kick or Ban based on Steam Account Creation Date


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-21-2021 , 20:54   [ANY] Kick or Ban based on Steam Account Creation Date
Reply With Quote #1

I would like someone to make a plugin that will kick or ban players based solely on when the players steam account was created (profile created date). The creation date should be editable by the serve operator.

For example, if I input a date of 05 June 2021 then anyone who joins the server with a steam account creation date of 05 June or later would be kicked or banned.

My thought is that maybe this will stop people who instantly create alternate steam accounts and rejoin the server after being banned. I've been banning by userid and IP range but they keep coming back with alt accounts to bypass userid check and VPN to bypass IP address check. I've noticed that all of the alt accounts were created same day as the ban.

Any help with a plugin or code snippets would be appreciated.

Last edited by PC Gamer; 06-24-2021 at 17:10.
PC Gamer is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 06-22-2021 , 04:19   Re: [ANY] Kick or Ban based on Steam Account Creation Date
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=330779

Functionality is in the plugin above but here's the method:

Code:
GET https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/?key=<apikey>&steamids=<steamid64>
Then just use JSON to get the value for timecreated and you can use that.
Drixevel is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-24-2021 , 17:10   Re: [ANY] Kick or Ban based on Steam Account Creation Date
Reply With Quote #3

Thanks Dixevel. That was very helpful!
PC Gamer 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 08:44.


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