A simple HTTP server listening to POST requests

Discussion in 'Plugin Requests' started by Capyryan, Feb 5, 2020.

Thread Status:
Not open for further replies.
  1. I think this shouldn't be hard to implement. I want a plugin that would listen on a port specified in a config file for POST requests containing this data: {"password":"some password", "command":"some command"}. If the password matches with the password set in the config file, the command gets executed on the mc server, and (optionally, if possible) the HTTP server sends a POST request, to the IP it received the request from, with data: {"response":the_response, "returned":the_data}. the_reponse = "success" if the command executed succesfully, and "error" if the server returned an error. the_data = <the data returned by the command, if none it's empty> if the_response == "success", and <the error message> if the_response == "error".
     
  2. Offline

    Xp10d3

    Are you looking or something that uses MySQL databases?
     
Thread Status:
Not open for further replies.

Share This Page