Connection between Website and Server

Discussion in 'Plugin Development' started by mrgreen33gamer, Dec 6, 2014.

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

    mrgreen33gamer

    Hello,

    I was just wondering, if there was a way to connect a Website to a Console/Server. If so, how could I code this or where would I find the information from. I am trying to make a custom way to buy ranks on my website.

    ~mrgreen33gamer, thanks!
     
    Cs Riya Khurana likes this.
  2. Offline

    Skionz

    mrgreen33gamer I would look into sockets. I am pretty sure you can use them with PHP too.
     
  3. Offline

    mrgreen33gamer

    Skionz I am a nube. Please help me with this xD!
     
  4. Offline

    Skionz

  5. Offline

    mrgreen33gamer

    Skionz Do you know how to make a connection? Thanks for the link, I will be looking that it. I don't know much about PHP ;-;!
     
  6. Offline

    Skionz

    mrgreen33gamer
    Yes. This is how to connect to the server
    Code:
    Socket socket = new Socket(ip, port);
    This is how to create the server socket
    Code:
    ServerSocket socket = new ServerSocket(port);
     
  7. Offline

    jthort

  8. Offline

    mrgreen33gamer

    Skionz I reed about your link, I get everything. But I just don't understand how to connect to the server CONSOLE. I know how to connect to a Server but I don't know how to connect to the server console using the password.

    If I created a button on a website and then I made it send a command to the console, this is what I am trying to do. I know how to get the socket server but not the console to execute commands.

    Sorry if I am getting on all y'alls nerves :(!

    jthort
     
    jthort likes this.
  9. Offline

    Skionz

    mrgreen33gamer You can't just connect to their console with the password. You would need a plugin installed on their server and when you enter a command in a text field on the website it would send a socket telling the plugin to execute the command that was in the text field.
     
  10. Offline

    mrgreen33gamer

    Skionz EXACTLY! Can we please PM? :D!
     
  11. Offline

    Skionz

  12. Offline

    mrgreen33gamer

    Skionz Yes and to discuss this without bumping this post a lot :/!

    PM me!
     
Thread Status:
Not open for further replies.

Share This Page