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

zip to phar please help

Discussion in 'Help' started by rektpixel, Apr 9, 2017.

  1. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
    Hello,
    I used http://pmt.mcpe.me/pocketmine.php for converting my plugins from zip to phar. But that website seems to have an error when I convert a zip, it just won't work. Is there another way to convert a zip file to phar.
     
  2. KairusDarkSeeker

    KairusDarkSeeker Spider Jockey

    Messages:
    25
    GitHub:
    kairusdarkseeker
    Run /makeplugin <pluginname> with DevTools installed rather than using PMT
     
  3. Groin

    Groin Baby Zombie

    Messages:
    159
    Aww.. I tried DevTools plugin but not work. It said have a error and I don't know why. Can you give me a best download link, please?
     
  4. KairusDarkSeeker

    KairusDarkSeeker Spider Jockey

    Messages:
    25
    GitHub:
    kairusdarkseeker
    What was the error?
     
  5. SzanelGirl

    SzanelGirl Spider Jockey

    Messages:
    28
    GitHub:
    SzanelGirl
  6. KairusDarkSeeker

    KairusDarkSeeker Spider Jockey

    Messages:
    25
    GitHub:
    kairusdarkseeker
  7. SzanelGirl

    SzanelGirl Spider Jockey

    Messages:
    28
    GitHub:
    SzanelGirl
    Rob what do you think
     
  8. KairusDarkSeeker

    KairusDarkSeeker Spider Jockey

    Messages:
    25
    GitHub:
    kairusdarkseeker
    What OS are you using?
     
  9. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    I think someone should make a PHP phar/folder tool that runs on CLI so no one need to upload then downloading it again
     
    Primus and Jack Noordhuis like this.
  10. KairusDarkSeeker

    KairusDarkSeeker Spider Jockey

    Messages:
    25
    GitHub:
    kairusdarkseeker
  11. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    that builds phar afaik but i meant a .php script where i can just php phartools.php --extract xyz.phar --out xyz --folder
     
    jasonwynn10 likes this.
  12. Groin

    Groin Baby Zombie

    Messages:
    159
    >makeplugin WorldProtect
    [Server] [10:40:26] INFO> An unknown error occurred while attempting to perform this command
    [Server] [10:40:26] CRITICAL> Unhandled exception executing command 'makeplugin WorldProtect' in makeplugin: creating archive "/storage/sdcard0/PocketMine/plugins/DevTools//WorldProtect_v2.2.0.phar" disabled by the php.ini setting phar.readonly
    [Server] [10:40:26] CRITICAL> UnexpectedValueException: "creating archive "/storage/sdcard0/PocketMine/plugins/DevTools//WorldProtect_v2.2.0.phar" disabled by the php.ini setting phar.readonly" (EXCEPTION) in "/DevTools_v1.10.0.phar/src/DevTools/DevTools" at line 161
     
  13. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    I don't think it supports android
     
    Primus likes this.
  14. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    try setting phar to not readonly
     
    jasonwynn10 likes 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.