Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Sockets?

Comments in 'Plugin Development' started by jython234, Nov 7, 2013.

?

Which language has easier sockets?

  1. PHP

    20.0%
  2. Java

    40.0%
  3. Python

    20.0%
  4. Other

    20.0%
  1. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    I think they are a little hard.
    I would prefer object-oriented sockets, like python and java.

    Okay:
    I want to create a remote console plugin(I dont like rcon).
    The thing is, PHP doesn't come with threading.
    I was thinking of using pthreads, but i'm not sure if it needs anything.

    What should i do?
    Thanks!
  2. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Why can't you use RCON? This seems like a lot of work when the stuff is already implemented.
  3. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    PocketMine uses pthreads, so the extension is installed by default.
  4. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    RCON doesn't give you a console log from what happened before the connection.
    Also, I would like to write my own client in java or python.
  5. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    You can add that easily
  6. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    I also dont like the clients.
  7. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    Make your own :p

Share This Page

Advertisement