0

I would like to make a Bukkit plugin using Java. In this plugin I would like to get a response from PHP file, key.php?nick=gameplayer&code=key.

If $_GET['code'] is Ok, then server response should be 1, else it is 0.

How could I accomplish this?

1 Answer 1

1

You might find help here, How to write a Java Desktop App that interacts with my website's API, though it isn't Bukkit specific. Still Java, should still be help. ;) If not, I would look into converting the code from your PHP to Java, there isn't much difference in what the two can do, especially with people being able to make their own APIs you could install to your plugin and use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.