Solved Bukkit interaction with a website.

Discussion in 'Bukkit Help' started by srspore, May 25, 2016.

Thread Status:
Not open for further replies.
  1. Offline


    How do plugins that interact with websites, like buycraft, work? I'm interested in making my plugins interface with websites, but I don't even know where to begin. Does anyone know of a tutorial for that sort of thing, or could anyone explain how it works and give an introduction about how to set it up? Thank you!
  2. I suggest you look at a Java tutorial here. This wouldn't be something from the Bukkit API. Plugins likely accomplish this through Java's method of sending and returning data to a server.

    Note: You'll probably need a lot of time to understand how this works and some website knowledge beforehand
  3. Offline


    Is there a specific tutorial you recommend, or should I search around on google? If the latter is the case, what should I search for? Thank you!
  4. Offline

    I Al Istannen

    Some webservices query data from a MySQL database. This way you don't need to communicate with a server, but just with a DataBase on both ends.

    If you want to communicate with a server, searching for "java client server communication" could be a good start. Like this tutorial from Oracle.

    Maybe there are some other ways, but this is the standard approach, as far as I can tell (not very far... :p).
    mfunGamer likes this.
  5. Offline


    You can try to work with MySQL. This may be another language you have to 'learn', but it is not too hard and a basic understanding is enough to work with it. Java can easily submit data to and read from an sql database and websites can aswell. So you can just run a check on both ends now and then and check if the data has changed or just do it once the data is needed and grab it from the database then.
Thread Status:
Not open for further replies.

Share This Page