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

Req Game Hours Check


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alphaearth
Senior Member
Join Date: Feb 2018
Location: Turkey
Old 03-10-2019 , 21:24   Req Game Hours Check
Reply With Quote #1

http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key={key}&appids_filter[0]={game}&steamid={steamid}&format=json

http://api.steampowered.com/ISteamUser/GetFriendList/v0001/?key={key}&steamid={steamid}&relationship=fri end&format=json

can you have the player's game hours checked using this link? get the setting for the player's hours. Sample; If the player has less than 200 hours of game time, he / she cannot login to the server.

Other game hours control plugins are not working. https://forums.alliedmods.net/showthread.php?p=2559316 You can improve the plugin in the link.
__________________
alphaearth is offline
iskenderkebab33
Senior Member
Join Date: Jun 2018
Old 03-11-2019 , 04:46   Re: Req Game Hours Check
Reply With Quote #2

with this,

http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key={key}&appids_filter[0]={game}&steamid={steamid}&format=json

you can get hes played time in minutes.
example response:
{"response":{"game_count":1,"games":[{"appid":730,"playtime_2weeks":1000,"playtime _forever":200000}]}}

playtime_2weeks: 1000 ~17 hours
playtime_forever: 200000 ~ 3333 hours

Last edited by iskenderkebab33; 03-11-2019 at 04:49.
iskenderkebab33 is offline
gulverene
Senior Member
Join Date: Nov 2008
Location: Türkiye
Old 03-11-2019 , 17:07   Re: Req Game Hours Check
Reply With Quote #3

Is there improvement?
__________________
My SeRVeR
gulverene is offline
Send a message via Skype™ to gulverene
Alexunder
Member
Join Date: Jun 2018
Old 03-12-2019 , 21:07   Re: Req Game Hours Check
Reply With Quote #4

best idea , i want this plugin (by by new acc hacker)
Alexunder is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 03-13-2019 , 15:36   Re: Req Game Hours Check
Reply With Quote #5

Quote:
Originally Posted by Alexunder View Post
best idea , i want this plugin (by by new acc hacker)
yeah, we need for block new acc hackers (
Dr.Mohammad is offline
Reply


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 03:17.


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