QUOTE: Custom Playerdata XHR Plugin

Status
This thread has been locked.

AltGr

Software Engineer
Premium
Feedback score
0
Posts
304
Reactions
183
Resources
0
Due to not having time and also not having a lot of experience in up to date plugin development I would like a quick quote on this.

Basically a custom plugin which sends all data such as players usernames, possibly their money from Vault, their kills, deaths, etc. to an API on my site via a private key.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Nagi

PM Only - No Skype
Supreme
Feedback score
12
Posts
535
Reactions
679
Resources
0
If this is from a database, I might be able to try to do it for free.
 

AltGr

Software Engineer
Premium
Feedback score
0
Posts
304
Reactions
183
Resources
0
If this is from a database, I might be able to try to do it for free.
This would be sending data via XHR to my server, read up on XHR; it's not too tricky. Willing to pay.[DOUBLEPOST=1453155057,1453154571][/DOUBLEPOST]Sorry, perhaps XHR isn't the right word. I will explain

I want it so that the plugin, every so often, will send player data that it had gathered to my website.

My website will have a page which will catch requests for example savedata.php?key=[privatekey]&uuid=[uuid]&kills=[kills] where the bracketed variable corresponds to the actual value on the server.

Know what I mean? Kind of the way Buycraft can get data from your server, but this is not a shop. Get me?[DOUBLEPOST=1453156733][/DOUBLEPOST]http://stackoverflow.com/questions/30279317/sending-data-from-java-to-php-file For reference
 

Nagi

PM Only - No Skype
Supreme
Feedback score
12
Posts
535
Reactions
679
Resources
0
This would be sending data via XHR to my server, read up on XHR; it's not too tricky. Willing to pay.[DOUBLEPOST=1453155057,1453154571][/DOUBLEPOST]Sorry, perhaps XHR isn't the right word. I will explain

I want it so that the plugin, every so often, will send player data that it had gathered to my website.

My website will have a page which will catch requests for example savedata.php?key=[privatekey]&uuid=[uuid]&kills=[kills] where the bracketed variable corresponds to the actual value on the server.

Know what I mean? Kind of the way Buycraft can get data from your server, but this is not a shop. Get me?[DOUBLEPOST=1453156733][/DOUBLEPOST]http://stackoverflow.com/questions/30279317/sending-data-from-java-to-php-file For reference
No no no, I know how to do all that. I just need you to explain to me how the data is retrieved, not sent. Ex: Plugin's Data File, etc...
 

AltGr

Software Engineer
Premium
Feedback score
0
Posts
304
Reactions
183
Resources
0
No no no, I know how to do all that. I just need you to explain to me how the data is retrieved, not sent. Ex: Plugin's Data File, etc...

No data will be sent to the server. Data will be sent to my website just from posting data, as I said above, I will have a page ready to catch data which will return true/falsey whether it was successful or not.
 

Nagi

PM Only - No Skype
Supreme
Feedback score
12
Posts
535
Reactions
679
Resources
0
No data will be sent to the server. Data will be sent to my website just from posting data, as I said above, I will have a page ready to catch data which will return true/falsey whether it was successful or not.
Give me an example of when the data will be sent. Example: VIA A COMMAND - /senddata [playername] KILLS 10
 
Status
This thread has been locked.
Top