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

[TF2][JSON] FetchGData (v1.2.5 3-30-2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Plugin ID:
5573
Plugin Version:
1.2.5
Plugin Category:
Technical/Development
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    An engine-independent web server that returns multidimensional JSON encoded arrays of basic game information. The limit is only your imagination
    Old 03-26-2017 , 00:16   [TF2][JSON] FetchGData (v1.2.5 3-30-2017)
    Reply With Quote #1

    FetchGData

    An engine-independent web server that returns multidimensional JSON encoded arrays of basic game information. The limit is only your imagination.

    Endpoints
    • /
    • /players
    • /extensive

    Usage
    1. Visit ServerIP:Port/FetchGData in your browser
    2. Append any endpoints to the end of that URL

    Prerequisite

    Example Outputs

    /

    PHP Code:
    {
        
    "info": {
            
    "description""Team Fortress",
            
    "ip""208.167.243.91",
            
    "map""tfdb_greybox",
            
    "maxplayers"20,
            
    "players"2,
            
    "vac"true
        
    },
        
    "players": {
            
    "76561198114606863""Fishy | MaxDB.NET"
        
    },
        
    "scores": {
            
    "blue"2,
            
    "red"0
        
    },
        
    "teams": {
            
    "blue": {},
            
    "red": {},
            
    "spectator": {},
            
    "unassigned": {
                
    "76561198114606863""Fishy | MaxDB.NET"
            
    }
        }

    /players

    PHP Code:
    {"76561198114606863":"Fishy | MaxDB.NET"
    /extensive

    PHP Code:
    {
        
    "info": {
            
    "description""Team Fortress",
            
    "ip""208.167.243.91",
            
    "map""tfdb_blucourt_intox",
            
    "maxplayers"20,
            
    "players"2,
            
    "vac"true
        
    },
        
    "players": {
            
    "76561198114606863""Fishy | MaxDB.NET"
        
    },
        
    "scores": {
            
    "blue"0,
            
    "red"0
        
    },
        
    "teams": {
            
    "blue": {},
            
    "red": {},
            
    "spectator": {
                
    "76561198114606863": {
                    
    "2LC_Country""US",
                    
    "3LC_Country""USA",
                    
    "Full_Country""United States",
                    
    "damage"0,
                    
    "deaths"0,
                    
    "dominations"0,
                    
    "f2p"false,
                    
    "frags"0,
                    
    "latency"0.041514847427606583,
                    
    "name""Fishy | MaxDB.NET",
                    
    "streaks"0,
                    
    "time"149.23020935058594
                
    }
            },
            
    "unassigned": {}
        }

    Plans & Bugs

    Issue tracker

    Changelog

    Commits

    Download

    Download the latest version from the release page.

    Source

    You can view the source here.

    License

    GPL-3.0

    Last edited by RumbleFrog; 08-11-2017 at 23:49. Reason: License
    RumbleFrog is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 03-27-2017 , 15:01   Re: [TF2][JSON] FetchGData (v1.1.4 3-27-2017)
    Reply With Quote #2

    UPDATE: Version 1.1.4 (3-27-2017)
    • Added extensive team and player data fetching
    • Changed JSON padding from 4 to 0
    • Public version convar
    RumbleFrog is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 03-27-2017 , 15:28   Re: [TF2][JSON] FetchGData (v1.1.4 3-27-2017)
    Reply With Quote #3

    Hey ! Thanks cool !

    EDIT: I just found a use for that !
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 03-27-2017 at 15:28.
    Arkarr is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 03-27-2017 , 17:06   Re: [TF2][JSON] FetchGData (v1.1.4 3-27-2017)
    Reply With Quote #4

    Quote:
    Originally Posted by Arkarr View Post
    Hey ! Thanks cool !

    EDIT: I just found a use for that !
    Indeed, only thing limited is your imagination.

    Here's what I'm using it for:

    Spoiler

    Last edited by RumbleFrog; 04-11-2017 at 18:37. Reason: v1.2.5
    RumbleFrog is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 03-27-2017 , 20:14   Re: [TF2][JSON] FetchGData (v1.2.0 3-27-2017)
    Reply With Quote #5

    UPDATE: Version 1.2.0 (3-27-2017)
    • Plugin now requires Webcon extension
    • The plugin is now web based, hosted on RCON port accessible through your browser thanks to Webcon
    • Fixed #1
    RumbleFrog is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 03-28-2017 , 05:00   Re: [TF2][JSON] FetchGData (v1.2.0 3-27-2017)
    Reply With Quote #6

    Not sure if it's related to your plugin, but I can't access the data through the public IP.
    http://192.168.23.1:27015/FetchGData/extensive
    work but
    http://XXX.XXX.XXX.X:27015/FetchGData/extensive
    Doesn't.
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 03-28-2017 at 05:01.
    Arkarr is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 03-28-2017 , 06:16   Re: [TF2][JSON] FetchGData (v1.2.0 3-27-2017)
    Reply With Quote #7

    Quote:
    Originally Posted by Arkarr View Post
    Not sure if it's related to your plugin, but I can't access the data through the public IP.
    http://192.168.23.1:27015/FetchGData/extensive
    work but
    http://XXX.XXX.XXX.X:27015/FetchGData/extensive
    Doesn't.
    Is that port forwarded? Webcon handles the connections.
    RumbleFrog is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 03-28-2017 , 18:35   Re: [TF2][JSON] FetchGData (v1.2.1 3-28-2017)
    Reply With Quote #8

    UPDATE: Version 1.2.1 (3-28-2017)
    • General
      • Sorted Index
    • Index
      • Added VAC Status (Requires SteamTools)
    • Extensive
      • F2P Status (Requires SteamTools)
      • Added VAC Status (Requires SteamTools)
      • Country Codes (2LC, 3LC, and Full)
      • Time connected (In Seconds)
      • Deaths
      • Damage Dealt

    RumbleFrog is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 03-29-2017 , 08:39   Re: [TF2][JSON] FetchGData (v1.2.3 3-29-2017)
    Reply With Quote #9

    Quote:
    Originally Posted by RumbleFrog View Post
    The limit is only your imagination.
    And also the "16384" char limit.
    Mitchell is offline
    RumbleFrog
    Great Tester of Whatever
    Join Date: Dec 2016
    Location: Fish Tank
    Old 03-29-2017 , 13:32   Re: [TF2][JSON] FetchGData (v1.2.3 3-29-2017)
    Reply With Quote #10

    Quote:
    Originally Posted by Mitchell View Post
    And also the "16384" char limit.
    Not sure if a full tf2 server will exceed that. I gotta do some testing
    RumbleFrog 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 16:31.


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