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

PMMP Source to .phar

Discussion in 'Help' started by Aenteritas, Jul 15, 2018.

  1. Aenteritas

    Aenteritas Silverfish

    Messages:
    22
    Hello there,
    i have edited the PocketMine for myself in source and now i need it to a .phar for my Server. How can i convert it?
     
  2. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    download DevTools and type /makeserver
     
  3. Aenteritas

    Aenteritas Silverfish

    Messages:
    22
    With the zip?
     
  4. Aenteritas

    Aenteritas Silverfish

    Messages:
    22
    This command can only be used from a server running from source code :(
     
  5. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    And you are running from Source code o_O
     
  6. Aenteritas

    Aenteritas Silverfish

    Messages:
    22
    And if i not? Which option i have? I have Android..
     
  7. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    What
     
  8. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    Put the DevTools plugin in plugins folder
    Run the server you edited
    Run /makeserver
     
  9. Aenteritas

    Aenteritas Silverfish

    Messages:
    22
    Don't have a option to use it on my server. Which option did i have instead?
     
  10. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    How you can't use it o_O
     
  11. Aenteritas

    Aenteritas Silverfish

    Messages:
    22
    I have Android.
     
  12. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    will idk
     
  13. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    If you can access the command line for your device, you can use DevTools' php script to build phars, I believe. However, it won't likely be easy to access said command line without rooting or sideloading. Aside from that, maybe you could convert it to a phar through a website or other program? I don't know how well that would work.

    In my opinion, you're wasting your time. PocketMine isn't designed to run on Android devices, and has tons of issues, as I'm sure you've learned. The support isn't there, so you're going in basically blind. Additionally, it is a bad idea to edit PM source code for your own use. You will usually prevent yourself from being able to easily update to a later version, you forfeit most support from these forums and the PM developers, and the source code is so complicated it is difficult to edit without breaking things, unless you know the software very well. If you read this rant and still don't care, then I wish you the best of luck in your mission.
     
    Awzaw, EdwardHamHam and dktapps like this.
  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.