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

Solved Get MOTD data

Comments in 'Plugin Development' started by aliuly, Jul 9, 2015.

  1. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    Does anybody have sample code in PHP to get the MOTD data from a remote PocketMine-MP server?

    I know I can do Query, and I have code for that. I am looking to get the data a MCPE client gets before connecting to a server.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Andrey Nazarchuk likes this.
  3. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    HotFireyDeath likes this.
  4. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    Is this what you are looking for? Here is an example how to use it.
    Andrey Nazarchuk and SpiderPig like this.
  5. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    Thanks but I already wrote my own.

Share This Page

Advertisement