Web to Server Connections

Discussion in 'Plugin Development' started by waco001, Dec 9, 2012.

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

    waco001

    Hi guys, I'm now asking about any help to connect to a webpage. Something like this would be like spacebukkit or mcmyadmin. Say if I wanted to reload all the plugin from the website, i would press a button and somehow use PHP to reload the plugins... I know this is a complicated task, but I just want to know how this works. Thx. If there is a tutorial or anything, could you link to it? =)
     
  2. Offline

    Milkywayz

    Eh, Doing a /reload is a bad idea, restarting is by far the way to go.
    Also PHP isn't exactly the best language, but It works for what you need I suppose.
    That aside, you'd need a plugin to listen for connections, verify, then execute your command.
    I believe http://dev.bukkit.org/server-mods/phpsend/ is what your looking for.
     
  3. Offline

    waco001

    I wasn't actually gonn a turn it into a plugin, I just wanted to know how to communicate with a web server and do certain things just for my own knowledge... but thanks

    phpsend is really neat although, is it possible use my plugin to connect to the webserver so I could make it do what I wanted? Thx

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  4. Offline

    Lolmewn

    Probably is, just hook into it.
     
  5. Offline

    tommycake50

    try a socket
    an urlconnection
    or a httpurlconnection
     
Thread Status:
Not open for further replies.

Share This Page