• Our Minecraft servers are offline but we will keep this forum online for any community communication. Site permissions for posting could change at a later date but will remain online.

PHP Stats api?

deathtone777

Spectator
Joined
Jan 15, 2013
Messages
18
Reaction score
0
I was wondering if you would be willing to add a stats api for php, i'd really love to make my own custom stat signatures or stat commands for IRC.
 

ChadTheDJ

Administrator
Staff member
Joined
Apr 15, 2012
Messages
2,698
Reaction score
13,917
Unsure if we want our SQL server open up for any outside calls, but we can consider it.
 

BlueMoonP

Experienced
Joined
Feb 4, 2013
Messages
133
Reaction score
263
As far as I'm aware you wouldn't have to open your SQL server for an API. Just have a page api.mcsg.in, where you can request data with the GET data or something, like api.mcsg.in/?player=BlueMoonP&wins=1&games=1 , which would print my wins and games in JSON on the page or something.
 

ChadTheDJ

Administrator
Staff member
Joined
Apr 15, 2012
Messages
2,698
Reaction score
13,917
We already do have a page for that, just IP locked. Again interesting ideas and I will ask the dev team if there is a way to safely add this. It's not the read only access I am worried about as that is what we been doing already.
 

Members online

No members online now.

Forum statistics

Threads
242,192
Messages
2,449,550
Members
523,972
Latest member
Atasci