1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

PocketMine-MP.zip conversion to .phar

Discussion in 'General discussion' started by Jackins, Mar 3, 2017.

  1. Jackins

    Jackins Slime

    Messages:
    92
    Hello! :)

    Can someone tell me how can i convert my pocketmine-mp.zip to phar? Pmt.mcpe.me doesn't work with the pm phar :( ... How can i convert this?
     
  2. Jackins

    Jackins Slime

    Messages:
    92
    If i use DevTools and i want to phar this... How can i do this? /makeplugin PocketMine-MP.zip
    ??
     

    Attached Files:

  3. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You'll have to unzip it first. If you downloaded it from the official GitHub repository, you can get a premade .phar file here, which is way easier to use.
     
  4. Jackins

    Jackins Slime

    Messages:
    92
    I have modified it... Must i unzip this for get the phar of this?... Where can i put the folder?
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Unzip it and put the src folder into the directory where your .phar would normally go and delete the .phar, then start your server and use /makeserver with DevTools
     
  6. Jonas

    Jonas Baby Zombie

    Messages:
    192
    On my Server DevTools doesn's work
     
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Then you are obviously doing something wrong...
     
  8. Jackins

    Jackins Slime

    Messages:
    92
    If i delete normal .phar and put the src folder, the aerver doesn't work... It tell me: Thanks for download. Choose your build. :(
     
  9. Jackins

    Jackins Slime

    Messages:
    92
    Can you write me in private for help to convert this? :(
     
  10. Jackins

    Jackins Slime

    Messages:
    92
    T
    thread 4 march :) solved with devtools using src and not PocketMine-MP.phar :)
     
  11. Jackins

    Jackins Slime

    Messages:
    92
    I also hate phar files... I have too all plugins in folders with src and plugin.yml
     
  12. Jackins

    Jackins Slime

    Messages:
    92
    Read but not modify :) so i use folder :)
     
  13. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    dev tools would read folder and turn them into phar, you should also try to keep phar only for deployment
     
  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.