How do you create a Pocketmine phar from source code?

Discussion in 'Help' started by IceCruelStuff, Jul 7, 2019.

  1. IceCruelStuff

    IceCruelStuff Creeper

    Messages:
    2
    GitHub:
    icecruelstuff
    How do I make a pocketmine phar from source code? I put the src folder in my server's directory and I deleted the old phar and I have the bin folder but it says Pocketmine-mp.phar not found
     
    Last edited: Jul 7, 2019
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,894
    GitHub:
    sof3
    jasonwynn10 likes this.
  3. IceCruelStuff

    IceCruelStuff Creeper

    Messages:
    2
    GitHub:
    icecruelstuff
    but how do I convert src to phar?
     
  4. b3st_Thunder78

    b3st_Thunder78 Spider Jockey

    Messages:
    32
    Hi just use devtools (the minecraft pe pocketmine plugin)
    then
    makeplugin [pluginname]
     
    EdwardHamHam and HimbeersaftLP like this.
  5. Destroyer57

    Destroyer57 Zombie

    Messages:
    259
    Search phar.apk from google
     
  6. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,585
    GitHub:
    HimbeersaftLP
    That sounds like one of the ways someone would acquire malware.
     
    EdwardHamHam likes this.
  7. Destroyer57

    Destroyer57 Zombie

    Messages:
    259
    No. Chalk made an app that converts dirs to phars but he removed it from the store
     
  8. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,894
    GitHub:
    sof3
    Let me write a virus app and call it "phar.apk".
     
    jasonwynn10 and HimbeersaftLP like this.
  9. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,894
    GitHub:
    sof3
    Explain why you need to do that. If you are doing things correctly, you don't need to convert at all.
     
    jasonwynn10 and HimbeersaftLP like this.
  10. TeraCube

    TeraCube Zombie

    Messages:
    249
    GitHub:
    teracube
  11. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    897
    GitHub:
    edwardthedog2
    I would still personally recommend to use DevTools like @b3st_Thunder78 suggested since it was actually made specifically for PocketMine. However, like @SOFe said you really shouldn't need to, as compiled phar files are already provided for you to use. The only reason I can think of for you to need to compile it yourself is if you modified the source code in the src folder, which is also not recommended.
     
    HimbeersaftLP likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.