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

Extract and phar PocketMine-MP.phar

Comments in 'Plugin Development' started by MyNameIsTriXz, Jan 28, 2016.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    How am I doing this? I looked a long time for thatt.
  2. CookieSteve
    Offline

    CookieSteve Active Member

    Joined:
    Apr 22, 2014
    Posts:
    132
    Minecraft User:
    iStrqfeChris
    You could download the SOurce Code off GitHub and use DevTools to compile the Source Code once you edit it
  3. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
    I know that DevTools can compile a server running from source files to a phar but I'm not aware of anyways to extract a server phar.
  4. CookieSteve
    Offline

    CookieSteve Active Member

    Joined:
    Apr 22, 2014
    Posts:
    132
    Minecraft User:
    iStrqfeChris
    http://unphar.com/phar2zip This may work
  5. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
  6. CookieSteve
    Offline

    CookieSteve Active Member

    Joined:
    Apr 22, 2014
    Posts:
    132
    Minecraft User:
    iStrqfeChris
    Yup ;)
    CrazedMiner likes this.
  7. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    As I tested it, it didnt do anything, I am not sure if it is the upload time..
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,342
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If you use pmt.mcpe.me for creating PocketMine phar, make sure that you properly set the stub. Otherwise, the server will do nothing when you start it.
    MyNameIsTriXz and CrazedMiner like this.
  9. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    what should I set it to?
  10. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    I think to the default one
  11. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Okay thx, do you know where I can change the version of MCPE, the phar should be compatible with (the path)? :D
  12. CrazedMiner
    Offline

    CrazedMiner Notable Member Plugin Developer

    Joined:
    Jan 31, 2015
    Posts:
    348
    Plugins:
    2
    Minecraft User:
    CrazedMinerYT
    src/pocketmine/network/protocol/Info.php for procol and src/pocketmine/PocketMine.php for the name and version strings.
  13. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,342
    Plugins:
    11
    Minecraft User:
    PEMapModder
    MCPE protocol updates may change many things, not as simple as the protocol version number and the display version name.
  14. EvolvyX
    Offline

    EvolvyX New Member

    Joined:
    Feb 21, 2016
    Posts:
    1
    Minecraft User:
    Nix1a_latte
    I convert PocketMine-MP.phar to zip with unphar.com
    After editing i want To convert The Zip To Phar...
    But, unphar.com can't do it...
    So , how i can convert it ?
    *sorry for bad english :p
  15. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,342
    Plugins:
    11
    Minecraft User:
    PEMapModder
  16. Aled
    Offline

    Aled New Member

    Joined:
    Apr 7, 2017
    Posts:
    3
    Minecraft User:
    MrPotatoe1246
  17. Aled
    Offline

    Aled New Member

    Joined:
    Apr 7, 2017
    Posts:
    3
    Minecraft User:
    MrPotatoe1246
    Hey so I have everything but I don't k ow how to make it to phar?
  18. archie426
    Offline

    archie426 Active Member

    Joined:
    Apr 26, 2015
    Posts:
    194
    Minecraft User:
    archie426
    Please use the new forums at https://forums.pmmp.io
    Also, use the Jenkins if you can to get the most recent phar, https://jenkins.pmmp.io (It is probably down though)
    Another method is to clone GitHub repo (With the appropriate additions/removals) and using the .phar creator on https://pmt.mcpe.me
Similar Threads: Extract phar
Forum Title Date
Plugin Development how to extract phar? Jun 28, 2014
Plugin Development Can I prevent extraction of the plugin? Sep 24, 2015
Plugin Development to phar or not to phar? Aug 20, 2016
Plugin Development How to edit a .phar plugin Jul 12, 2016
Plugin Development Phar Compiler Apr 27, 2016

Share This Page

Advertisement